tx · CzhLAtVumaqkzrRwt5fHMEcW3ZbPCAA9NkAetUTCRXeo
3MwcvPVLb1p1hokLvTXqVYpUxgZp5LNDJs9: -0.01000000 Waves
2023.01.17 01:58 [2408125] smart account 3MwcvPVLb1p1hokLvTXqVYpUxgZp5LNDJs9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "CzhLAtVumaqkzrRwt5fHMEcW3ZbPCAA9NkAetUTCRXeo",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1673909951377,
"version": 2,
"chainId": 84,
"sender": "3MwcvPVLb1p1hokLvTXqVYpUxgZp5LNDJs9",
"senderPublicKey": "DsJ1BHeNdpVa5hq62jDUkPTtT5w7TyxFdxjnWvnEtnQp",
"proofs": [
"3LdaSYpeM4uRXDuRkPCNw8YQF3fu6S5iBEDKHrWjwyFETbD8AAC8TGMyW3JRkGzETpLwRMkcavp1pQFBCKqHBLty"
],
"script": "base64:BgIKCAISBgoECAEICAABAWkBA2ZvbwQFZGFwcDIBYQRrZXkxBGtleTIEA3JlcwkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBBQVkYXBwMgIDYmFyCQDMCAIFAWEFA25pbAkAzAgCCQEPQXR0YWNoZWRQYXltZW50AgEgFCf4iWR+WW0w8rt/Bw7a0boSo657W/cWSGywiwhAd5cAkE4FA25pbAMJAAACBQNyZXMFA3JlcwQHJG1hdGNoMAUDcmVzAwkAAQIFByRtYXRjaDACA0ludAQBcgUHJG1hdGNoMAkAlAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQRrZXkxBQFyCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQRrZXkyCAkA7wcBCQERQGV4dHJOYXRpdmUoMTA2MikBBQVkYXBwMgdyZWd1bGFyBQNuaWwFBHVuaXQJAAIBAhdJbmNvcnJlY3QgaW52b2tlIHJlc3VsdAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgCvsWDO",
"height": 2408125,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func foo (dapp2,a,key1,key2) = { |
---|
| 8 | + | let res = invoke(addressFromStringValue(dapp2), "bar", [a], [AttachedPayment(base58'2MgWFiWRBDSboHpj7PTC2CZfVA8EzXJB8X5vxpSgRKgi', 10000)]) |
---|
| 9 | + | if ((res == res)) |
---|
| 10 | + | then match res { |
---|
| 11 | + | case r: Int => |
---|
| 12 | + | $Tuple2([IntegerEntry(key1, r), IntegerEntry(key2, wavesBalance(addressFromStringValue(dapp2)).regular)], unit) |
---|
| 13 | + | case _ => |
---|
| 14 | + | throw("Incorrect invoke result") |
---|
| 15 | + | } |
---|
| 16 | + | else throw("Strict value is not equal to itself.") |
---|
| 17 | + | } |
---|
| 18 | + | |
---|
| 19 | + | |
---|