TokenFacet

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xd9353345 at 16233037
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 32 additional slots

No balances found for "TokenFacet"

No transactions found for "TokenFacet"


Functions
Getter at block 21286760

This contract contains no getter function objects.

Read-only
adoptedToCanonical(address _adoptedview returns (struct TokenId)
adoptedToLocalExternalPools(struct TokenId _canonicalview returns (address)
adoptedToLocalExternalPools(bytes32 _keyview returns (address)
approvedAssets(struct TokenId _canonicalview returns (bool)
approvedAssets(bytes32 _keyview returns (bool)
canonicalToAdopted(struct TokenId _canonicalview returns (address)
canonicalToAdopted(bytes32 _keyview returns (address)
canonicalToRepresentation(struct TokenId _canonicalview returns (address)
canonicalToRepresentation(bytes32 _keyview returns (address)
getCustodiedAmount(bytes32 _keyview returns (uint256)
getLocalAndAdoptedToken(bytes32 _iduint32 _domainview returns (addressaddress)
getTokenId(address _candidateview returns (struct TokenId)
representationToCanonical(address _representationview returns (struct TokenId)
State-modifying
addStableSwapPool(struct TokenId _canonicaladdress _stableSwapPool
removeAssetId(struct TokenId _canonicaladdress _adoptedAssetIdaddress _representation
removeAssetId(bytes32 _keyaddress _adoptedAssetIdaddress _representation
setupAsset(struct TokenId _canonicaluint8 _canonicalDecimalsstring _representationNamestring _representationSymboladdress _adoptedAssetIdaddress _stableSwapPooluint256 _capreturns (address _local)
setupAssetWithDeployedRepresentation(struct TokenId _canonicaladdress _representationaddress _adoptedAssetIdaddress _stableSwapPoolreturns (address)
updateDetails(struct TokenId _canonicalstring _namestring _symbol
updateLiquidityCap(struct TokenId _canonicaluint256 _updated
Events
AssetAdded(bytes32 indexed keybytes32 indexed canonicalIduint32 indexed domainaddress adoptedAssetaddress localAssetaddress caller
AssetRemoved(bytes32 indexed keyaddress caller
LiquidityCapUpdated(bytes32 indexed keybytes32 indexed canonicalIduint32 indexed domainuint256 capaddress caller
StableSwapAdded(bytes32 indexed keybytes32 indexed canonicalIduint32 indexed domainaddress swapPooladdress caller
TokenDeployed(uint32 indexed domainbytes32 indexed idaddress indexed representation
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
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(