tx · 8TxYdYM6z3DrmVya576n4i36B5C78mFKhsQ2hCQNzgMW

3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq:  -0.01000000 Waves

2023.05.20 15:40 [2586306] smart account 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq > SELF 0.00000000 Waves

{ "type": 13, "id": "8TxYdYM6z3DrmVya576n4i36B5C78mFKhsQ2hCQNzgMW", "fee": 1000000, "feeAssetId": null, "timestamp": 1684586525654, "version": 2, "chainId": 84, "sender": "3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq", "senderPublicKey": "ERewvWFUFQfR1eCnipNAv9n7SdQhof2ESP6PGVjTueLd", "proofs": [ "5kocyiLoXbnkFiteVR1a7z9SqtWbQuu8ig76Xm6GqrEW2qbMsLKW3Gfh4pCfEfPWsKyTRnTh1SmiX7XektxdVNdr" ], "script": "base64:BgINCAISAwoBARIECgIIAQACAWkBBmJvcnJvdwELYXNzZXRBbW91bnQED3NtYXJ0Y29udHJhY3RJZAkBB0FkZHJlc3MBARoBVJHyspw5c5zCcXIim0BCoGwdZ5WG+0VDrgQHdG9rZW5JZAkBB0FkZHJlc3MBASAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAQHYWRkcmVzcwkApQgBCAUBaQZjYWxsZXIEA3JlcwkA/AcEBQ9zbWFydGNvbnRyYWN0SWQCBmJvcnJvdwkAzAgCBQd0b2tlbklkCQDMCAIFC2Fzc2V0QW1vdW50BQNuaWwJAMwIAgkBD0F0dGFjaGVkUGF5bWVudAIFBHVuaXQAgMLXLwUDbmlsAwkAAAIFA3JlcwUDcmVzBAckbWF0Y2gwBQNyZXMDCQABAgUHJG1hdGNoMAIDSW50BAFyBQckbWF0Y2gwCQCUCgIJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgUHYWRkcmVzcwIKX2JvcnJvd2VkXwUBcgUDbmlsBQFyCQACAQIXSW5jb3JyZWN0IGludm9rZSByZXN1bHQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BaQEId2l0aGRyYXcCCmFzc2V0SWRTdHILYXNzZXRBbW91bnQED3NtYXJ0Y29udHJhY3RJZAkBB0FkZHJlc3MBARoBVJHyspw5c5zCcXIim0BCoGwdZ5WG+0VDrgQHYWRkcmVzcwkApQgBCAUBaQZjYWxsZXIEA3JlcwkA/AcEBQ9zbWFydGNvbnRyYWN0SWQCCHdpdGhkcmF3CQDMCAIJARFAZXh0ck5hdGl2ZSgxMDYyKQEFCmFzc2V0SWRTdHIJAMwIAgULYXNzZXRBbW91bnQFA25pbAkAzAgCCQEPQXR0YWNoZWRQYXltZW50AgUEdW5pdACAwtcvBQNuaWwDCQAAAgUDcmVzBQNyZXMEByRtYXRjaDAFA3JlcwMJAAECBQckbWF0Y2gwAgNJbnQEAXIFByRtYXRjaDAJAJQKAgkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQCsAgIFB2FkZHJlc3MCCl93aXRoZHJld18FCmFzc2V0SWRTdHIFAXIFA25pbAUBcgkAAgECF0luY29ycmVjdCBpbnZva2UgcmVzdWx0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleZcDlCg=", "height": 2586306, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2mRDWQdQPVpyud4Cz9G758vtY49Xdh5ZaAbGCWjGTKLk Next: DjvpmEPjwyyXC5cX3xA82dN52hUtsnnS5JY7hvmNUAs2 Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
5-
6-@Callable(a)
7-func issueToken () = $Tuple2([Issue("MyToken", "This is a new token", 10000, 2, true)], unit)
8-
94
105
116 @Callable(a)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
5-
6-@Callable(a)
7-func issueToken () = $Tuple2([Issue("MyToken", "This is a new token", 10000, 2, true)], unit)
8-
94
105
116 @Callable(a)
127 func borrow (b) = {
138 let c = Address(base58'3N3DnVffnUyZtz2MRbk5U7giN112WempMNd')
149 let d = Address(base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT')
1510 let e = toString(a.caller)
1611 let f = invoke(c, "borrow", [d, b], [AttachedPayment(unit, 100000000)])
1712 if ((f == f))
1813 then {
1914 let g = f
2015 if ($isInstanceOf(g, "Int"))
2116 then {
2217 let h = g
2318 $Tuple2([IntegerEntry((e + "_borrowed_"), h)], h)
2419 }
2520 else throw("Incorrect invoke result")
2621 }
2722 else throw("Strict value is not equal to itself.")
2823 }
2924
3025
3126
3227 @Callable(a)
3328 func withdraw (i,b) = {
3429 let c = Address(base58'3N3DnVffnUyZtz2MRbk5U7giN112WempMNd')
3530 let e = toString(a.caller)
3631 let f = invoke(c, "withdraw", [addressFromStringValue(i), b], [AttachedPayment(unit, 100000000)])
3732 if ((f == f))
3833 then {
3934 let g = f
4035 if ($isInstanceOf(g, "Int"))
4136 then {
4237 let h = g
4338 $Tuple2([IntegerEntry(((e + "_withdrew_") + i), h)], h)
4439 }
4540 else throw("Incorrect invoke result")
4641 }
4742 else throw("Strict value is not equal to itself.")
4843 }
4944
5045
5146 @Verifier(j)
5247 func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
5348

github/deemru/w8io/026f985 
45.32 ms