tx · 36aRYprwKfejbJJ4cE3i6Skmida92CxJUYGp6LD2HQyU

3MrYoV4W5mu5ZP8rPspCXveMXusGstSPTjL:  -0.01400000 Waves

2019.09.14 20:22 [676177] smart account 3MrYoV4W5mu5ZP8rPspCXveMXusGstSPTjL > SELF 0.00000000 Waves

{ "type": 13, "id": "36aRYprwKfejbJJ4cE3i6Skmida92CxJUYGp6LD2HQyU", "fee": 1400000, "feeAssetId": null, "timestamp": 1568481729788, "version": 1, "sender": "3MrYoV4W5mu5ZP8rPspCXveMXusGstSPTjL", "senderPublicKey": "f1NbgbpkRpbigsrHaDkWZAkPgcqd8GM5G5eNmqnTD6z", "proofs": [ "5fZejafFUgd8x7XKLSyYqcdKEQwHi2kjYhiDbphjF4MZ6zmpeYfNWLHFdbdm3jLiK4d442y5qPHYiv8sxJQ6q2gV" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAA1hY2NlcHRlZFRva2VuAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAAMY3VycmVudFByaWNlAAAAAAAO5rKAAAAAAARiYW5rAgAAACMzTXpZTGtRNnFDd3RieGFZUTJ5azFrZFV1ZHpiTmc0SmlURwAAAAEAAAAGaW52b2tlAQAAABljcmVhdGVBZ3JlZW1lbnRUd29QYXJ0aWVzAAAACAAAAARoYXNoAAAABXRpdGxlAAAACGFkZHJlc3MxAAAACGFkZHJlc3MyAAAACGFkZHJlc3MzAAAACGFkZHJlc3M0AAAACGFkZHJlc3M1AAAACGFkZHJlc3M2BAAAAAdwYXltZW50CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAZpbnZva2UAAAAHcGF5bWVudAQAAAAGYW1vdW50CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAdwYXltZW50AAAABmFtb3VudAQAAAACaWQJAQAAAAdleHRyYWN0AAAAAQgFAAAABmludm9rZQAAAA10cmFuc2FjdGlvbklkBAAAAA5wYXltZW50QXNzZXRJZAMJAQAAAAlpc0RlZ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IAAAAOY291bnRlcnBhcnRfMl8JAAJYAAAAAQUAAAACaWQFAAAACGFkZHJlc3MyCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAAFXN0YXR1c19jb3VudGVycGFydF8yXwkAAlgAAAABBQAAAAJpZAIAAAAHUEVORElORwUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAAEYmFuawUAAAAGYW1vdW50BQAAAA1hY2NlcHRlZFRva2VuCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAAIYWRkcmVzczEAAAAAAAAAAAAFAAAADWFjY2VwdGVkVG9rZW4JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAHEBleHRyVXNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAAhhZGRyZXNzMgAAAAAAAAAAAAUAAAANYWNjZXB0ZWRUb2tlbgUAAAADbmlsCQAAAgAAAAECAAAAJVNvcnJ5IG1heGltdW0gMyBwYXJ0aWVzIGF0IHRoZSBtb21lbnQAAAAAsQ39Tw==", "chainId": 84, "height": 676177, "spentComplexity": 0 } View: original | compacted Prev: BKwWkmYktgKjdpuz5pHBtQ9pRp91sBJh3MxrraKd6L5b Next: 9EBTMrHWCDs9eHBTy6f9g2Ym3a4QHuoAZxZaE3dX4ErU Diff:
OldNewDifferences
1919 then throw("Only payments in SIGN are allowed at the moment")
2020 else if ((amount != currentPrice))
2121 then throw("The price is wrong")
22- else if (if ((size(address1) > 0))
22+ else if (if (if (if (if (if ((size(address1) > 0))
2323 then (size(address2) > 0)
2424 else false)
25- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken)]))
26- else if (if (if ((size(address1) > 0))
25+ then (size(address3) > 0)
26+ else false)
27+ then (size(address4) > 0)
28+ else false)
29+ then (size(address5) > 0)
30+ else false)
31+ then (size(address6) > 0)
32+ else false)
33+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_6_" + toBase58String(id)), address6), DataEntry(("status_counterpart_6_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address6), 0, acceptedToken)]))
34+ else if (if (if (if (if ((size(address1) > 0))
2735 then (size(address2) > 0)
2836 else false)
2937 then (size(address3) > 0)
3038 else false)
31- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken)]))
39+ then (size(address4) > 0)
40+ else false)
41+ then (size(address5) > 0)
42+ else false)
43+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken)]))
3244 else if (if (if (if ((size(address1) > 0))
3345 then (size(address2) > 0)
3446 else false)
3749 then (size(address4) > 0)
3850 else false)
3951 then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken)]))
40- else if (if (if (if (if ((size(address1) > 0))
52+ else if (if (if ((size(address1) > 0))
4153 then (size(address2) > 0)
4254 else false)
4355 then (size(address3) > 0)
4456 else false)
45- then (size(address4) > 0)
46- else false)
47- then (size(address5) > 0)
48- else false)
49- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken)]))
50- else if (if (if (if (if (if ((size(address1) > 0))
57+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken)]))
58+ else if (if ((size(address1) > 0))
5159 then (size(address2) > 0)
5260 else false)
53- then (size(address3) > 0)
54- else false)
55- then (size(address4) > 0)
56- else false)
57- then (size(address5) > 0)
58- else false)
59- then (size(address6) > 0)
60- else false)
61- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_6_" + toBase58String(id)), address6), DataEntry(("status_counterpart_6_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address6), 0, acceptedToken)]))
61+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken)]))
6262 else throw("Sorry maximum 3 parties at the moment")
6363 }
6464
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let acceptedToken = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
55
66 let currentPrice = 250000000
77
88 let bank = "3MzYLkQ6qCwtbxaYQ2yk1kdUudzbNg4JiTG"
99
1010 @Callable(invoke)
1111 func createAgreementTwoParties (hash,title,address1,address2,address3,address4,address5,address6) = {
1212 let payment = extract(invoke.payment)
1313 let amount = extract(payment.amount)
1414 let id = extract(invoke.transactionId)
1515 let paymentAssetId = if (isDefined(payment.assetId))
1616 then extract(payment.assetId)
1717 else throw("Waves is not accepted as payment")
1818 if ((paymentAssetId != acceptedToken))
1919 then throw("Only payments in SIGN are allowed at the moment")
2020 else if ((amount != currentPrice))
2121 then throw("The price is wrong")
22- else if (if ((size(address1) > 0))
22+ else if (if (if (if (if (if ((size(address1) > 0))
2323 then (size(address2) > 0)
2424 else false)
25- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken)]))
26- else if (if (if ((size(address1) > 0))
25+ then (size(address3) > 0)
26+ else false)
27+ then (size(address4) > 0)
28+ else false)
29+ then (size(address5) > 0)
30+ else false)
31+ then (size(address6) > 0)
32+ else false)
33+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_6_" + toBase58String(id)), address6), DataEntry(("status_counterpart_6_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address6), 0, acceptedToken)]))
34+ else if (if (if (if (if ((size(address1) > 0))
2735 then (size(address2) > 0)
2836 else false)
2937 then (size(address3) > 0)
3038 else false)
31- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken)]))
39+ then (size(address4) > 0)
40+ else false)
41+ then (size(address5) > 0)
42+ else false)
43+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken)]))
3244 else if (if (if (if ((size(address1) > 0))
3345 then (size(address2) > 0)
3446 else false)
3547 then (size(address3) > 0)
3648 else false)
3749 then (size(address4) > 0)
3850 else false)
3951 then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken)]))
40- else if (if (if (if (if ((size(address1) > 0))
52+ else if (if (if ((size(address1) > 0))
4153 then (size(address2) > 0)
4254 else false)
4355 then (size(address3) > 0)
4456 else false)
45- then (size(address4) > 0)
46- else false)
47- then (size(address5) > 0)
48- else false)
49- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken)]))
50- else if (if (if (if (if (if ((size(address1) > 0))
57+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken)]))
58+ else if (if ((size(address1) > 0))
5159 then (size(address2) > 0)
5260 else false)
53- then (size(address3) > 0)
54- else false)
55- then (size(address4) > 0)
56- else false)
57- then (size(address5) > 0)
58- else false)
59- then (size(address6) > 0)
60- else false)
61- then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_3_" + toBase58String(id)), address3), DataEntry(("status_counterpart_3_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_4_" + toBase58String(id)), address4), DataEntry(("status_counterpart_4_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_5_" + toBase58String(id)), address5), DataEntry(("status_counterpart_5_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_6_" + toBase58String(id)), address6), DataEntry(("status_counterpart_6_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address3), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address4), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address5), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address6), 0, acceptedToken)]))
61+ then ScriptResult(WriteSet([DataEntry(("title_" + toBase58String(id)), title), DataEntry(("hash_" + toBase58String(id)), hash), DataEntry(("id_" + toBase58String(id)), id), DataEntry(("counterpart_1_" + toBase58String(id)), address1), DataEntry(("status_counterpart_1_" + toBase58String(id)), "PENDING"), DataEntry(("counterpart_2_" + toBase58String(id)), address2), DataEntry(("status_counterpart_2_" + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(address1), 0, acceptedToken), ScriptTransfer(addressFromStringValue(address2), 0, acceptedToken)]))
6262 else throw("Sorry maximum 3 parties at the moment")
6363 }
6464
6565

github/deemru/w8io/169f3d6 
46.36 ms