tx · JDK33MpoQPnomfaDEgJfEciPwUV5kfELcuGAMifLGB2N
3Mqnv1LY2i4hshvHyccL5GEAVbVPRerPjKM: -0.01000000 Waves
2022.11.22 21:39 [2328692] smart account 3Mqnv1LY2i4hshvHyccL5GEAVbVPRerPjKM > SELF 0.00000000 Waves
{
"type": 13,
"id": "JDK33MpoQPnomfaDEgJfEciPwUV5kfELcuGAMifLGB2N",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669142403890,
"version": 2,
"chainId": 84,
"sender": "3Mqnv1LY2i4hshvHyccL5GEAVbVPRerPjKM",
"senderPublicKey": "FB5Eb3jaoFSDQEnfsjbmvMoP3Cc8ejvBySpsfYWC1vBg",
"proofs": [
"2iQMAjknhVJ62C4X4BMkGfMVq818VrQJNqRgztTDXVcZFYmPhEwHqs8RKoa38epkXyS1E3fPimdWbWDCk3dTkEV2"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAEBAAAAB2dldERhdGEAAAACAAAAA2FkcgAAAANrZXkEAAAABGRhdGEEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAADYWRyBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAABQAAAARkYXRhAAAAAQAAAAFpAQAAABpzYXZlVmFsdWVPblN1cHBsaWVyQWNjb3VudAAAAAIAAAANZGVsSW5mVGV4dEtleQAAAA9kZWxJbmZUZXh0VmFsdWUEAAAADGVnZ2VyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAA5lZ2dlclB1YmxpY0tleQkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAAEmVnZ2VyUHVibGljS2V5SGFzaAkAAfcAAAABCQABmwAAAAEFAAAADmVnZ2VyUHVibGljS2V5BAAAACNlZ2dlclB1YmxpY0tleUhhc2hPblN1cHBsaWVyQWNjb3VudAkAAZsAAAABCQEAAAAHZ2V0RGF0YQAAAAIFAAAABHRoaXMCAAAAFGNvbm5lY3Rpb24uRWdnZXIucmVmAwkAAAAAAAACBQAAABJlZ2dlclB1YmxpY0tleUhhc2gFAAAAI2VnZ2VyUHVibGljS2V5SGFzaE9uU3VwcGxpZXJBY2NvdW50CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAADWRlbEluZlRleHRLZXkFAAAAD2RlbEluZlRleHRWYWx1ZQUAAAADbmlsCQAAAgAAAAECAAAAMUFjY291bnQgaGF0IGtlaW5lIEJlcmVjaHRpZ3VuZyBmw7xyIGRpZXNlIEFrdGlvbi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleeKNVec=",
"height": 2328692,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: CGGq4QZZArdeNdAUBGJkPhH7ch29wrwoY1wJKCG7pZZ5
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func a (b,c) = { |
---|
| 5 | + | let d = { |
---|
| 6 | + | let e = getString(b, c) |
---|
| 7 | + | if ($isInstanceOf(e, "String")) |
---|
| 8 | + | then { |
---|
| 9 | + | let f = e |
---|
| 10 | + | f |
---|
| 11 | + | } |
---|
| 12 | + | else "" |
---|
| 13 | + | } |
---|
| 14 | + | d |
---|
| 15 | + | } |
---|
| 16 | + | |
---|
| 17 | + | |
---|
| 18 | + | @Callable(g) |
---|
| 19 | + | func saveValueOnSupplierAccount (h,i) = { |
---|
| 20 | + | let j = toBase58String(g.caller.bytes) |
---|
| 21 | + | let k = toBase58String(g.callerPublicKey) |
---|
| 22 | + | let l = sha256(toBytes(k)) |
---|
| 23 | + | let m = toBytes(a(this, "connection.Egger.ref")) |
---|
| 24 | + | if ((l == m)) |
---|
| 25 | + | then [StringEntry(h, i)] |
---|
| 26 | + | else throw("Account hat keine Berechtigung für diese Aktion.") |
---|
| 27 | + | } |
---|
| 28 | + | |
---|
| 29 | + | |
---|
| 30 | + | @Verifier(n) |
---|
| 31 | + | func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey) |
---|
| 32 | + | |
---|