Skip to content
docs

ZEROEX_SETTLER_NONCE_MARGIN

const ZEROEX_SETTLER_NONCE_MARGIN: 2 = 2

Defined in: protocol-swap2-0x/src/chains.ts:69

Deployments of the taker feature a token sale (Permit2) may use past ZeroExChain.newestLiveNonce: room for 0x’s next Settlers (about one a month per chain) before the pin must be raised. Within it the device relies on the code check (a deployment that does not exist yet has no code) and on its RPC answering that check truthfully; a token sale’s permit can be spent only with the account itself as the caller, so a wrong answer costs nothing. Native-coin sales get no margin: their value would be sent to the address as it is.