chore: added comment about the contract method and where they are from

This commit is contained in:
asiaznik 2024-01-31 14:51:05 +01:00
parent d459455859
commit 1af78d61cf
No known key found for this signature in database
GPG Key ID: 4D5C8972A02C52C2
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,3 @@
// eslint-disable-next-line no-restricted-imports
import { formatNumber, toBigNum } from './number';
import type BigNumber from 'bignumber.js';

View File

@ -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',