tx · BJyBTzHZhf3kyGsraatC4iRumCnKMUoktK8hQW2YUVY4

3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo:  -0.01400000 Waves

2021.10.14 06:49 [1745436] smart account 3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo > SELF 0.00000000 Waves

{ "type": 13, "id": "BJyBTzHZhf3kyGsraatC4iRumCnKMUoktK8hQW2YUVY4", "fee": 1400000, "feeAssetId": null, "timestamp": 1634183509009, "version": 2, "chainId": 84, "sender": "3N34Zi5VD4m9az4kEXWDJngkMHMTpqLcoqo", "senderPublicKey": "AmXrJ1inc5jpKhf6D9aDcRU8QWHZXBJdBBvz9VsKDe9x", "proofs": [ "2VYC6y6T4mxVxpyKAKWREU3YVnrsn8Ghm9H5t6BfaPsEgAk5D9h7BqpFeXt2LJ8neDQdiWJqKj64te5efYsYgGZb" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEBAAAABwAAAAALQ09ERUFzc2V0SUQBAAAAINAEYRpFnLQZXHk7APbo5tWij1YQ2cG3R/UN12TTTH73AAAAAAtTdGFydEhlaWdodAAAAAAAAAAAAAAAAAAJYmxvY2tkaWZmCQAAZQAAAAIFAAAABmhlaWdodAUAAAALU3RhcnRIZWlnaHQAAAAAC0luZmxhdGlvbk5vCQAAZAAAAAIJAABrAAAAAwAAAAAAAJiWgAAAAAAAAAAAAQUAAAAJYmxvY2tkaWZmAAAAAAAAAAAGAAAAAAtTdGFraW5nRGFwcAEAAAAgo7WknlFYQG5NE/mpBZyxqA4fl+GkedKP+NopRLlOBBYAAAAACkZlZUFkZHJlc3MBAAAAIFKD2aCL15CSOzPl4EBEchtzseD8Xh+YHSzFnrJIx+IgAAAAAApkZXZBZGRyZXNzAQAAACBxPzntQa7CXqUpHrNREofekMqtlOVQyxdZBdjFyNZ4GwAAAAEAAAABaQEAAAAHRGVwb3NpdAAAAAEAAAAERGF5cwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1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nRyeQAAAAICAAAAB21lc3NhZ2UCAAAAJjxoMT5DT0RFIElzc3VlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefsDJj0=", "height": 1745436, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FesVbkHLXTxVxwcgHugUUJbytbW5C2YM7Gdir6EdgJfq Next: HAS1LVCM8YxPDZaZWrGsmgMuDAWQU2iKic7M5L3aGPC5 Diff:
OldNewDifferences
77
88 let c = (height - b)
99
10-let d = (fraction(10000000000, 1, c) + 6)
10+let d = (fraction(10000000, 1, c) + 6)
1111
1212 let e = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV'
1313
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
55
66 let b = 0
77
88 let c = (height - b)
99
10-let d = (fraction(10000000000, 1, c) + 6)
10+let d = (fraction(10000000, 1, c) + 6)
1111
1212 let e = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV'
1313
1414 let f = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1515
1616 let g = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1717
1818 @Callable(h)
1919 func Deposit (i) = {
2020 let j = if ((size(h.payments) == 1))
2121 then h.payments[0]
2222 else throw("No Payments Attached Please Attach CODE Asset Only.")
2323 let k = toBase58String(h.caller.bytes)
2424 let l = (((d * j.amount) * i) / 365)
2525 let m = (c * 100000)
2626 let n = getIntegerValue(this, "Total_Issued_CODE:")
2727 let o = (n + l)
2828 let p = getIntegerValue(this, "Total_Burned_CODE:")
2929 let q = (p + j.amount)
3030 let r = getIntegerValue(this, "Total_Txns:")
3131 let s = (r + 1)
3232 let t = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Deposit_height_Of_" + k)), "Your Address not Found on Staking DApp")
3333 let u = valueOrErrorMessage(getInteger(addressFromPublicKey(e), ("Total_Lock_Blocks_Of_" + k)), "Your Address not Found on Staking DApp")
3434 let v = (u - t)
3535 if ((b > height))
3636 then throw((("DApp is Not Started Yet please Wait until " + toString((b - height))) + " blocks"))
3737 else if ((j.assetId != a))
3838 then throw(("Incorrect asset attached, please attach " + toBase58String(a)))
3939 else if ((100000 > j.amount))
4040 then throw("Please Attach minimum 0.001 CODE To Issue CODE Asset.")
4141 else if ((j.amount > m))
4242 then throw((("You can attach maximum " + toString(m)) + "/10^8 CODE."))
4343 else if ((v != 129600))
4444 then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.")
4545 else [IntegerEntry("Inflation", d), IntegerEntry("Total_Issued_CODE:", o), IntegerEntry("Total_Burned_CODE:", q), IntegerEntry("Total_Txns:", s), IntegerEntry(("Claim_Amount_" + k), (l / 1000)), Burn(a, j.amount), ScriptTransfer(h.caller, (l / 1000), a), StringEntry("message", "<h1>CODE Issued Successfully!</h1><br>")]
4646 }
4747
4848
4949 @Verifier(w)
5050 func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
5151

github/deemru/w8io/026f985 
26.40 ms