tx · 3hbsKK4ashSAXgtikp5AJQq1hefDkE85hZVMFjrwbHtG
3N7dpRHRc9PPXSCLMZA4tRFEQXzPQNHjs6T: -0.01000000 Waves
2023.05.31 13:06 [2601997] smart account 3N7dpRHRc9PPXSCLMZA4tRFEQXzPQNHjs6T > SELF 0.00000000 Waves
{
"type": 13,
"id": "3hbsKK4ashSAXgtikp5AJQq1hefDkE85hZVMFjrwbHtG",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685527752090,
"version": 2,
"chainId": 84,
"sender": "3N7dpRHRc9PPXSCLMZA4tRFEQXzPQNHjs6T",
"senderPublicKey": "6FwWutvTDWVXuYEgsyB6W34RQ5pNvL1ButovpyfJdgfr",
"proofs": [
"2AiFh9ARDdxXKtouWVdp8bBH8z17xc7q1t2VaXiwr3EdHgAtZ7sfEAmGikSTCEcYQCGHTgTeAhGr5UZrASWCnDFD"
],
"script": "base64:BgIOCAISBAoCAQESBAoCAQEAAgFpAQ13aXRoZHJhd0FzaW1pAgtwbGF0Zm9ybUZlZQZhbW91bnQED2NvbnRyYWN0QWRkcmVzcwEaAVTHPFGFPOfvOkUPe7WGLbAQZ1zi2+Zuha0EBXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgMJAAACCAgFAWkGY2FsbGVyBWJ5dGVzBQ9jb250cmFjdEFkZHJlc3MJAAIBAhlzb3JyeSAgeW91IGhhdmUgbm8gYWNjZXNzAwMJAGcCBQtwbGF0Zm9ybUZlZQAACQBnAgULcGxhdGZvcm1GZWUFBmFtb3VudAcJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyCQBoAgUGYW1vdW50AGQFBXRlYW1zBQNuaWwFA25pbAFpAQ13aXRoZHJhd1dhdmVzAgtwbGF0Zm9ybUZlZQZhbW91bnQED2NvbnRyYWN0QWRkcmVzcwEaAVTHPFGFPOfvOkUPe7WGLbAQZ1zi2+Zuha0DCQAAAggIBQFpBmNhbGxlcgVieXRlcwUPY29udHJhY3RBZGRyZXNzCQACAQIZc29ycnkgIHlvdSBoYXZlIG5vIGFjY2VzcwMDCQBnAgULcGxhdGZvcm1GZWUAAAkAZwIFC3BsYXRmb3JtRmVlBQZhbW91bnQHCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgUGYW1vdW50BQR1bml0BQNuaWwFA25pbAECdHgBBnZlcmlmeQAGkYHYew==",
"height": 2601997,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 74hcPcBEsnk9vzDq3p8VGyh4JXP84tkA11MbncpnD1Hk
Next: DqauuVjmy2ei1M6FtMbavoE8ZtrAHc1Y5cv2QvxkmhPY
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func withdrawAsimi (platformFee,amount) = { |
---|
8 | | - | let contractAddress = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' |
---|
| 8 | + | let contractAddress = base58'3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx' |
---|
9 | 9 | | let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' |
---|
10 | 10 | | if ((i.caller.bytes == contractAddress)) |
---|
11 | 11 | | then throw("sorry you have no access") |
---|
|
20 | 20 | | |
---|
21 | 21 | | @Callable(i) |
---|
22 | 22 | | func withdrawWaves (platformFee,amount) = { |
---|
23 | | - | let contractAddress = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' |
---|
| 23 | + | let contractAddress = base58'3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx' |
---|
24 | 24 | | if ((i.caller.bytes == contractAddress)) |
---|
25 | 25 | | then throw("sorry you have no access") |
---|
26 | 26 | | else if (if ((platformFee >= 0)) |
---|
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(i) |
---|
7 | 7 | | func withdrawAsimi (platformFee,amount) = { |
---|
8 | | - | let contractAddress = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' |
---|
| 8 | + | let contractAddress = base58'3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx' |
---|
9 | 9 | | let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' |
---|
10 | 10 | | if ((i.caller.bytes == contractAddress)) |
---|
11 | 11 | | then throw("sorry you have no access") |
---|
12 | 12 | | else if (if ((platformFee >= 0)) |
---|
13 | 13 | | then (platformFee >= amount) |
---|
14 | 14 | | else false) |
---|
15 | 15 | | then [ScriptTransfer(i.caller, (amount * 100), teams)] |
---|
16 | 16 | | else nil |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | @Callable(i) |
---|
22 | 22 | | func withdrawWaves (platformFee,amount) = { |
---|
23 | | - | let contractAddress = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' |
---|
| 23 | + | let contractAddress = base58'3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx' |
---|
24 | 24 | | if ((i.caller.bytes == contractAddress)) |
---|
25 | 25 | | then throw("sorry you have no access") |
---|
26 | 26 | | else if (if ((platformFee >= 0)) |
---|
27 | 27 | | then (platformFee >= amount) |
---|
28 | 28 | | else false) |
---|
29 | 29 | | then [ScriptTransfer(i.caller, amount, unit)] |
---|
30 | 30 | | else nil |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|
33 | 33 | | |
---|
34 | 34 | | @Verifier(tx) |
---|
35 | 35 | | func verify () = true |
---|
36 | 36 | | |
---|