tx · 9iHEkCYJHxrdVFEQBqx3n1icPx5Akgxp3fMK1EXF1qfS

3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo:  -0.01400000 Waves

2021.10.09 10:47 [1738454] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves

{ "type": 13, "id": "9iHEkCYJHxrdVFEQBqx3n1icPx5Akgxp3fMK1EXF1qfS", "fee": 1400000, "feeAssetId": null, "timestamp": 1633765747192, "version": 2, "chainId": 84, "sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo", "senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x", "proofs": [ "5nVcyA3ruforcVYkj66MxAMMD44FDVuqbDw14c95G6eA1MtUC1n8GF9KmieUNB7jjHtaZSA4ae4gYnpuXDN65uzx" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAACAAAAAALQ09ERUFzc2V0SUQBAAAAINAEYRpFnLQZXHk7APbo5tWij1YQ2cG3R/UN12TTTH73AAAAAAdvbmVob3VyAAAAAAAANu6AAAAAAAZvbmVkYXkAAAAAAAUmXAAAAAAAB29uZXdlZWsAAAAAACQMhAAAAAAACG9uZW1vbnRoAAAAAACcv5BAAAAAAA5TdGFydEluZmxhdGlvbgkAAGwAAAAGAAAAAAAAAAAKAAAAAAAAAAACAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAACBQAAAAJVUAAAAAAKRmVlQWRkcmVzcwEAAAAgUoPZoIvXkJI7M+XgQERyG3Ox4PxeH5gdLMWeskjH4iAAAAAACmRldkFkZHJlc3MBAAAAIHE/Oe1BrsJepSkes1ESh96Qyq2U5VDLF1kF2MXI1ngbAAAAAQAAAAFpAQAAAAVDbGFpbQAAAAAEAAAAA3BtdAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAA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bmVkAAAAAQkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAtDT0RFQXNzZXRJRAkAAAIAAAABCQABLAAAAAICAAAAKEluY29ycmVjdCBhc3NldCBhdHRhY2hlZCwgcGxlYXNlIGF0dGFjaCAJAAJYAAAAAQUAAAALQ09ERUFzc2V0SUQDCQAAZgAAAAIAAAAAAABMS0AIBQAAAANwbXQAAAAGYW1vdW50CQAAAgAAAAECAAAAMlBsZWFzZSBBdHRhY2ggbWluaW11bSAwLjA1IFROIFRvIElzc3VlIENPREUgQXNzZXQuAwkAAGYAAAACBQAAAA9Ub3RhbElzc3VlZENPREUFAAAAC0NPREVIYXJkQ2FwCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAL0NPREUgTWludGluZyBpcyBhYm91dCB0byByZWFjaCB0aGUgSGFyZCBDYXAgb2YgCQABpAAAAAEFAAAAC0NPREVIYXJkQ2FwAgAAADAvMTBeOCBDT0RFLiBQbGVhc2UgUmVkdWNlIHlvdXIgTWludGluZyBPcmRlciBieSAJAAGkAAAAAQUAAAAOUGVuZGluZ01pbnRpbmcCAAAACCBvciBwdXQgCQABpAAAAAEJAABlAAAAAgUAAAALQ09ERUhhcmRDYXAFAAAAElByZXZpb3VzSXNzdWVkQ09ERQIAAAAFLzEwXjgJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACUluZmxhdGlvbgUAAAAOU3RhcnRJbmZsYXRpb24FAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V55bOX5g==", "height": 1738454, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Hy92krVqo17CPw3obdmfUYhCVMKgtCSQRefpwfhHDJxE Next: BDJxdkCXAinYsW9fUMgcsHg7hCvNsTkejEqP5cPC3YNk Diff:
OldNewDifferences
3232 let t = getIntegerValue(this, "CODE_Backup_Value_In_TN:")
3333 let u = fraction(100000, s, p)
3434 if (isDefined((j.assetId != a)))
35- then throw("Incorrect asset attached, please attach TN.")
35+ then throw(("Incorrect asset attached, please attach " + toBase58String(a)))
3636 else if ((5000000 > j.amount))
3737 then throw("Please Attach minimum 0.05 TN To Issue CODE Asset.")
3838 else if ((p > m))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
55
66 let b = 3600000
77
88 let c = 86400000
99
1010 let d = 604800000
1111
1212 let e = 2629800000
1313
1414 let f = pow(10, 2, 3, 0, 2, UP)
1515
1616 let g = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1717
1818 let h = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1919
2020 @Callable(i)
2121 func Claim () = {
2222 let j = value(i.payments[0])
2323 let k = toBase58String(i.caller.bytes)
2424 let l = getIntegerValue(this, "CODE/TN")
2525 let m = getIntegerValue(this, "CODEHardCap")
2626 let n = fraction(100000, j.amount, l)
2727 let o = getIntegerValue(this, "Total_Issued_CODE:")
2828 let p = (o + n)
2929 let q = (m - p)
3030 let r = getIntegerValue(this, "Total_CODE_Reserve_In_TN:")
3131 let s = (r + j.amount)
3232 let t = getIntegerValue(this, "CODE_Backup_Value_In_TN:")
3333 let u = fraction(100000, s, p)
3434 if (isDefined((j.assetId != a)))
35- then throw("Incorrect asset attached, please attach TN.")
35+ then throw(("Incorrect asset attached, please attach " + toBase58String(a)))
3636 else if ((5000000 > j.amount))
3737 then throw("Please Attach minimum 0.05 TN To Issue CODE Asset.")
3838 else if ((p > m))
3939 then throw((((((("CODE Minting is about to reach the Hard Cap of " + toString(m)) + "/10^8 CODE. Please Reduce your Minting Order by ") + toString(q)) + " or put ") + toString((m - o))) + "/10^8"))
4040 else [IntegerEntry("Inflation", f)]
4141 }
4242
4343
4444 @Verifier(v)
4545 func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
4646

github/deemru/w8io/169f3d6 
22.92 ms