tx · H8xQDg4wb1GM6FcyLM5XHNbq6wYuZ9vDNAXzKEYWKzy4

3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo:  -0.01400000 Waves

2021.10.11 05:26 [1741012] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves

{ "type": 13, "id": "H8xQDg4wb1GM6FcyLM5XHNbq6wYuZ9vDNAXzKEYWKzy4", "fee": 1400000, "feeAssetId": null, "timestamp": 1633919218905, "version": 2, "chainId": 84, "sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo", "senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x", "proofs": [ "4o4v9n3qFZ7MM9QCwV8SAfsbimvBSFgtzemVwdazTbkL4cb9suvFdLWjXDc1YesaijoXjvwq7mEMEuBxBCtEYUVR" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAABgAAAAALQ09ERUFzc2V0SUQBAAAAINAEYRpFnLQZXHk7APbo5tWij1YQ2cG3R/UN12TTTH73AAAAAAtTdGFydEhlaWdodAAAAAAAABiWiAAAAAAJYmxvY2tkaWZmCQAAZQAAAAIFAAAABmhlaWdodAUAAAALU3RhcnRIZWlnaHQAAAAADlN0YXJ0SW5mbGF0aW9uCQAAZAAAAAIJAABrAAAAAwAAAAAAAJiWgAAAAAAAAAAAAQUAAAAJYmxvY2tkaWZmAAAAAAAAAAAGAAAAAApGZWVBZGRyZXNzAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAKZGV2QWRkcmVzcwEAAAAgcT857UGuwl6lKR6zURKH3pDKrZTlUMsXWQXYxcjWeBsAAAABAAAAAWkBAAAABUNsYWltAAAAAAQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAA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Z2UCAAAAJjxoMT5DT0RFIElzc3VlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWWlvAw=", "height": 1741012, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: X8oZGft2eoebmxw3GpeNmSkAGYj7DLu3GGyKGVCda7P Next: DsJdH8XSFKMNKcFkatkBNc7aUzG7wUdwwjZxzAkHjCAh Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
55
6-let b = 1741000
6+let b = 1611400
77
88 let c = (height - b)
99
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
55
6-let b = 1741000
6+let b = 1611400
77
88 let c = (height - b)
99
1010 let d = (fraction(10000000, 1, c) + 6)
1111
1212 let e = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1313
1414 let f = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1515
1616 @Callable(g)
1717 func Claim () = {
1818 let h = if ((size(g.payments) == 1))
1919 then g.payments[0]
2020 else throw("No Payments Attached Please Attach CODE Asset Only.")
2121 let i = toBase58String(g.caller.bytes)
2222 let j = (c * 100000)
2323 let k = (d * h.amount)
2424 let l = getIntegerValue(this, "Total_Issued_CODE:")
2525 let m = (l + k)
2626 let n = getIntegerValue(this, "Total_Burned_CODE:")
2727 let o = (n + h.amount)
2828 let p = getIntegerValue(this, "Total_Txns:")
2929 let q = (p + 1)
3030 if ((b > height))
3131 then throw((("DApp is Not Started Yet please Wait until " + toString((b - height))) + " blocks"))
3232 else if ((h.assetId != a))
3333 then throw(("Incorrect asset attached, please attach " + toBase58String(a)))
3434 else if ((100000 > h.amount))
3535 then throw("Please Attach minimum 0.001 CODE To Issue CODE Asset.")
3636 else if ((h.amount > j))
3737 then throw((("You can attach maximum " + toString(j)) + "/10^8 CODE."))
3838 else [IntegerEntry("Inflation", d), IntegerEntry("Total_Issued_CODE:", m), IntegerEntry("Total_Burned_CODE:", o), IntegerEntry("Total_Txns:", q), Burn(a, h.amount), ScriptTransfer(g.caller, k, a), StringEntry("message", "<h1>CODE Issued Successfully!</h1><br>")]
3939 }
4040
4141
4242 @Verifier(r)
4343 func s () = sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey)
4444

github/deemru/w8io/169f3d6 
21.08 ms