tx · HjLZDDLyYqxWA8WU53Yp8Hi68dzfUD3aLi2DFPRwX6he
3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo: -0.01400000 Waves
2021.10.09 11:03 [1738471] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves
{
"type": 13,
"id": "HjLZDDLyYqxWA8WU53Yp8Hi68dzfUD3aLi2DFPRwX6he",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1633766697166,
"version": 2,
"chainId": 84,
"sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo",
"senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x",
"proofs": [
"3qH2dhNrrCuxn9zuDABPzjXTPdgQvz993oYcpxd9k5c2XA5jecvWChtSZEKyw4tqW3UiM9ZkCZiwsSLo9LJjAPqc"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAACQAAAAALQ09ERUFzc2V0SUQBAAAAINAEYRpFnLQZXHk7APbo5tWij1YQ2cG3R/UN12TTTH73AAAAAAdXZWVrMFRTAAAAAXxnf8gAAAAAAAdvbmVob3VyAAAAAAAANu6AAAAAAAZvbmVkYXkAAAAAAAUmXAAAAAAAB29uZXdlZWsAAAAAACQMhAAAAAAACG9uZW1vbnRoAAAAAACcv5BAAAAAAA5TdGFydEluZmxhdGlvbgkAAGwAAAAGAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAACBQAAAAJVUAAAAAAKRmVlQWRkcmVzcwEAAAAgUoPZoIvXkJI7M+XgQERyG3Ox4PxeH5gdLMWeskjH4iAAAAAACmRldkFkZHJlc3MBAAAAIHE/Oe1BrsJepSkes1ESh96Qyq2U5VDLF1kF2MXI1ngbAAAAAQAAAAFpAQAAAAVDbGFpbQAAAAAEAAAAA3BtdAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAtDT0RFQXNzZXRJRAkAAAIAAAABCQABLAAAAAICAAAAKEluY29ycmVjdCBhc3NldCBhdHRhY2hlZCwgcGxlYXNlIGF0dGFjaCAJAAJYAAAAAQUAAAALQ09ERUFzc2V0SUQDCQAAZgAAAAIAAAAAAABMS0AIBQAAAANwbXQAAAAGYW1vdW50CQAAAgAAAAECAAAAMlBsZWFzZSBBdHRhY2ggbWluaW11bSAwLjA1IFROIFRvIElzc3VlIENPREUgQXNzZXQuAwkAAGYAAAACBQAAAAdXZWVrMFRTCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAqREFwcCBpcyBOb3QgU3RhcnRlZCBZZXQgcGxlYXNlIFdhaXQgdW50aWwgCQABpAAAAAEJAABpAAAAAgkAAGUAAAACBQAAAAdXZWVrMFRTCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAAAAAAAAADqYAIAAAAIIE1pbnV0ZXMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACUluZmxhdGlvbgUAAAAOU3RhcnRJbmZsYXRpb24FAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5uf7uvA==",
"height": 1738471,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3stDvzzk5umsmBptDpSfBhtPkNiKv5wjhSov5TwA39YK
Next: 2VpcP9ovu63xsx6aXAjPm9uQBf4tXLXSyRsazPkmofuS
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26' |
---|
5 | 5 | | |
---|
6 | | - | let b = 3600000 |
---|
| 6 | + | let b = 1633824000000 |
---|
7 | 7 | | |
---|
8 | | - | let c = 86400000 |
---|
| 8 | + | let c = 3600000 |
---|
9 | 9 | | |
---|
10 | | - | let d = 604800000 |
---|
| 10 | + | let d = 86400000 |
---|
11 | 11 | | |
---|
12 | | - | let e = 2629800000 |
---|
| 12 | + | let e = 604800000 |
---|
13 | 13 | | |
---|
14 | | - | let f = pow(10, 0, 3, 0, 2, UP) |
---|
| 14 | + | let f = 2629800000 |
---|
15 | 15 | | |
---|
16 | | - | let g = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' |
---|
| 16 | + | let g = pow(10, 0, 3, 0, 2, UP) |
---|
17 | 17 | | |
---|
18 | | - | let h = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene' |
---|
| 18 | + | let h = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' |
---|
19 | 19 | | |
---|
20 | | - | @Callable(i) |
---|
| 20 | + | let i = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene' |
---|
| 21 | + | |
---|
| 22 | + | @Callable(j) |
---|
21 | 23 | | func Claim () = { |
---|
22 | | - | let j = value(i.payments[0]) |
---|
23 | | - | let k = toBase58String(i.caller.bytes) |
---|
24 | | - | if ((j.assetId != a)) |
---|
| 24 | + | let k = value(j.payments[0]) |
---|
| 25 | + | let l = toBase58String(j.caller.bytes) |
---|
| 26 | + | if ((k.assetId != a)) |
---|
25 | 27 | | then throw(("Incorrect asset attached, please attach " + toBase58String(a))) |
---|
26 | | - | else if ((5000000 > j.amount)) |
---|
| 28 | + | else if ((5000000 > k.amount)) |
---|
27 | 29 | | then throw("Please Attach minimum 0.05 TN To Issue CODE Asset.") |
---|
28 | | - | else [IntegerEntry("Inflation", f)] |
---|
| 30 | + | else if ((b > lastBlock.timestamp)) |
---|
| 31 | + | then throw((("DApp is Not Started Yet please Wait until " + toString(((b - lastBlock.timestamp) / 60000))) + " Minutes")) |
---|
| 32 | + | else [IntegerEntry("Inflation", g)] |
---|
29 | 33 | | } |
---|
30 | 34 | | |
---|
31 | 35 | | |
---|
32 | | - | @Verifier(l) |
---|
33 | | - | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
| 36 | + | @Verifier(m) |
---|
| 37 | + | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) |
---|
34 | 38 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26' |
---|
5 | 5 | | |
---|
6 | | - | let b = 3600000 |
---|
| 6 | + | let b = 1633824000000 |
---|
7 | 7 | | |
---|
8 | | - | let c = 86400000 |
---|
| 8 | + | let c = 3600000 |
---|
9 | 9 | | |
---|
10 | | - | let d = 604800000 |
---|
| 10 | + | let d = 86400000 |
---|
11 | 11 | | |
---|
12 | | - | let e = 2629800000 |
---|
| 12 | + | let e = 604800000 |
---|
13 | 13 | | |
---|
14 | | - | let f = pow(10, 0, 3, 0, 2, UP) |
---|
| 14 | + | let f = 2629800000 |
---|
15 | 15 | | |
---|
16 | | - | let g = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' |
---|
| 16 | + | let g = pow(10, 0, 3, 0, 2, UP) |
---|
17 | 17 | | |
---|
18 | | - | let h = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene' |
---|
| 18 | + | let h = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' |
---|
19 | 19 | | |
---|
20 | | - | @Callable(i) |
---|
| 20 | + | let i = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene' |
---|
| 21 | + | |
---|
| 22 | + | @Callable(j) |
---|
21 | 23 | | func Claim () = { |
---|
22 | | - | let j = value(i.payments[0]) |
---|
23 | | - | let k = toBase58String(i.caller.bytes) |
---|
24 | | - | if ((j.assetId != a)) |
---|
| 24 | + | let k = value(j.payments[0]) |
---|
| 25 | + | let l = toBase58String(j.caller.bytes) |
---|
| 26 | + | if ((k.assetId != a)) |
---|
25 | 27 | | then throw(("Incorrect asset attached, please attach " + toBase58String(a))) |
---|
26 | | - | else if ((5000000 > j.amount)) |
---|
| 28 | + | else if ((5000000 > k.amount)) |
---|
27 | 29 | | then throw("Please Attach minimum 0.05 TN To Issue CODE Asset.") |
---|
28 | | - | else [IntegerEntry("Inflation", f)] |
---|
| 30 | + | else if ((b > lastBlock.timestamp)) |
---|
| 31 | + | then throw((("DApp is Not Started Yet please Wait until " + toString(((b - lastBlock.timestamp) / 60000))) + " Minutes")) |
---|
| 32 | + | else [IntegerEntry("Inflation", g)] |
---|
29 | 33 | | } |
---|
30 | 34 | | |
---|
31 | 35 | | |
---|
32 | | - | @Verifier(l) |
---|
33 | | - | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
| 36 | + | @Verifier(m) |
---|
| 37 | + | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) |
---|
34 | 38 | | |
---|