tx · FRTxriXUcneuVFG4cpGXe1BHxJszHhHPiNbaVt28gUTZ
3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh: -0.01000000 Waves
2023.04.12 10:59 [2531077] smart account 3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh > SELF 0.00000000 Waves
{
"type": 13,
"id": "FRTxriXUcneuVFG4cpGXe1BHxJszHhHPiNbaVt28gUTZ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1681286442703,
"version": 2,
"chainId": 84,
"sender": "3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh",
"senderPublicKey": "EU9obW1yVhR8qug3EmXPeew3DMagvJFQzY5Ku8bmcsU7",
"proofs": [
"tjssGkVU9RDZtuaa386Ya6ncUKfGskd5Nb52MTVL5UipLq31LGm8LXMLP1tWgnTv3EWuhqKVVTtyDLdWXJ9kcKj"
],
"script": "base64:BgICCAIBAANmb28CA2ZvbwABAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAgVPcmRlcgQBbwUHJG1hdGNoMAkAZgIJARFAZXh0ck5hdGl2ZSgxMDUwKQIFBHRoaXMFA2ZvbwALCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5d3p16Q==",
"height": 2531077,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: ArAaAFKfYWsmLXtjYbFgim8zXsr6FzfyUzFnxhzsLCXz
Next: 4edS2hBsJFvTXtgDGu519XpLiQyNFDuSUfhhHeMGQ3ah
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 5 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = "foo" |
---|
4 | 5 | | |
---|
5 | 6 | | |
---|
6 | | - | @Callable(a) |
---|
7 | | - | func lease (b) = { |
---|
8 | | - | let c = a.payments[0] |
---|
9 | | - | let d = Lease(Address(fromBase58String(b)), c.amount) |
---|
10 | | - | let e = calculateLeaseId(d) |
---|
11 | | - | [d, StringEntry("b58leaseID", toBase58String(e))] |
---|
| 7 | + | @Verifier(b) |
---|
| 8 | + | func c () = { |
---|
| 9 | + | let d = b |
---|
| 10 | + | if ($isInstanceOf(d, "Order")) |
---|
| 11 | + | then { |
---|
| 12 | + | let e = d |
---|
| 13 | + | (getIntegerValue(this, a) > 11) |
---|
| 14 | + | } |
---|
| 15 | + | else sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey) |
---|
12 | 16 | | } |
---|
13 | | - | |
---|
14 | | - | |
---|
15 | | - | |
---|
16 | | - | @Callable(a) |
---|
17 | | - | func leaseCancel (f) = [LeaseCancel(fromBase58String(f))] |
---|
18 | | - | |
---|
19 | | - | |
---|
20 | | - | |
---|
21 | | - | @Callable(a) |
---|
22 | | - | func foo (g) = [StringEntry((toBase58String(a.caller.bytes) + "_bar"), g)] |
---|
23 | | - | |
---|
24 | 17 | | |
---|