tx · ArAaAFKfYWsmLXtjYbFgim8zXsr6FzfyUzFnxhzsLCXz
3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh: -0.05000000 Waves
2022.01.11 12:23 [1874101] smart account 3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh > SELF 0.00000000 Waves
{
"type": 13,
"id": "ArAaAFKfYWsmLXtjYbFgim8zXsr6FzfyUzFnxhzsLCXz",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1641893046395,
"version": 2,
"chainId": 84,
"sender": "3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh",
"senderPublicKey": "EU9obW1yVhR8qug3EmXPeew3DMagvJFQzY5Ku8bmcsU7",
"proofs": [
"5qPGW1jy3UiJcLmjjnEaLfc4wFzUx3GsELqS1AsMifUj8ApeJdQGGsMY4i31mKQf1M6UzPMFs9T3AWTkrtZ1C7dB"
],
"script": "base64:AAIFAAAAAAAAABEIAhIDCgEIEgMKAQgSAwoBCAAAAAAAAAADAAAAAWkBAAAABWxlYXNlAAAAAQAAAAtwb29sQWRkcmVzcwQAAAAHcGF5bWVudAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAFbGVhc2UJAAREAAAAAgkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAAC3Bvb2xBZGRyZXNzCAUAAAAHcGF5bWVudAAAAAZhbW91bnQEAAAAAmlkCQAEOQAAAAEFAAAABWxlYXNlCQAETAAAAAIFAAAABWxlYXNlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACmI1OGxlYXNlSUQJAAJYAAAAAQUAAAACaWQFAAAAA25pbAAAAAFpAQAAAAtsZWFzZUNhbmNlbAAAAAEAAAAHbGVhc2VUeAkABEwAAAACCQEAAAALTGVhc2VDYW5jZWwAAAABCQACWQAAAAEFAAAAB2xlYXNlVHgFAAAAA25pbAAAAAFpAQAAAANmb28AAAABAAAAA2JhcgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAAEX2JhcgUAAAADYmFyBQAAAANuaWwAAAAA+OtmTQ==",
"height": 1874101,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3iCeTkaMGxhz8W85bixQ5tuSMbcpGcrwYE9UV7PgYgmp
Next: FRTxriXUcneuVFG4cpGXe1BHxJszHhHPiNbaVt28gUTZ
Diff:
Old | New | | Differences |
---|
17 | 17 | | func leaseCancel (leaseTx) = [LeaseCancel(fromBase58String(leaseTx))] |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
| 20 | + | |
---|
| 21 | + | @Callable(i) |
---|
| 22 | + | func foo (bar) = [StringEntry((toBase58String(i.caller.bytes) + "_bar"), bar)] |
---|
| 23 | + | |
---|
| 24 | + | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func lease (poolAddress) = { |
---|
8 | 8 | | let payment = i.payments[0] |
---|
9 | 9 | | let lease = Lease(Address(fromBase58String(poolAddress)), payment.amount) |
---|
10 | 10 | | let id = calculateLeaseId(lease) |
---|
11 | 11 | | [lease, StringEntry("b58leaseID", toBase58String(id))] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Callable(i) |
---|
17 | 17 | | func leaseCancel (leaseTx) = [LeaseCancel(fromBase58String(leaseTx))] |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
| 20 | + | |
---|
| 21 | + | @Callable(i) |
---|
| 22 | + | func foo (bar) = [StringEntry((toBase58String(i.caller.bytes) + "_bar"), bar)] |
---|
| 23 | + | |
---|
| 24 | + | |
---|