tx · FfVyHXvQpnnzQt31TwZdNWuzFrMaqUYeL9hEdHbi2xPM
3N54SwpNGKrxRvJS6DV15AYCMUC8o59KcDU: -0.01000000 Waves
2019.09.17 16:02 [680284] smart account 3N54SwpNGKrxRvJS6DV15AYCMUC8o59KcDU > SELF 0.00000000 Waves
{
"type": 13,
"id": "FfVyHXvQpnnzQt31TwZdNWuzFrMaqUYeL9hEdHbi2xPM",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1568725320831,
"version": 1,
"sender": "3N54SwpNGKrxRvJS6DV15AYCMUC8o59KcDU",
"senderPublicKey": "Aon29gntUBU6YzrVZt4xSK7SL9sJw3K3XuDAdDAB27Sz",
"proofs": [
"3xhUmL1ra2tT64oTgtgR1nE8Zp4kYFeqozdaNRyAnpa7h6JyrhCpBV2fmT6yyC3iTKpwUZWs6wLFY28DQ9WScUt3"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAAlhZGRPZmZpY2UAAAABAAAADW9mZmljZUFkZHJlc3MEAAAAEm9mZmljZU93bmVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQkABB0AAAACBQAAAAR0aGlzBQAAAA1vZmZpY2VBZGRyZXNzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1vZmZpY2VBZGRyZXNzBQAAABJvZmZpY2VPd25lckFkZHJlc3MFAAAAA25pbAkAAAIAAAABAgAAAC9vZmZpY2Ugd2l0aCB0aGlzIEFkZHJlc3MgaGFzIGJlZW4gYWxyZWFkeSBhZGRlZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGia00lg==",
"chainId": 84,
"height": 680284,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(a) |
---|
| 7 | + | func addOffice (b) = { |
---|
| 8 | + | let c = toBase58String(a.caller.bytes) |
---|
| 9 | + | if (!(isDefined(getString(this, b)))) |
---|
| 10 | + | then WriteSet([DataEntry(b, c)]) |
---|
| 11 | + | else throw("office with this Address has been already added") |
---|
| 12 | + | } |
---|
| 13 | + | |
---|
| 14 | + | |
---|
| 15 | + | @Verifier(d) |
---|
| 16 | + | func e () = true |
---|
| 17 | + | |
---|