路由器(Router)

路由器合约监督令牌对注册的全部功能,并支持前端产品交易的所有基本要求。

Code

Github链接:(待更新)

Address

  • 主网:EQAxC3GzQBgjlvW6CJAwgaHvarTfVxo8p7Be_6RMSjsPki6s

Read-Only Functions

get_address_data

(slice, slice, slice, slice, slice, slice) get_address_data() method_id
  • slice admin_address

  • slice pool_creator_address

  • slice governance_jetton_address

  • slice mining_rate_admin_address

  • slice lp_policy_admin_address

  • slice next_admin_address

get_mining_data

(int, int, int, int, int, int) get_mining_data()
  • int total_mining_amount

  • int total_mining_rate

  • int mining_amount_per_sec

  • int half_life

  • int total_reward

get_lp_data

(int, cell, cell) get_lp_data() method_id
  • int pool_count

  • cell ( dict ) jetton_pair_to_lp

  • cell ( dict ) lp_to_jetton_pair

get_jetton_pair_to_lp_address

(slice, int) get_jetton_pair_to_lp_address(slice jettonA_address, slice jettonB_address) method_id
  • slice lp_address

  • int exist

get_code_data

(cell, cell, cell) get_code_data() method_id
  • cell lp_minter_code

  • cell lp_wallet_code

  • cell mega_wallet_code

get_lp_default_content_data

(cell) get_lp_default_content_data() method_id
  • cell lp_default_content

Last updated