Module Name | bridge-manager | Module Reference | 9e218aff86 |
Deployed in block | 5,908,544 |
Deployed in tx | b4dc |
Age | 597 days |
Sender | Bridge Manager |
Methods | 13 |
Instances | 1 |
None
None
{
"Enum": [
{
"TokenMap": [
{
"child": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<UInt64>",
"root": "<String of size 40 containing lowercase hex characters.>"
}
]
},
{
"Deposit": [
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<UInt64>",
"token_id": "<String with lowercase hex>"
}
]
},
{
"Withdraw": [
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"ccd_address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"eth_address": "<String of size 40 containing lowercase hex characters.>",
"id": "<UInt64>",
"token_id": "<String with lowercase hex>"
}
]
},
{
"GrantRole": [
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
]
},
{
"RevokeRole": [
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
]
}
]
}
"<UInt64>"
None
"<Bool>"
None
None
{
"all_roles": [
[
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
{
"roles": [
{
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
]
}
]
]
}
None
None
{
"child_mappings": [
[
{
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"<String of size 40 containing lowercase hex characters.>"
]
],
"root_mappings": [
[
"<String of size 40 containing lowercase hex characters.>",
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
]
}
None
None
{
"emit_event_index": "<UInt64>",
"paused": "<Bool>",
"treasurer_address": "<AccountAddress>",
"withdraw_fee": "<Amount in microCCD>"
}
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
None
[
"<Bool>"
]
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
None
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
},
{
"Mapper": []
},
{
"StateSyncer": []
}
]
}
}
None
None
{
"amount": "<Amount in microCCD>"
}
None
None
{
"account": "<AccountAddress>"
}
None
None
{
"migrate": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
},
"module": "<String of size 64 containing lowercase hex characters.>"
}
{
"Enum": [
{
"InvalidTokenId": []
},
{
"InsufficientFunds": []
},
{
"Unauthorized": []
},
{
"Custom": [
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"TokenNotMapped": []
},
{
"RoleNotAssigned": []
},
{
"WithdrawFeeTooLow": []
},
{
"OperationAlreadyProcessed": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"OnlyAccountsCanWithdraw": []
}
]
}
]
}
]
}
None
{
"paused": "<Bool>"
}
{
"Enum": [
{
"InvalidTokenId": []
},
{
"InsufficientFunds": []
},
{
"Unauthorized": []
},
{
"Custom": [
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"ContractPaused": []
},
{
"InvokeContractError": []
},
{
"InvokeTransferError": []
},
{
"TokenNotMapped": []
},
{
"RoleNotAssigned": []
},
{
"WithdrawFeeTooLow": []
},
{
"OperationAlreadyProcessed": []
},
{
"FailedUpgradeMissingModule": []
},
{
"FailedUpgradeMissingContract": []
},
{
"FailedUpgradeUnsupportedModuleVersion": []
},
{
"OnlyAccountsCanWithdraw": []
}
]
}
]
}
]
}
None
{
"Enum": [
{
"Deposit": [
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"id": "<UInt64>",
"root": "<String of size 40 containing lowercase hex characters.>",
"token_id": "<String with lowercase hex>",
"user": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
}
]
},
{
"TokenMap": [
{
"child": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<UInt64>",
"root": "<String of size 40 containing lowercase hex characters.>"
}
]
}
]
}
None
None
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"eth_address": "<String of size 40 containing lowercase hex characters.>",
"token": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"token_id": "<String with lowercase hex>"
}
None
None