tx · F2qfJveEP5yHNnuE3aVNKCeTzXVgaPVCquFqCnPiLcQ8
3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat: -0.00100000 Waves
2023.08.22 12:42 [2721650] smart account 3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat > SELF 0.00000000 Waves
{
"type": 13,
"id": "F2qfJveEP5yHNnuE3aVNKCeTzXVgaPVCquFqCnPiLcQ8",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1692697330917,
"version": 2,
"chainId": 84,
"sender": "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat",
"senderPublicKey": "AwWYbCDs6GDxAT6diG2mfEqD7tFz9JXu9k234FS135kR",
"proofs": [
"4Wj3u55wkKTRXtQFoKF3KAueeduuiDBrhKq8Azh8ULgLoKsSfvyppRWZXQP5wUX2XxpVCddYs4rEqg8H7YKaMTPx"
],
"script": "base64:BgIGCAISABIABAAFcG9vbDECIzNONUp1NjR1VFB1YVI0TTRmOVlCNUxSWVJOSjM4Mk1XcmF0AAVwb29sMgIjM015UnZvWkpMMnM1Nk42VEs4UlgxaUpaY0NYWmtjNzdoY1gABWZhcm0yAiMzTjJISFpYWFZuOTE0UXVUeFRBTng2dml6dVpnZUtSSk12agEFZnVuYzMCBmNhbGxlcgZvcmlnaW4DBgkAAgEJAKwCAgkArAICCQCsAgICCGNhbGxlcjogBQZjYWxsZXICCiwgb3JpZ2luOiAFBm9yaWdpbgAAAgFpAQVmdW5jMgAEBmNhbGxlcgkApQgBCAUBaQZjYWxsZXIEBm9yaWdpbgkApQgBCAUBaQxvcmlnaW5DYWxsZXIDBgkAAgEJAKwCAgkArAICCQCsAgICCGNhbGxlcjogBQZjYWxsZXICCiwgb3JpZ2luOiAFBm9yaWdpbgUDbmlsAWkBBWZ1bmMxAAQCbm4JAPwHBAkBB0FkZHJlc3MBCQDZBAEFBXBvb2wyAgVmdW5jMwkAzAgCAgZjYWxsZXIJAMwIAgIGb3JpZ2luBQNuaWwFA25pbAMJAAACBQJubgUCbm4FA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAnNM+8",
"height": 2721650,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4XgDwQucf1HYWk7AZ3RYCLSQsKu5Xsy92HLfvUGhfmsc
Next: 8mBCG2gUEPBEpFGK5rnLTsurBiX28qgQF4iP2cg58F8Z
Diff:
Old | New | | Differences |
---|
25 | 25 | | |
---|
26 | 26 | | @Callable(i) |
---|
27 | 27 | | func func1 () = { |
---|
28 | | - | let nn = invoke(Address(fromBase58String(pool2)), "func2", nil, nil) |
---|
| 28 | + | let nn = invoke(Address(fromBase58String(pool2)), "func3", ["caller", "origin"], nil) |
---|
29 | 29 | | if ((nn == nn)) |
---|
30 | 30 | | then nil |
---|
31 | 31 | | else throw("Strict value is not equal to itself.") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let pool1 = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat" |
---|
5 | 5 | | |
---|
6 | 6 | | let pool2 = "3MyRvoZJL2s56N6TK8RX1iJZcCXZkc77hcX" |
---|
7 | 7 | | |
---|
8 | 8 | | let farm2 = "3N2HHZXXVn914QuTxTANx6vizuZgeKRJMvj" |
---|
9 | 9 | | |
---|
10 | 10 | | func func3 (caller,origin) = if (true) |
---|
11 | 11 | | then throw(((("caller: " + caller) + ", origin: ") + origin)) |
---|
12 | 12 | | else 0 |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | 16 | | func func2 () = { |
---|
17 | 17 | | let caller = toString(i.caller) |
---|
18 | 18 | | let origin = toString(i.originCaller) |
---|
19 | 19 | | if (true) |
---|
20 | 20 | | then throw(((("caller: " + caller) + ", origin: ") + origin)) |
---|
21 | 21 | | else nil |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | @Callable(i) |
---|
27 | 27 | | func func1 () = { |
---|
28 | | - | let nn = invoke(Address(fromBase58String(pool2)), "func2", nil, nil) |
---|
| 28 | + | let nn = invoke(Address(fromBase58String(pool2)), "func3", ["caller", "origin"], nil) |
---|
29 | 29 | | if ((nn == nn)) |
---|
30 | 30 | | then nil |
---|
31 | 31 | | else throw("Strict value is not equal to itself.") |
---|
32 | 32 | | } |
---|
33 | 33 | | |
---|
34 | 34 | | |
---|