tx · 5oPxT4McgmavbAGNGDBygzw9qq8V8KLgEcVpJb8Equ3m
3N2sti8sAvV7haGoDhq7hJZP2izFXqjJbLd: -0.01000000 Waves
2023.06.01 14:02 [2603502] smart account 3N2sti8sAvV7haGoDhq7hJZP2izFXqjJbLd > SELF 0.00000000 Waves
{
"type": 13,
"id": "5oPxT4McgmavbAGNGDBygzw9qq8V8KLgEcVpJb8Equ3m",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685617494332,
"version": 2,
"chainId": 84,
"sender": "3N2sti8sAvV7haGoDhq7hJZP2izFXqjJbLd",
"senderPublicKey": "H6AD1jFLBQhAMmEhb7sYbpjG7DXeqFw3BxfJXkUGhac5",
"proofs": [
"43GxNeRJisADv5PZGdmAQszFt3op63CK2x3z93BwtAtGDjM7uBydNdL3mT7pe89bo6GTR2V6GYsBCsXtbe1fYmFn"
],
"script": "base64:BgIICAISBAoCAQEAAQFpAQt3aXRoZHJhd09sZAILcGxhdGZvcm1GZWUGYW1vdW50BAVvd25lcgEaAVTtUtIUU1Fri0FIWpfzmBNloogPBC0pwfQEBXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgMJAQIhPQIICAUBaQZjYWxsZXIFYnl0ZXMFBW93bmVyCQACAQIZc29ycnkgIHlvdSBoYXZlIG5vIGFjY2VzcwMDCQBnAgULcGxhdGZvcm1GZWUAAAkAZwIFC3BsYXRmb3JtRmVlBQZhbW91bnQHCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgkAaAIFBmFtb3VudABkBQV0ZWFtcwUDbmlsBQNuaWwBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAhRTZXRTY3JpcHRUcmFuc2FjdGlvbgQLc2V0U2NyaXB0VHgFByRtYXRjaDAGB6zHfT0=",
"height": 2603502,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Bm8zogQDaWbV6e7uHXVKGLRKBdQJ2b7xXUqcVHeH1mbe
Next: AiFtJz8Re9jV4onBHE5vma8cWUAwgfG4xWTZmW3DHKP
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func withdrawOld (b,c) = { |
---|
8 | 8 | | let d = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' |
---|
9 | 9 | | let e = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' |
---|
10 | 10 | | if ((a.caller.bytes != d)) |
---|
11 | 11 | | then throw("sorry you have no access") |
---|
12 | 12 | | else if (if ((b >= 0)) |
---|
13 | 13 | | then (b >= c) |
---|
14 | 14 | | else false) |
---|
15 | 15 | | then [ScriptTransfer(a.caller, (c * 100), e)] |
---|
16 | 16 | | else nil |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Verifier(f) |
---|
21 | 21 | | func g () = { |
---|
22 | 22 | | let h = f |
---|
23 | 23 | | if ($isInstanceOf(h, "SetScriptTransaction")) |
---|
24 | 24 | | then { |
---|
25 | 25 | | let i = h |
---|
26 | 26 | | true |
---|
27 | 27 | | } |
---|
28 | 28 | | else false |
---|
29 | 29 | | } |
---|
30 | 30 | | |
---|