tx · DbwQLULPcYcMLp32ZFnvWEGatiNfTNL4UNdd3hWWKBLo
3Mq7LKYmA6eHXGKjM1cCXW4RqxCNy1TRmY8: -0.01000000 Waves
2019.09.17 16:04 [680287] smart account 3Mq7LKYmA6eHXGKjM1cCXW4RqxCNy1TRmY8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "DbwQLULPcYcMLp32ZFnvWEGatiNfTNL4UNdd3hWWKBLo",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1568725485129,
"version": 1,
"sender": "3Mq7LKYmA6eHXGKjM1cCXW4RqxCNy1TRmY8",
"senderPublicKey": "GyHowbymbaBM9nZ3JwAEDQhHnybpGgxfQMYS2agkeoUZ",
"proofs": [
"58Km4xamVZxu14XY9L9ESoYqWooigpKRhHTE1bNvwkXQcZjxnuZVHAvQ6e58rNcCSCWp5wFZuwyg4bYr9bPRsj7q"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAAlhZGRPZmZpY2UAAAABAAAADW9mZmljZUFkZHJlc3MEAAAAEm9mZmljZU93bmVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQkABB0AAAACBQAAAAR0aGlzBQAAAA1vZmZpY2VBZGRyZXNzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1vZmZpY2VBZGRyZXNzBQAAABJvZmZpY2VPd25lckFkZHJlc3MFAAAAA25pbAkAAAIAAAABAgAAAC9vZmZpY2Ugd2l0aCB0aGlzIEFkZHJlc3MgaGFzIGJlZW4gYWxyZWFkeSBhZGRlZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGia00lg==",
"chainId": 84,
"height": 680287,
"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(i) |
---|
| 7 | + | func addOffice (officeAddress) = { |
---|
| 8 | + | let officeOwnerAddress = toBase58String(i.caller.bytes) |
---|
| 9 | + | if (!(isDefined(getString(this, officeAddress)))) |
---|
| 10 | + | then WriteSet([DataEntry(officeAddress, officeOwnerAddress)]) |
---|
| 11 | + | else throw("office with this Address has been already added") |
---|
| 12 | + | } |
---|
| 13 | + | |
---|
| 14 | + | |
---|
| 15 | + | @Verifier(tx) |
---|
| 16 | + | func verify () = true |
---|
| 17 | + | |
---|