tx · HyvR5AbJahYC7zqNNT44EkLzHgJ61HaJN6GY41AhPzBA 3N4BUqhXqEWd4TwWEHxKNZ4ucASKdFZrZcN: -0.00100000 Waves 2022.08.28 12:22 [2204143] smart account 3N4BUqhXqEWd4TwWEHxKNZ4ucASKdFZrZcN > SELF 0.00000000 Waves
{ "type": 13, "id": "HyvR5AbJahYC7zqNNT44EkLzHgJ61HaJN6GY41AhPzBA", "fee": 100000, "feeAssetId": null, "timestamp": 1661678586536, "version": 2, "chainId": 84, "sender": "3N4BUqhXqEWd4TwWEHxKNZ4ucASKdFZrZcN", "senderPublicKey": "FCLZfg1kJkBa2yv1kYHaxktrTpnpzeYrhkbS6nstJTq7", "proofs": [ "1awAFWBBnPqBK14TrDgPLe38237EoipxsNWeNEVAE6qS5xVZrqpSJUvPv2vxYaC84drj1UhrGJEfNzUJv4DHrSU" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAABgAAAAAMdmlyZXNBZGRyZXNzCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzUEFadjl0Z0sxUFg3ZEtSN2I0a2NocTVxZHBVUzNHNXNZVAAAAAAPYXNzZXRTdHJpbmdVU0RUAgAAACwzNE45WWNFRVRMV245M3FZUTY0RXNQMXg4OXRTcnVKVTQ0UnJFTVNYWEVQSgAAAAALcmVzZXJ2ZVVTRFQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNQRWlEMXpKV1RNWk5XU0N5emh2Qnc5cHh4QVdlRXdhZ2hSAAAAAA9hc3NldFN0cmluZ1VTREMCAAAALDZYdEhqcFhiczlSUkpQMlNyOUdVeVZxekFDY2J5OVRrVGhIWG5qVkM1Q0RKAAAAAAtyZXNlcnZlVVNEQwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM1BHQ2tySEJ4Rk1pN3R6MXhxbnhnQnBlTnZuNUU0TTRnOFMAAAAAB2xpbWl0ZXIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNQUkJWcTUyY3NVdlR4NzdOWXdMVFVMcnQyZTlqZHNIZlJCAAAAAQAAAAFpAQAAAAdkZXBvc2l0AAAAAQAAAA1yZXNlcnZlU3RyaW5nBAAAAA1pbnZva2VEZXBvc2l0CQAD/AAAAAQFAAAADHZpcmVzQWRkcmVzcwIAAAAHZGVwb3NpdAkABEwAAAACBQAAAA1yZXNlcnZlU3RyaW5nCQAETAAAAAIHBQAAAANuaWwIBQAAAAFpAAAACHBheW1lbnRzAwkAAAAAAAACBQAAAA1pbnZva2VEZXBvc2l0BQAAAA1pbnZva2VEZXBvc2l0BQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAHHqKug=", "height": 2204143, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let viresAddress = addressFromStringValue("3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT") | |
5 | + | ||
6 | + | let assetStringUSDT = "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ" | |
7 | + | ||
8 | + | let reserveUSDT = addressFromStringValue("3PEiD1zJWTMZNWSCyzhvBw9pxxAWeEwaghR") | |
9 | + | ||
10 | + | let assetStringUSDC = "6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ" | |
11 | + | ||
12 | + | let reserveUSDC = addressFromStringValue("3PGCkrHBxFMi7tz1xqnxgBpeNvn5E4M4g8S") | |
13 | + | ||
14 | + | let limiter = addressFromStringValue("3PRBVq52csUvTx77NYwLTULrt2e9jdsHfRB") | |
15 | + | ||
16 | + | @Callable(i) | |
17 | + | func deposit (reserveString) = { | |
18 | + | let invokeDeposit = invoke(viresAddress, "deposit", [reserveString, false], i.payments) | |
19 | + | if ((invokeDeposit == invokeDeposit)) | |
20 | + | then nil | |
21 | + | else throw("Strict value is not equal to itself.") | |
22 | + | } | |
23 | + | ||
24 | + |
github/deemru/w8io/169f3d6 15.55 ms ◑