tx · 2UqjjYbuiVJNn9dRdZ5Vh9tD1LLD15CPvgEcV5XLhcyE
3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F: -0.01000000 Waves
2023.02.13 13:47 [2447740] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves
{
"type": 13,
"id": "2UqjjYbuiVJNn9dRdZ5Vh9tD1LLD15CPvgEcV5XLhcyE",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1676285372096,
"version": 2,
"chainId": 84,
"sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F",
"senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R",
"proofs": [
"2f3U2L242M1L1i4i5EUHQiXrer6HKAqwWZRSKoeTjcLKNJpyehyTUoKjPVLgFqWDvYUEWexSLt3zCxBZ9pwkWbRT"
],
"script": "base64:BgIICAISBAoCCAIAAQFpARJtYW51YWxGdW5kVHJhbnNmZXICDXJlY2VwaWVudEFkZHIHbWVzc2FnZQQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBAdyZWNpdmVyCQDZBAEFDXJlY2VwaWVudEFkZHIEBmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQDCQAAAgkApAMBBQZhbW91bnQCAAkAAgECIFBheW1lbnQgaXMgbm90IGF0dGFjaGVkIG9yIGVtcHR5CQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAglfdHJhbnNmZXIFBmFtb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAgxfdHJhbnNmZXJfdG8FDXJlY2VwaWVudEFkZHIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyAAEFB21lc3NhZ2UFA25pbAD600/R",
"height": 2447740,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Db5bbhPFForntpuA1EgFxP1kgNfHKf84SyhJVPcxvDYi
Next: 5uxXbMsQKaLE4y271b5x26m11yfkMrB5X1RT9otyAJKS
Diff:
Old | New | | Differences |
---|
10 | 10 | | let f = a.payments[0].amount |
---|
11 | 11 | | if ((toString(f) == "")) |
---|
12 | 12 | | then throw("Payment is not attached or empty") |
---|
13 | | - | else [IntegerEntry((toBase58String(d) + "_transfer"), f), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(e), f, unit)] |
---|
| 13 | + | else [IntegerEntry((toBase58String(d) + "_transfer"), f), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(e), f, unit), ScriptTransfer(Address(e), 1, c)] |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func manualFundTransfer (b,c) = { |
---|
8 | 8 | | let d = a.caller.bytes |
---|
9 | 9 | | let e = fromBase58String(b) |
---|
10 | 10 | | let f = a.payments[0].amount |
---|
11 | 11 | | if ((toString(f) == "")) |
---|
12 | 12 | | then throw("Payment is not attached or empty") |
---|
13 | | - | else [IntegerEntry((toBase58String(d) + "_transfer"), f), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(e), f, unit)] |
---|
| 13 | + | else [IntegerEntry((toBase58String(d) + "_transfer"), f), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(e), f, unit), ScriptTransfer(Address(e), 1, c)] |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|