tx · H3U1vJoVxDuGEVZXmGPsFHKVUWh2xiqzVGTykVQxozb7
3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F: -0.01000000 Waves
2023.05.04 12:46 [2562851] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves
{
"type": 13,
"id": "H3U1vJoVxDuGEVZXmGPsFHKVUWh2xiqzVGTykVQxozb7",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1683193826952,
"version": 2,
"chainId": 84,
"sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F",
"senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R",
"proofs": [
"3kHZodGHedp2iipJGHZG4yuxCtES9jZFtZEb7fTwzfWnE4rFa5PXwRmV9CbdG81ShvDzL82xbcFkJsFJqqJuutNV"
],
"script": "base64:BgIHCAISAwoBCAIABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgAFV0FWRVMBAAEBaQENYXNpbWlUcmFuc2ZlcgENcmVjZXBpZW50QWRkcgQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBAdyZWNpdmVyCQDZBAEFDXJlY2VwaWVudEFkZHIEBmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQEDXNlbmRlckJhbGFuY2UJAPAHAggFAWkGY2FsbGVyASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgMJAAACCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFBXRlYW1zCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAglfdHJhbnNmZXIFBmFtb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAgxfdHJhbnNmZXJfdG8FDXJlY2VwaWVudEFkZHIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFBXRlYW1zBQNuaWwFA25pbACkDpyN",
"height": 2562851,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 5AHHiUoeYuTgNs7uBeVtxASjPF8NxxR13TaCvYspNtGn
Next: HE3oYuUbTsVH9B4pRE1i5tKNRzu28Fj4r4yrQjCq3Ai
Diff:
Old | New | | Differences |
---|
6 | 6 | | let WAVES = base58'' |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | | - | func manualFundTransfer (recepientAddr) = { |
---|
| 9 | + | func asimiTransfer (recepientAddr) = { |
---|
10 | 10 | | let caller = i.caller.bytes |
---|
11 | 11 | | let reciver = fromBase58String(recepientAddr) |
---|
12 | 12 | | let amount = i.payments[0].amount |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' |
---|
5 | 5 | | |
---|
6 | 6 | | let WAVES = base58'' |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | | - | func manualFundTransfer (recepientAddr) = { |
---|
| 9 | + | func asimiTransfer (recepientAddr) = { |
---|
10 | 10 | | let caller = i.caller.bytes |
---|
11 | 11 | | let reciver = fromBase58String(recepientAddr) |
---|
12 | 12 | | let amount = i.payments[0].amount |
---|
13 | 13 | | let senderBalance = assetBalance(i.caller, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq') |
---|
14 | 14 | | if ((i.payments[0].assetId == teams)) |
---|
15 | 15 | | then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, teams)] |
---|
16 | 16 | | else nil |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|