Web3AptosEx.ModuleHandler.Aptos.MoveDID (web3_aptos_ex v1.3.7)

0x61b96051f553d767d7e6dfcc04b04c28d793c8af3d07d3a43b4e2f8f4ca04c9f::move_did

Link to this section Summary

Link to this section Functions

Link to this function

add_addr(client, acct, addr_type, addr, pubkey, chains, description, spec_fields, expired_at, options \\ [])

public entry fun add_addr(

  acct: &signer,
  addr_type: u64,
  addr: String,
  pubkey: String,
  chains: vector<String>,
  description: String,
  spec_fields: String,
  expired_at: u64

) acquires AddrAggregator {

  let send_addr = signer::address_of(acct);
  let addr_aggr = borrow_global_mut<AddrAggregator>(send_addr);

  do_add_addr(addr_aggr, send_addr, addr_type, addr, pubkey, chains, description, spec_fields, expired_at);

}

const ADDR_TYPE_ETH: u64 = 0; const ADDR_TYPE_APTOS: u64 = 1;

Link to this function

get_addr_aggregator(client, addr)

Link to this function

get_all(client, addr)

Link to this function

get_service_aggregator(client, addr)

Link to this function

init(client, acct, type, description, options \\ [])

const ADDR_AGGREGATOR_TYPE_HUMAN: u64 = 0; const ADDR_AGGREGATOR_TYPE_ORG: u64 = 1; const ADDR_AGGREGATOR_TYPE_ROBOT: u64 = 2;