set_expiry
An entrypoint that setups an expiry for a specific user's transfer permit or default expiry for all user's transfer permits. It fully implements TZIP-017.
Call parameters
Field | Type | Description |
---|---|---|
issuer | address | An issuer of a permit |
expiry | seconds_t (nat) | Expiry for a permit to setup |
permit_hash | option(blake2b_hash_t) | Hash of a permit (optional) |
Usage
Errors
412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).NOT_PERMIT_ISSUER
- a user is not an issuer of the permit.EXPIRY_TOO_BIG
- expiry from parameters is bigger than maximum available expiry (31 556 995 200
seconds or1000
years).
Last updated