tx · HjLZDDLyYqxWA8WU53Yp8Hi68dzfUD3aLi2DFPRwX6he

3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo:  -0.01400000 Waves

2021.10.09 08: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:
OldNewDifferences
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let CODEAssetID = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
5+
6+let Week0TS = 1633824000000
57
68 let onehour = 3600000
79
2527 then throw(("Incorrect asset attached, please attach " + toBase58String(CODEAssetID)))
2628 else if ((5000000 > pmt.amount))
2729 then throw("Please Attach minimum 0.05 TN To Issue CODE Asset.")
28- else [IntegerEntry("Inflation", StartInflation)]
30+ else if ((Week0TS > lastBlock.timestamp))
31+ then throw((("DApp is Not Started Yet please Wait until " + toString(((Week0TS - lastBlock.timestamp) / 60000))) + " Minutes"))
32+ else [IntegerEntry("Inflation", StartInflation)]
2933 }
3034
3135
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let CODEAssetID = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
5+
6+let Week0TS = 1633824000000
57
68 let onehour = 3600000
79
810 let oneday = 86400000
911
1012 let oneweek = 604800000
1113
1214 let onemonth = 2629800000
1315
1416 let StartInflation = pow(10, 0, 3, 0, 2, UP)
1517
1618 let FeeAddress = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1719
1820 let devAddress = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1921
2022 @Callable(i)
2123 func Claim () = {
2224 let pmt = value(i.payments[0])
2325 let currentKey = toBase58String(i.caller.bytes)
2426 if ((pmt.assetId != CODEAssetID))
2527 then throw(("Incorrect asset attached, please attach " + toBase58String(CODEAssetID)))
2628 else if ((5000000 > pmt.amount))
2729 then throw("Please Attach minimum 0.05 TN To Issue CODE Asset.")
28- else [IntegerEntry("Inflation", StartInflation)]
30+ else if ((Week0TS > lastBlock.timestamp))
31+ then throw((("DApp is Not Started Yet please Wait until " + toString(((Week0TS - lastBlock.timestamp) / 60000))) + " Minutes"))
32+ else [IntegerEntry("Inflation", StartInflation)]
2933 }
3034
3135
3236 @Verifier(tx)
3337 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3438

github/deemru/w8io/169f3d6 
41.28 ms