pub fn encode_rotate_authentication_key_with_nonce_script(
    sliding_nonce: u64,
    new_key: Vec<u8>,
) -> Script {
    Script::new(
        ROTATE_AUTHENTICATION_KEY_WITH_NONCE_CODE.to_vec(),
        vec![],
        vec![
            TransactionArgument::U64(sliding_nonce),
            TransactionArgument::U8Vector(new_key),
        ],
    )
}
/// Rotate the sender's authentication key to `new_key`.
/// `new_key` should be a 256 bit sha3 hash of an ed25519 public key. This script also takes
/// `sliding_nonce`, as a unique nonce for this operation. See sliding_nonce.move for details.
Rotate the sender's authentication key to `new_key`.
`new_key` should be a 256 bit sha3 hash of an ed25519 public key. This script also takes
`sliding_nonce`, as a unique nonce for this operation.
Rotate the sender ' s authentication key to ` new_key ` . ` new_key ` should be a 256 bit sha3 hash of an ed25519 public key . This script also takes ` sliding_nonce ` as a unique nonce for this operation .
pub fn encode_rotate_authentication_key_with_nonce_script(
    sliding_nonce: u64,
    new_key: Vec<u8>,
) -> Script {
    Script::new(
        ROTATE_AUTHENTICATION_KEY_WITH_NONCE_CODE.to_vec(),
        vec![],
        vec![
            TransactionArgument::U64(sliding_nonce),
            TransactionArgument::U8Vector(new_key),
        ],
    )
}
pub fn encode_rotate_authentication_key_with_nonce_script ( sliding_nonce : u64 , new_key : Vec < u8 > , ) -> Script { Script :: new ( ROTATE_AUTHENTICATION_KEY_WITH_NONCE_CODE . to_vec ( ) , vec ! [ ] , vec ! [ TransactionArgument U64 ( sliding_nonce ) TransactionArgument U8Vector ( new_key ) ] , ) }
Rotate the sender's authentication key to `new_key`.
Rotate the sender ' s authentication key to ` new_key ` .
sliding_nonce
u64
new_key
Vec<u8>
sliding_nonce
u64
new_key
Vec<u8>