tx · 89ep3ucEwLtoYdLYP17GRNE61ax77MvuT7qpih86Hfhm
3NC2gxrsMW5rEBsJCVMjJwBhcB3nnBrUG4f: -0.01000000 Waves
2023.08.05 17:26 [2697407] smart account 3NC2gxrsMW5rEBsJCVMjJwBhcB3nnBrUG4f > SELF 0.00000000 Waves
{
"type": 13,
"id": "89ep3ucEwLtoYdLYP17GRNE61ax77MvuT7qpih86Hfhm",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1691245580899,
"version": 2,
"chainId": 84,
"sender": "3NC2gxrsMW5rEBsJCVMjJwBhcB3nnBrUG4f",
"senderPublicKey": "E1AzspvmVgU66Pn9sgPQTc586F4eJ4nnWDadbPWyqqXN",
"proofs": [
"2J5yitzvQV2mpp7eWCwY3gWxKaWaTKJgQUxPdzEwCNWh6gbo11zKB5usUrhZjLyK3VVvMGmDjXda1zZKi9G5dJFx"
],
"script": "base64:BgIECAISAAEBC2NoZWNrQ2FsbGVyAQRhZGRyBAdhZGRyU3RyCQClCAEFBGFkZHIJAQlpc0RlZmluZWQBCQCmCAEFB2FkZHJTdHIBAWkBBXRlc3QxAAQGcmVzdWx0CQELY2hlY2tDYWxsZXIBCAUBaQZjYWxsZXIJAJQKAgUDbmlsBQZyZXN1bHQA3mHwZg==",
"height": 2697407,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 4B2VbhNiB1VTEiLec31dTJHkbCNBcoMa53sMm5tuKHfQ
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func checkCaller (addr) = { |
---|
| 5 | + | let addrStr = toString(addr) |
---|
| 6 | + | isDefined(addressFromString(addrStr)) |
---|
| 7 | + | } |
---|
| 8 | + | |
---|
| 9 | + | |
---|
| 10 | + | @Callable(i) |
---|
| 11 | + | func test1 () = { |
---|
| 12 | + | let result = checkCaller(i.caller) |
---|
| 13 | + | $Tuple2(nil, result) |
---|
| 14 | + | } |
---|
| 15 | + | |
---|
| 16 | + | |
---|