createSetMarketPausedInstruction
Builds a raw instruction that sets or clears the market paused flag.Usage
Accounts
| Name | Type | Signer | Writable | Description |
|---|---|---|---|---|
authority | PublicKey | Yes | No | Admin or sentinel authority |
market | PublicKey | No | Yes | Tranching market account |
adminState | PublicKey | No | No | Exponent admin state |
eventAuthority | PublicKey | No | No | Event authority PDA |
program | PublicKey | No | No | Exponent Tranching program |
Args
| Name | Type | Description |
|---|---|---|
paused | bool | true to pause the market, false to unpause |
Returns
TransactionInstruction - a transaction instruction ready to be added to a transaction.