SUI主网与Cetus合约交互问题

# Create a move call transaction
tmp_move_call = MoveCallTransaction(
    package_object_id="0x2eeaab737b37137b94bfa8f841f92e36a153641119da3456dec1926b9960d9be",
    module="pool_script",
    function="swap_b2a", 
    type_arguments=[ "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",
    "0x2::sui::SUI"], 
    arguments=[
    "0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8f",
    "0xcf994611fd4c48e277ce3ffd4d4364c914af2c3cbb05f7bf6facd371de688630",
     ["0x05897444d7779c0b9143ff09f17a5beba9f9876e02231eb066abe7fff5f5dc56"],
    True,
    "100000",
    "1",
    "79226673515401280000000000000",
    "0x0000000000000000000000000000000000000000000000000000000000000006"
    ], 
    gas_budget="100000000",
    gas_payment=None, 
)

签名发送后报错 Exception: MoveAbort(MoveLocation { module: ModuleId { address: 1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb, name: Identifier("pool") }, function: 75, instruction: 70, function_name: Some("flash_swap_internal") }, 11) in command 1

请先 登录 后评论

1 个回答

影无双
请先 登录 后评论
  • 0 关注
  • 0 收藏,2234 浏览
  • 0x999 提出于 2023-05-06 23:06