diff --git a/schema/interfaces/ethena/tsusde_wallet.yaml b/schema/interfaces/ethena/tsusde_wallet.yaml new file mode 100644 index 0000000..60406a9 --- /dev/null +++ b/schema/interfaces/ethena/tsusde_wallet.yaml @@ -0,0 +1,48 @@ +apiVersion: dabi/v0 +type: Interface +metadata: + name: "tsUSDe Wallet" +labels: + name: tsusde_wallet + dton_parse_prefix: abi_tsusde_wallet_ +spec: + get_methods: + - method_name: get_wallet_data + result: + - type: Int + labels: + name: balance + dton_type: UInt256 + - type: Slice + labels: + name: owner_address + address: true + - type: Slice + labels: + name: jetton_master_address + address: true + - type: Cell + labels: + skipParse: true + name: jetton_wallet_code + + - method_name: get_status + result: + - type: Int + labels: + name: status + dton_type: UInt8 + + - method_name: get_timelock_data + result: + - type: Int + labels: + name: timelocked_balance + dton_type: UInt256 + - type: Int + labels: + name: timelock_limit + dton_type: UInt64 + + selector: + by_methods: true diff --git a/schema/tests/ethena/tsusde_wallet.yaml b/schema/tests/ethena/tsusde_wallet.yaml new file mode 100644 index 0000000..c868861 --- /dev/null +++ b/schema/tests/ethena/tsusde_wallet.yaml @@ -0,0 +1,21 @@ +apiVersion: dabi/v0 +type: TestCase +smart_contract: + name: tsusde_wallet + address: "EQDjJT1i9vgNpsbctFwYCMEgtADsTfoeEnaD4QSWCUY1X8zf" + block: + mc_seqno: 48269304 +parsed_info: + get_methods: + get_wallet_data: + result: + - balance: 24564290305 + - owner_address: "UQApXKTeI56uu34eRxXZT5edGMgjNsW-iMYUhCsEdOlVKVs0" + - jetton_master_address: "EQDQ5UUyPHrLcQJlPAczd_fjxn8SLrlNQwolBznxCdSlfQwr" + get_status: + result: + - status: 0 + get_timelock_data: + result: + - timelocked_balance: 0 + - timelock_limit: 0