Skip to content

Commit

Permalink
chore: added comment about the contract method and where they are from
Browse files Browse the repository at this point in the history
  • Loading branch information
asiaznik committed Jan 31, 2024
1 parent d459455 commit 1af78d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/utils/src/lib/format/ether.ts
@@ -1,4 +1,3 @@
// eslint-disable-next-line no-restricted-imports
import { formatNumber, toBigNum } from './number';
import type BigNumber from 'bignumber.js';

Expand Down
6 changes: 6 additions & 0 deletions libs/web3/src/lib/use-gas-price.ts
Expand Up @@ -5,6 +5,12 @@ import BigNumber from 'bignumber.js';

const DEFAULT_INTERVAL = 15000; // 15 seconds

/**
* These are the hex values of the collateral bridge contract methods.
*
* Collateral bridge address: 0x23872549cE10B40e31D6577e0A920088B0E0666a
* Etherscan: https://etherscan.io/address/0x23872549cE10B40e31D6577e0A920088B0E0666a#writeContract
*/
export enum ContractMethod {
DEPOSIT_ASSET = '0xf7683932',
EXEMPT_DEPOSITOR = '0xb76fbb75',
Expand Down

0 comments on commit 1af78d6

Please sign in to comment.