Smart Account
Types
public struct Multisig has copy, drop, store {
// members and associated data
members: vector<Member>,
// global threshold
global: u64,
// role name with role threshold
roles: vector<Role>,
}public struct Approvals has copy, drop, store {
// sum of the weights of members who approved the intent
total_weight: u64,
// sum of the weights of members who approved and have the role
role_weight: u64,
// who has approved the intent
approved: VecSet<address>,
}Functions
Last updated