tx · 8wnNfyWgEjUXudmM9K9VEj88qAxZPYUwKVJqyD6oTiZr

3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY:  -0.01000000 Waves

2023.07.05 11:44 [2652388] smart account 3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY > SELF 0.00000000 Waves

{ "type": 13, "id": "8wnNfyWgEjUXudmM9K9VEj88qAxZPYUwKVJqyD6oTiZr", "fee": 1000000, "feeAssetId": null, "timestamp": 1688546689347, "version": 2, "chainId": 84, "sender": "3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY", "senderPublicKey": "GDDsczxCkweNBUuptUZa7snEYfdGLGqHFWneG2sCMM3M", "proofs": [ "8fjNP2PsJdguJakxYd5v1uJHAHgw3Ds3LeRKehP6VM4L6mrQciJ1jQXiaJadgwEZWVzSnMVXUWkasWYf1fTTPGV" ], "script": "base64:BgIMCAISAwoBCBIDCgEIAgAFdGVhbXMBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AAVXQVZFUwEAAgFpAQ1hc2ltaVRyYW5zZmVyAQ1yZWNlcGllbnRBZGRyBAZjYWxsZXIICAUBaQZjYWxsZXIFYnl0ZXMEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAMJAAACCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFBXRlYW1zCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQUHcmVjaXZlcgUGYW1vdW50BQV0ZWFtcwkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIJX3RyYW5zZmVyBQZhbW91bnQJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIMX3RyYW5zZmVyX3RvBQ1yZWNlcGllbnRBZGRyBQNuaWwFA25pbAFpAQ13YXZlc1RyYW5zZmVyAQ1yZWNlcGllbnRBZGRyBAZjYWxsZXIICAUBaQZjYWxsZXIFYnl0ZXMEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAMJAAACCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFBHVuaXQJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgUDbmlsBQNuaWwAvh5XOg==", "height": 2652388, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AR6pWg9iiu1RRTSyRQ7WMQKhx5JZrDZ8GuYqd86PrkCZ Next: DC1GCiuNcevzFnwChp34Jcz36ynrG5ajUDStVjDS8w43 Diff:
OldNewDifferences
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
5-
6-let ASIMI = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
75
86 let WAVES = base58''
97
1210 let caller = i.caller.bytes
1311 let reciver = fromBase58String(recepientAddr)
1412 let amount = i.payments[0].amount
15- if ((i.payments[0].assetId == ASIMI))
13+ if ((i.payments[0].assetId == teams))
1614 then [ScriptTransfer(Address(reciver), amount, teams), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
1715 else nil
1816 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
5-
6-let ASIMI = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
75
86 let WAVES = base58''
97
108 @Callable(i)
119 func asimiTransfer (recepientAddr) = {
1210 let caller = i.caller.bytes
1311 let reciver = fromBase58String(recepientAddr)
1412 let amount = i.payments[0].amount
15- if ((i.payments[0].assetId == ASIMI))
13+ if ((i.payments[0].assetId == teams))
1614 then [ScriptTransfer(Address(reciver), amount, teams), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
1715 else nil
1816 }
1917
2018
2119
2220 @Callable(i)
2321 func wavesTransfer (recepientAddr) = {
2422 let caller = i.caller.bytes
2523 let reciver = fromBase58String(recepientAddr)
2624 let amount = i.payments[0].amount
2725 if ((i.payments[0].assetId == unit))
2826 then [ScriptTransfer(Address(reciver), amount, unit), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
2927 else nil
3028 }
3129
3230

github/deemru/w8io/169f3d6 
26.54 ms