tx · HmgRPKpRPniBeZAF9uhExAPyEu9zG145LxTUfDEh9dZo
3NALuRny5Acq5BMprT38vKW9ZwM61A2qpaF: -0.01000000 Waves
2022.11.21 18:56 [2327084] smart account 3NALuRny5Acq5BMprT38vKW9ZwM61A2qpaF > SELF 0.00000000 Waves
{
"type": 13,
"id": "HmgRPKpRPniBeZAF9uhExAPyEu9zG145LxTUfDEh9dZo",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669046221742,
"version": 2,
"chainId": 84,
"sender": "3NALuRny5Acq5BMprT38vKW9ZwM61A2qpaF",
"senderPublicKey": "HksWDR6oiSmenStMkzoLQryEpvXTVfN84yNPLAx3oZeM",
"proofs": [
"54ekdKpgzkJXwSPQkDyz9FEU96NsHw4PjtoBgKzvwnV96j4fADhrAAXaGs7atVw7FZAwuZZRCL7AhXSsggDDBG9H"
],
"script": "base64:BgIHCAISAwoBAQMABFVTRE4BILYmKcME9c5TkaQOS3UkL2SMUbH6369UKb1I0h0qsqrRAAxhZG1pbkFkZHJlc3MJAQdBZGRyZXNzAQEaAVTAwzv2fqPdYitfgRofccDz68bLgsbCJTYAC3plZnRBZGRyZXNzCQEHQWRkcmVzcwEBGgFXbzqFfFF8HEJnS7j6bl/S88SZ3WHnKFgLAQFpAQh1c2RuXzEwMAEGYW1vdW50AwkBAiE9AggFAWkMb3JpZ2luQ2FsbGVyBQxhZG1pbkFkZHJlc3MJAAIBAhFvbmx5IGFkbWluIGNhbiBkbwQRdXNkbkFtb3VudE9uU3RhcnQJAPAHAgUEdGhpcwUEVVNETgMJAAACBRF1c2RuQW1vdW50T25TdGFydAURdXNkbkFtb3VudE9uU3RhcnQEA2ludgkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTjNZWlNtUmRxOXg1RWdlemlNbzNmcmp6Uzkyc1NldHhkSgIGdGVsbG1lCQDMCAICBHRlc3QFA25pbAUDbmlsAwkAAAIFA2ludgUDaW52BBd1c2RuQW1vdW50QWZ0ZXJXaXRoZHJhdwkA8AcCBQR0aGlzBQRVU0ROAwkAAAIFF3VzZG5BbW91bnRBZnRlcldpdGhkcmF3BRd1c2RuQW1vdW50QWZ0ZXJXaXRoZHJhdwkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQt6ZWZ0QWRkcmVzcwkAZQIFF3VzZG5BbW91bnRBZnRlcldpdGhkcmF3BRF1c2RuQW1vdW50T25TdGFydAUEVVNETgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAN+FXrI=",
"height": 2327084,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 242yXdr7Dd2gQjt9GTC3YmnicndSjytMz3QJtmq31NAb
Next: none
Diff:
Old | New | | Differences |
---|
14 | 14 | | let usdnAmountOnStart = assetBalance(this, USDN) |
---|
15 | 15 | | if ((usdnAmountOnStart == usdnAmountOnStart)) |
---|
16 | 16 | | then { |
---|
17 | | - | let inv = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) |
---|
| 17 | + | let inv = invoke(addressFromStringValue("3N3YZSmRdq9x5EgeziMo3frjzS92sSetxdJ"), "tellme", ["test"], nil) |
---|
18 | 18 | | if ((inv == inv)) |
---|
19 | 19 | | then { |
---|
20 | 20 | | let usdnAmountAfterWithdraw = assetBalance(this, USDN) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
5 | 5 | | |
---|
6 | 6 | | let adminAddress = Address(base58'3N7VKPs54T4gvm16XkQeReqxCAWUZZz5V81') |
---|
7 | 7 | | |
---|
8 | 8 | | let zeftAddress = Address(base58'3PC51qgNQz4xx7m1DhLdCDYESaeNKT6zeFt') |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | 11 | | func usdn_100 (amount) = if ((i.originCaller != adminAddress)) |
---|
12 | 12 | | then throw("only admin can do") |
---|
13 | 13 | | else { |
---|
14 | 14 | | let usdnAmountOnStart = assetBalance(this, USDN) |
---|
15 | 15 | | if ((usdnAmountOnStart == usdnAmountOnStart)) |
---|
16 | 16 | | then { |
---|
17 | | - | let inv = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) |
---|
| 17 | + | let inv = invoke(addressFromStringValue("3N3YZSmRdq9x5EgeziMo3frjzS92sSetxdJ"), "tellme", ["test"], nil) |
---|
18 | 18 | | if ((inv == inv)) |
---|
19 | 19 | | then { |
---|
20 | 20 | | let usdnAmountAfterWithdraw = assetBalance(this, USDN) |
---|
21 | 21 | | if ((usdnAmountAfterWithdraw == usdnAmountAfterWithdraw)) |
---|
22 | 22 | | then [ScriptTransfer(zeftAddress, (usdnAmountAfterWithdraw - usdnAmountOnStart), USDN)] |
---|
23 | 23 | | else throw("Strict value is not equal to itself.") |
---|
24 | 24 | | } |
---|
25 | 25 | | else throw("Strict value is not equal to itself.") |
---|
26 | 26 | | } |
---|
27 | 27 | | else throw("Strict value is not equal to itself.") |
---|
28 | 28 | | } |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|