ERC20HandlerUpgradeable
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
2 additional
variables
Balances ($0.00)
No balances found for "ERC20HandlerUpgradeable"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ERC20HandlerUpgradeable"
ABI
ABI objects
Getter at block 21289882
BRIDGE_ROLE() view returns (bytes32)
0x52ba824bfabc2bcfcdf7f0edbb486ebb05e1836c90e78047efeb949990f72e5f
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SEQUENCER_ROLE() view returns (bytes32)
0xac4f1890dc96c9a02330d1fa696648a38f3b282d2449c2d8e6f10507488c84c8
_ETH() view returns (address)
0x0000000000000000000000000000000000000000
_WETH() view returns (address)
0x0000000000000000000000000000000000000000
_bridgeAddress() view returns (address)
0x0000000000000000000000000000000000000000
_isFeeEnabled() view returns (bool)
false
_oneSplitAddress() view returns (address)
0x0000000000000000000000000000000000000000
_reserve() view returns (address)
0x0000000000000000000000000000000000000000
_sequencerAddress() view returns (address)
0x0000000000000000000000000000000000000000
_usdcBurnerContract() view returns (address)
0x0000000000000000000000000000000000000000
feeManager() view returns (address)
0x0000000000000000000000000000000000000000
getFeeStatus() view returns (bool)
false
getUsdcAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
_burnList(address) view returns (bool)
_contractWhitelist(address) view returns (bool)
_isUsdcBurnableMintable(uint8) view returns (bool)
_tokenContractAddressToResourceID(address) view returns (bytes32)
changePrecision(address token, uint8 chainId, uint256 tokenAmount) view returns (uint256)
executeRecord(uint256, uint64) view returns (uint256)
gap(uint256) view returns (uint256)
getBridgeFee(uint8 destinationChainID, address feeTokenAddress, uint256 widgetID) view returns (uint256, uint256, uint256)
getDepositRecord(uint64 depositNonce, uint8 destId) view returns (struct ERC20HandlerUpgradeableDepositRecord)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStakedRecord(address account, address tokenAddress) view returns (uint256)
getUsdcBurnData(uint64 depositNonce, uint8 destId) view returns (uint64)
hasRole(bytes32 role, address account) view returns (bool)
resourceIDToTokenContractAddress(bytes32 resourceID) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenDecimals(address, uint8) view returns (uint8)
State-modifying
Events deposit(bytes32 resourceID, uint8 destinationChainID, uint64 depositNonce, struct IDepositExecuteSwapInfo swapDetails)
executeProposal(struct IDepositExecuteSwapInfo swapDetails, bytes32 resourceID) returns (address settlementToken, uint256 settlementAmount)
grantRole(bytes32 role, address account)
initialize(address bridgeAddress, address ETH, address WETH, bytes32[] initialResourceIDs, address[] initialContractAddresses, address[] burnableContractAddresses)
renounceRole(bytes32 role, address account)
resetResource(bytes32 resourceID, address contractAddress)
revokeRole(bytes32 role, address account)
setBridge(address _bridge)
setBridgeFee(uint8 destinationChainID, address feeTokenAddress, uint256 transferFee, uint256 exchangeFee, bool accepted)
setBurnable(address contractAddress, bool status)
setFeeManager(address _feeManager)
setLiquidityPool(address contractAddress, address lpAddress)
setLiquidityPoolOwner(address oldOwner, address newOwner, address tokenAddress, address lpAddress)
setOneSplitAddress(address contractAddress)
setReserve(address reserve)
setResource(bytes32 resourceID, address contractAddress)
setSequencer(address _sequencer)
setTokenDecimals(address[] tokenAddress, uint8[] destinationChainID, uint8[] decimals)
setUsdcAddress(address usdc)
setUsdcBurnableAndMintable(uint8[] _destChainID, bool[] _setTrue)
setUsdcBurnerContract(address _usdcBurner)
stake(address depositor, address tokenAddress, uint256 amount)
stakeETH(address depositor, address tokenAddress, uint256 amount)
toggleFeeStatus(bool status)
unstake(address unstaker, address tokenAddress, uint256 amount)
unstakeETH(address unstaker, address tokenAddress, uint256 amount)
withdraw(address tokenAddress, address recipient, uint256 amount)
withdrawFees(address tokenAddress, address recipient, uint256 amount)
withdrawNative(address recipient, uint256 amount, bool withdrawAll)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
This contract contains no constructor objects.
receive()
This contract contains no error objects.