(
from_pubkey: &Pubkey,
nonce_pubkey: &Pubkey,
authority: &Pubkey,
lamports: u64,
)
| 86 | } |
| 87 | |
| 88 | pub fn createNonceAccount( |
| 89 | from_pubkey: &Pubkey, |
| 90 | nonce_pubkey: &Pubkey, |
| 91 | authority: &Pubkey, |
| 92 | lamports: u64, |
| 93 | ) -> js_sys::Array { |
| 94 | let instructions = create_nonce_account(from_pubkey, nonce_pubkey, authority, lamports); |
| 95 | instructions.into_iter().map(JsValue::from).collect() |
| 96 | } |
| 97 | |
| 98 | pub fn advanceNonceAccount(nonce_pubkey: &Pubkey, authorized_pubkey: &Pubkey) -> Instruction { |
| 99 | advance_nonce_account(nonce_pubkey, authorized_pubkey) |
nothing calls this directly
no test coverage detected