tx · DijiyCoSmtAWdyCaNqbk9aUzdNFdEyNx5xCZRzB4Gbe6

3MxNToddeioZQ74c7CD1hDy4R5hgPEewmWs:  -1.00400000 Waves

2019.01.03 10:43 [433291] smart asset 3MxNToddeioZQ74c7CD1hDy4R5hgPEewmWs > SELF 0.00 ATC2_Test

{ "type": 15, "id": "DijiyCoSmtAWdyCaNqbk9aUzdNFdEyNx5xCZRzB4Gbe6", "fee": 100400000, "feeAssetId": null, "timestamp": 1546501410136, "version": 1, "sender": "3MxNToddeioZQ74c7CD1hDy4R5hgPEewmWs", "senderPublicKey": "3SmEfcH8L6HTopqkkKr8iN1G5Z44sEJdDQqtY6YtXnfZ", "proofs": [ "3jyC9DwaifAHTzXzpmEHXDfSvLznZxwHW2EsU77d2n4tg1Pds8Gg58tFJDRQMH7YibPrgFRW4K86vZqo57cCy6zK", "4awQNjpxzhgyVNsifQ5d7j637kK1Hdqjq4FN4xePLSA9MH31WEuLTe7k1XgAfnyjPnZdRv2FZtTw6FfCqbBtsHLw", "HHyKpNtkFSamVAuw3qP218PNEUp6rarGNau3vwGpQ6SqR9wLpDDVe2Xem1rpUFP9wKfAGQapH4Ypi2Bc1ZgpfiX" ], "assetId": "4m6b1gWjmow4wNFaBhfpYhM9wwQkDL4JkJEE5qszLa5u", "script": "base64:AQa3b8tH", "chainId": 84, "height": 433291, "spentComplexity": 0 } View: original | compacted Prev: 9yR75tpTwJqD54ddJa3uELVBJoahsYex2KyCsXSZ5wKx Next: Da7r1dR3jURkwwPNSMQrhUVF8VvGLJqxHSQhDLNDskxm Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let tbtcIssuerPubKey = base58'3SmEfcH8L6HTopqkkKr8iN1G5Z44sEJdDQqtY6YtXnfZ'
4-let tbtcIssuerVerifierPubKey = base58'FDuwuYHXBnTFUPJheVwdF3rmMqusKPb5C297jYv2Qbux'
5-let tbtcIssuer2VerifierPubKey = base58'FDuwuYHXBnTFUPJheVwdF3rmMqusKPb5C297jYv2Qbux'
6-let tbtcGatewayAddress = addressFromString("3MsXZv9fT9pUtBZbCZ7ogHkhV75gjJgDsrs")
7-let tbtcGatewayPubKey = base58'4wKfNrcEQCqhawz5UMkJtXyzdDg83hr5iAWYfynT5ygh'
8-let tbtcGatewayVerifierAddress = addressFromString("3MsXZv9fT9pUtBZbCZ7ogHkhV75gjJgDsrs")
9-let tbtcGatewayVerifierPubKey = base58'4wKfNrcEQCqhawz5UMkJtXyzdDg83hr5iAWYfynT5ygh'
10-let tbtcMatcherAddress = addressFromString("3N6LAgKawp88nVHFmqdY7HfeqrnYspZwE4C")
11-match tx {
12- case t: ReissueTransaction =>
13- let signedGateway = if (sigVerify(tx.bodyBytes, tx.proofs[1], tbtcGatewayPubKey))
14- then 1
15- else 0
16- let signedGatewayVerifier = if (sigVerify(tx.bodyBytes, tx.proofs[2], tbtcGatewayVerifierPubKey))
17- then 1
18- else 0
19- ((signedGateway + signedGatewayVerifier) >= 1)
20- case t: TransferTransaction =>
21- if ((t.recipient == tbtcGatewayAddress))
22- then true
23- else (t.sender == tbtcGatewayAddress)
24- case t: ExchangeTransaction =>
25- let matcher = extract(tbtcMatcherAddress)
26- let addr1 = toBase58String(t.sellOrder.sender.bytes)
27- let o1 = getInteger(matcher, addr1)
28- if (if (isDefined(o1))
29- then (o1 == 1)
30- else false)
31- then (t.sender == tbtcMatcherAddress)
32- else false
33- case t: SetAssetScriptTransaction =>
34- true
35- case _ =>
36- false
37-}
3+true

github/deemru/w8io/169f3d6 
32.91 ms