pub fn encode_update_account_limit_definition_script(
    coin_type: TypeTag,
    limit_address: AccountAddress,
    sliding_nonce: u64,
    new_max_inflow: u64,
    new_max_outflow: u64,
    new_max_holding_balance: u64,
    new_time_period: u64,
) -> Script {
    Script::new(
        UPDATE_ACCOUNT_LIMIT_DEFINITION_CODE.to_vec(),
        vec![coin_type],
        vec![
            TransactionArgument::Address(limit_address),
            TransactionArgument::U64(sliding_nonce),
            TransactionArgument::U64(new_max_inflow),
            TransactionArgument::U64(new_max_outflow),
            TransactionArgument::U64(new_max_holding_balance),
            TransactionArgument::U64(new_time_period),
        ],
    )
}
/// Optionally update thresholds of max balance, inflow, outflow
/// for any limits-bound accounts with their limits defined at `limit_address`.
/// Limits are defined in terms of base (on-chain) currency units for `CoinType`.
/// If a new threshold is 0, that particular config does not get updated.
/// `sliding_nonce` is a unique nonce for operation, see SlidingNonce.move for details.
Optionally update thresholds of max balance, inflow, outflow
for any limits-bound accounts with their limits defined at `limit_address`.
Limits are defined in terms of base (on-chain) currency units for `CoinType`.
If a new threshold is 0, that particular config does not get updated.
`sliding_nonce` is a unique nonce for operation, see SlidingNonce.move for details.
Optionally update thresholds of max balance inflow outflow for any limits - bound accounts with their limits defined at ` limit_address ` . Limits are defined in terms of base ( on - chain ) currency units for ` CoinType ` . If a new threshold is 0 that particular config does not get updated . ` sliding_nonce ` is a unique nonce for operation see SlidingNonce . move for details .
pub fn encode_update_account_limit_definition_script(
    coin_type: TypeTag,
    limit_address: AccountAddress,
    sliding_nonce: u64,
    new_max_inflow: u64,
    new_max_outflow: u64,
    new_max_holding_balance: u64,
    new_time_period: u64,
) -> Script {
    Script::new(
        UPDATE_ACCOUNT_LIMIT_DEFINITION_CODE.to_vec(),
        vec![coin_type],
        vec![
            TransactionArgument::Address(limit_address),
            TransactionArgument::U64(sliding_nonce),
            TransactionArgument::U64(new_max_inflow),
            TransactionArgument::U64(new_max_outflow),
            TransactionArgument::U64(new_max_holding_balance),
            TransactionArgument::U64(new_time_period),
        ],
    )
}
pub fn encode_update_account_limit_definition_script ( coin_type : TypeTag , limit_address : AccountAddress , sliding_nonce : u64 , new_max_inflow : u64 , new_max_outflow : u64 , new_max_holding_balance : u64 , new_time_period : u64 , ) -> Script { Script :: new ( UPDATE_ACCOUNT_LIMIT_DEFINITION_CODE . to_vec ( ) , vec ! [ coin_type ] , vec ! [ TransactionArgument Address ( limit_address ) TransactionArgument U64 ( sliding_nonce ) TransactionArgument U64 ( new_max_inflow ) TransactionArgument U64 ( new_max_outflow ) TransactionArgument U64 ( new_max_holding_balance ) TransactionArgument U64 ( new_time_period ) ] , ) }
Optionally update thresholds of max balance, inflow, outflow
for any limits-bound accounts with their limits defined at `limit_address`.
Optionally update thresholds of max balance inflow outflow for any limits - bound accounts with their limits defined at ` limit_address ` .
coin_type
TypeTag
limit_address
AccountAddress
sliding_nonce
u64
new_max_inflow
u64
new_max_outflow
u64
new_max_holding_balance
u64
new_time_period
u64
coin_type
TypeTag
limit_address
AccountAddress
sliding_nonce
u64
new_max_inflow
u64
new_max_outflow
u64
new_max_holding_balance
u64
new_time_period
u64