tx · k43WVQ5mrAw7JhTV23BF6qFxiGdDtfV5o5uXmNLcxdm
3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr: -0.01000000 Waves
2023.05.05 12:38 [2564343] smart account 3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr > SELF 0.00000000 Waves
{
"type": 13,
"id": "k43WVQ5mrAw7JhTV23BF6qFxiGdDtfV5o5uXmNLcxdm",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1683279537508,
"version": 2,
"chainId": 84,
"sender": "3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr",
"senderPublicKey": "FDZa2xgu4cguexFSg1X8LsKUrqcYEcLGDpixvT2hNxE5",
"proofs": [
"27DcJSwLH1ihaXbj9fBZvK3gBeu7qyET4dyrhNAa4MdDX9pv3QxhGebdTgCRS9GiWMEKb1ssHuWorLMSkEYeQekF"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIeHRuYXB5SWQBAAAAIMZSHoFO6m7jPMCXsA5fLPJq6e2dsobRmkJ4qGB9PhuxAAAAAAV4dG5JZAEAAAAgD/IcEqzkxDya7EYaqyWosOy6BytGzG2IcvC14pJJAbQAAAAABHRlYW0BAAAAGgFUIYUQNDhPJOqs5sZ98ui0gwTENqbIv/SUAAAAAQAAAAFpAQAAAA9idXlYVE5BUFlmb3JYVE4AAAAABAAAAANwbXQJAQAAAAV2YWx1ZQAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAABmFtb3VudAgFAAAAA3BtdAAAAAZhbW91bnQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAABXh0bklkCQAAAgAAAAECAAAAFWF0dGFjaCBYVE4gdG9rZW4gb25seQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAAIeHRuYXB5SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABBQAAAAR0ZWFtCQAAaQAAAAIFAAAABmFtb3VudAAAAAAAAAAABAUAAAAIeHRuYXB5SWQFAAAAA25pbAAAAABIOGbI",
"height": 2564343,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: J8b1i4weHE7yLdJDxwvgWWoLUtrtoQYgyg7eAVX3i8P5
Next: 6hDvMUqs4f94brBLToT9SZPpVbjgSaMoFKVRZic8eAnb
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | let xtnId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' |
---|
7 | 7 | | |
---|
8 | | - | let team = base58'3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr' |
---|
| 8 | + | let team = base58'3MryKUehrHyrsvUYwa2iXi2k3a9m2TDrCzw' |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | 11 | | func buyXTNAPYforXTN () = { |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let xtnapyId = base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc' |
---|
5 | 5 | | |
---|
6 | 6 | | let xtnId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' |
---|
7 | 7 | | |
---|
8 | | - | let team = base58'3N1jUC4jdR81nVTUX6LkZsWxBwEGXBLMTzr' |
---|
| 8 | + | let team = base58'3MryKUehrHyrsvUYwa2iXi2k3a9m2TDrCzw' |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | 11 | | func buyXTNAPYforXTN () = { |
---|
12 | 12 | | let pmt = value(i.payments[0]) |
---|
13 | 13 | | let amount = pmt.amount |
---|
14 | 14 | | if ((pmt.assetId != xtnId)) |
---|
15 | 15 | | then throw("attach XTN token only") |
---|
16 | 16 | | else [ScriptTransfer(i.caller, amount, xtnapyId), ScriptTransfer(Address(team), (amount / 4), xtnapyId)] |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|