...
Parameter | Required | Format | Definition |
---|---|---|---|
None | No |
Processing
Consensus required.
2/3+1 custodians call to pause wrap/unwrap and any built in erc20 token functions only callable by contract ownerAny custodian can pause/unpause the erc20 contract.
Exception handling
Error condition | Trigger | Type | Error message |
---|---|---|---|
Contract paused | Contract is already paused (built-in) | 400 | "Pausable: paused" |
Already approved | Custodian already called pause | 400 | “msg.sender has already approved this pause” |
...
Parameter | Required | Format | Definition |
---|---|---|---|
None | No |
Processing
Consensus required.
2/3+1 custodians call to unpause wrap/unwrap and any built in erc20 token functions only callable by contract ownerAny custodian can pause/unpause the erc20 contract.
Exception handling
Error condition | Trigger | Type | Error message |
---|---|---|---|
Contract unpaused | Contract is already unpaused (built-in) | 400 | "Pausable: unpaused" |
Already approved | Custodian already called unpause | 400 | “msg.sender has already approved this unpause” |
...