tx · 85rwb1g5v7fxRawzoRqZYJynq12TbvSXJEZ5Tu6UDUAd

3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr:  -0.01000000 Waves

2023.05.05 13:11 [2564378] smart account 3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr > SELF 0.00000000 Waves

{ "type": 13, "id": "85rwb1g5v7fxRawzoRqZYJynq12TbvSXJEZ5Tu6UDUAd", "fee": 1000000, "feeAssetId": null, "timestamp": 1683281548553, "version": 2, "chainId": 84, "sender": "3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr", "senderPublicKey": "FDZa2xgu4cguexFSg1X8LsKUrqcYEcLGDpixvT2hNxE5", "proofs": [ "3Qcjo96paNVjyYYJ3JzY9ShnaA56Hqs149u2jWo3hdJg2ua4LYmr1pGvcmJfoXHAnsU4LoGrBkVBVwut3GdQRxkQ" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIeHRuYXB5SWQBAAAAIMZSHoFO6m7jPMCXsA5fLPJq6e2dsobRmkJ4qGB9PhuxAAAAAAV4dG5JZAEAAAAgD/IcEqzkxDya7EYaqyWosOy6BytGzG2IcvC14pJJAbQAAAAABHRlYW0BAAAAGgFUIYUQNDhPJOqs5sZ98ui0gwTENqbIv/SUAAAAAQAAAAFpAQAAAA9idXlYVE5BUFlmb3JYVE4AAAAABAAAAANwbXQJAQAAAAV2YWx1ZQAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAABmFtb3VudAgFAAAAA3BtdAAAAAZhbW91bnQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAABXh0bklkCQAAAgAAAAECAAAAFWF0dGFjaCBYVE4gdG9rZW4gb25seQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABoAAAAAgUAAAAGYW1vdW50AAAAAAAAAABkBQAAAAh4dG5hcHlJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEFAAAABHRlYW0JAABpAAAAAgkAAGgAAAACBQAAAAZhbW91bnQAAAAAAAAAAGQAAAAAAAAAAAQFAAAACHh0bmFweUlkBQAAAANuaWwAAAAApnFG2Q==", "height": 2564378, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6hDvMUqs4f94brBLToT9SZPpVbjgSaMoFKVRZic8eAnb Next: none Diff:
OldNewDifferences
1313 let amount = pmt.amount
1414 if ((pmt.assetId != xtnId))
1515 then throw("attach XTN token only")
16- else [ScriptTransfer(i.caller, (amount * 100), xtnapyId), ScriptTransfer(Address(team), (amount / 4), xtnapyId)]
16+ else [ScriptTransfer(i.caller, (amount * 100), xtnapyId), ScriptTransfer(Address(team), ((amount * 100) / 4), xtnapyId)]
1717 }
1818
1919
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let xtnapyId = base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc'
55
66 let xtnId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
77
88 let team = base58'3MryKUehrHyrsvUYwa2iXi2k3a9m2TDrCzw'
99
1010 @Callable(i)
1111 func buyXTNAPYforXTN () = {
1212 let pmt = value(i.payments[0])
1313 let amount = pmt.amount
1414 if ((pmt.assetId != xtnId))
1515 then throw("attach XTN token only")
16- else [ScriptTransfer(i.caller, (amount * 100), xtnapyId), ScriptTransfer(Address(team), (amount / 4), xtnapyId)]
16+ else [ScriptTransfer(i.caller, (amount * 100), xtnapyId), ScriptTransfer(Address(team), ((amount * 100) / 4), xtnapyId)]
1717 }
1818
1919

github/deemru/w8io/026f985 
19.62 ms