tx · 5eZn7cBWSyBjtPyUJXgSCTCuu1BmbRJLkL8hyuWwuBKz

3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx:  -0.01000000 Waves

2023.05.24 13:17 [2591935] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves

{ "type": 13, "id": "5eZn7cBWSyBjtPyUJXgSCTCuu1BmbRJLkL8hyuWwuBKz", "fee": 1000000, "feeAssetId": null, "timestamp": 1684923646371, "version": 2, "chainId": 84, "sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx", "senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx", "proofs": [ "25cWjt8KSLfvugZRE2XtAfqCW8SUmLQmo1dKU1MbJTuoah74d975SsGd8MGfYmJbZRXAo3KFhw46WxrKeMFBfKb2" ], "script": "base64:BgIHCAISAwoBCAIABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgAFV0FWRVMBAAEBaQEMd2F2ZVRyYW5zZmVyAQ1yZWNlcGllbnRBZGRyBAZjYWxsZXIICAUBaQZjYWxsZXIFYnl0ZXMEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQNc2VuZGVyQmFsYW5jZQkA8AcCCAUBaQZjYWxsZXIBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUEdW5pdAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUEdW5pdAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIJX3RyYW5zZmVyBQZhbW91bnQJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIMX3RyYW5zZmVyX3RvBQ1yZWNlcGllbnRBZGRyBQNuaWwFA25pbACtAwtD", "height": 2591935, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ToazMKzqkAYLFkehrACHYoFpYjLyKCv4HNiWkiSTAHL Next: 73dNQYWr4FdDufzhReFYEAM7fvJqkoLMhXjLXT4Laavk Diff:
OldNewDifferences
1111 let reciver = fromBase58String(recepientAddr)
1212 let amount = i.payments[0].amount
1313 let senderBalance = assetBalance(i.caller, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
14- if ((amount > senderBalance))
15- then throw("Buyer does not have enough funds to complete the purchase.")
16- else if ((i.payments[0].assetId == unit))
17- then [ScriptTransfer(Address(reciver), amount, unit), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
18- else nil
14+ if ((i.payments[0].assetId == unit))
15+ then [ScriptTransfer(Address(reciver), amount, unit), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
16+ else nil
1917 }
2018
2119
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 let WAVES = base58''
77
88 @Callable(i)
99 func waveTransfer (recepientAddr) = {
1010 let caller = i.caller.bytes
1111 let reciver = fromBase58String(recepientAddr)
1212 let amount = i.payments[0].amount
1313 let senderBalance = assetBalance(i.caller, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
14- if ((amount > senderBalance))
15- then throw("Buyer does not have enough funds to complete the purchase.")
16- else if ((i.payments[0].assetId == unit))
17- then [ScriptTransfer(Address(reciver), amount, unit), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
18- else nil
14+ if ((i.payments[0].assetId == unit))
15+ then [ScriptTransfer(Address(reciver), amount, unit), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
16+ else nil
1917 }
2018
2119

github/deemru/w8io/169f3d6 
52.27 ms