TokenFacet
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 32 additional slots
Balances ($0.00)
No balances found for "TokenFacet"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TokenFacet"
ABI
ABI objects
Getter at block 21286760
This contract contains no getter function objects.
Read-only
adoptedToCanonical(address _adopted) view returns (struct TokenId)
adoptedToLocalExternalPools(struct TokenId _canonical) view returns (address)
adoptedToLocalExternalPools(bytes32 _key) view returns (address)
approvedAssets(struct TokenId _canonical) view returns (bool)
approvedAssets(bytes32 _key) view returns (bool)
canonicalToAdopted(struct TokenId _canonical) view returns (address)
canonicalToAdopted(bytes32 _key) view returns (address)
canonicalToRepresentation(struct TokenId _canonical) view returns (address)
canonicalToRepresentation(bytes32 _key) view returns (address)
getCustodiedAmount(bytes32 _key) view returns (uint256)
getLocalAndAdoptedToken(bytes32 _id, uint32 _domain) view returns (address, address)
getTokenId(address _candidate) view returns (struct TokenId)
representationToCanonical(address _representation) view returns (struct TokenId)
State-modifying
Events addStableSwapPool(struct TokenId _canonical, address _stableSwapPool)
removeAssetId(struct TokenId _canonical, address _adoptedAssetId, address _representation)
removeAssetId(bytes32 _key, address _adoptedAssetId, address _representation)
setupAsset(struct TokenId _canonical, uint8 _canonicalDecimals, string _representationName, string _representationSymbol, address _adoptedAssetId, address _stableSwapPool, uint256 _cap) returns (address _local)
setupAssetWithDeployedRepresentation(struct TokenId _canonical, address _representation, address _adoptedAssetId, address _stableSwapPool) returns (address)
updateDetails(struct TokenId _canonical, string _name, string _symbol)
updateLiquidityCap(struct TokenId _canonical, uint256 _updated)
AssetAdded(bytes32 indexed key, bytes32 indexed canonicalId, uint32 indexed domain, address adoptedAsset, address localAsset, address caller)
AssetRemoved(bytes32 indexed key, address caller)
LiquidityCapUpdated(bytes32 indexed key, bytes32 indexed canonicalId, uint32 indexed domain, uint256 cap, address caller)
StableSwapAdded(bytes32 indexed key, bytes32 indexed canonicalId, uint32 indexed domain, address swapPool, address caller)
TokenDeployed(uint32 indexed domain, bytes32 indexed id, address indexed representation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AssetLogic__getConfig_notRegistered()
BaseConnextFacet__getAdoptedAsset_assetNotFound()
BaseConnextFacet__getApprovedCanonicalId_notAllowlisted()
BaseConnextFacet__nonReentrant_reentrantCall()
BaseConnextFacet__nonXCallReentrant_reentrantCall()
BaseConnextFacet__onlyOwnerOrAdmin_notOwnerOrAdmin()
BaseConnextFacet__onlyOwnerOrRouter_notOwnerOrRouter()
BaseConnextFacet__onlyOwnerOrWatcher_notOwnerOrWatcher()
BaseConnextFacet__onlyOwner_notOwner()
BaseConnextFacet__onlyProposed_notProposedOwner()
BaseConnextFacet__whenNotPaused_paused()
TokenFacet__addAssetId_alreadyAdded()
TokenFacet__addAssetId_badBurn()
TokenFacet__addAssetId_badMint()
TokenFacet__enrollAdoptedAndLocalAssets_emptyCanonical()
TokenFacet__removeAssetId_invalidParams()
TokenFacet__removeAssetId_notAdded()
TokenFacet__removeAssetId_remainsCustodied()
TokenFacet__setLiquidityCap_notCanonicalDomain()
TokenFacet__setupAssetWithDeployedRepresentation_invalidRepresentation()
TokenFacet__setupAssetWithDeployedRepresentation_onCanonicalDomain()
TokenFacet__setupAsset_invalidCanonicalConfiguration()
TokenFacet__setupAsset_representationListed()
TokenFacet__updateDetails_localNotFound()
TokenFacet__updateDetails_notApproved()
TokenFacet__updateDetails_onlyRemote()