diff --git a/build/contracts/Bridge.json b/build/contracts/Bridge.json index 0caef2c..2a827d4 100644 --- a/build/contracts/Bridge.json +++ b/build/contracts/Bridge.json @@ -99,20 +99,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "completed", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": true, "inputs": [], @@ -150,20 +136,6 @@ "stateMutability": "nonpayable", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "failed", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": false, "inputs": [], @@ -201,20 +173,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "notifiedSale", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": false, "inputs": [ @@ -628,10 +586,10 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b506040516040806121b88339810180604052810190808051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506120a98061010f6000396000f3006080604052600436106101b7576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063058bf214146101b957806307da68f5146101e8578063101b8a41146101ff578063181956ae1461022e57806318c9ef97146102655780631f2698ab146102b257806321df0da7146102e157806322f3e2d4146103385780633e50de3014610367578063441a3e7014610399578063481c6a75146103d05780635d202249146104275780636385cbbe1461045257806366829b161461047d57806375f12b21146104c05780638da5cb5b146104ef5780639106d7ba1461054657806393f33b88146105715780639d9a7fe9146105b2578063a51fe113146105e1578063a85adeab14610638578063a96f866814610663578063b23c1f191461067a578063ba0e930a146106c7578063ba414fa61461070a578063c8e9d8ac14610739578063d0e30db014610770578063d56b28891461077a578063e29eb83614610791578063e6fd48bc146107bc578063e8387f40146107e7578063ec4cd0cf14610816578063f2fde38b14610845578063f416334014610888578063fb86a404146108b7575b005b3480156101c557600080fd5b506101ce6108e2565b604051808215151515815260200191505060405180910390f35b3480156101f457600080fd5b506101fd6108f1565b005b34801561020b57600080fd5b506102146109c3565b604051808215151515815260200191505060405180910390f35b34801561023a57600080fd5b506102636004803603810190808035906020019092919080359060200190929190505050610b91565b005b34801561027157600080fd5b506102b0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ce3565b005b3480156102be57600080fd5b506102c7610d7a565b604051808215151515815260200191505060405180910390f35b3480156102ed57600080fd5b506102f6610d8d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561034457600080fd5b5061034d610db7565b604051808215151515815260200191505060405180910390f35b34801561037357600080fd5b5061037c610de7565b604051808381526020018281526020019250505060405180910390f35b3480156103a557600080fd5b506103ce60048036038101908080359060200190929190803590602001909291905050506110c9565b005b3480156103dc57600080fd5b506103e56113f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561043357600080fd5b5061043c61141b565b6040518082815260200191505060405180910390f35b34801561045e57600080fd5b50610467611421565b6040518082815260200191505060405180910390f35b34801561048957600080fd5b506104be600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611427565b005b3480156104cc57600080fd5b506104d56116b6565b604051808215151515815260200191505060405180910390f35b3480156104fb57600080fd5b506105046116c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561055257600080fd5b5061055b6116ee565b6040518082815260200191505060405180910390f35b34801561057d57600080fd5b506105b06004803603810190808035906020019092919080359060200190929190803590602001909291905050506116f4565b005b3480156105be57600080fd5b506105c761180a565b604051808215151515815260200191505060405180910390f35b3480156105ed57600080fd5b506106366004803603810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061181d565b005b34801561064457600080fd5b5061064d611976565b6040518082815260200191505060405180910390f35b34801561066f57600080fd5b5061067861197c565b005b34801561068657600080fd5b506106c5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061197e565b005b3480156106d357600080fd5b50610708600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611adf565b005b34801561071657600080fd5b5061071f611bbb565b604051808215151515815260200191505060405180910390f35b34801561074557600080fd5b5061076e6004803603810190808035906020019092919080359060200190929190505050611bce565b005b610778611d16565b005b34801561078657600080fd5b5061078f611d18565b005b34801561079d57600080fd5b506107a6611e63565b6040518082815260200191505060405180910390f35b3480156107c857600080fd5b506107d1611e69565b6040518082815260200191505060405180910390f35b3480156107f357600080fd5b506107fc611e6f565b604051808215151515815260200191505060405180910390f35b34801561082257600080fd5b5061082b611e82565b604051808215151515815260200191505060405180910390f35b34801561085157600080fd5b50610886600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eb2565b005b34801561089457600080fd5b5061089d612007565b604051808215151515815260200191505060405180910390f35b3480156108c357600080fd5b506108cc61201e565b6040518082815260200191505060405180910390f35b60006005546002541015905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561094d57600080fd5b600160159054906101000a900460ff1615151561096957600080fd5b600160149054906101000a900460ff16156109a757610986612007565b15151561099257600080fd5b61099a611e82565b1515156109a657600080fd5b5b60018060156101000a81548160ff021916908315150217905550565b60008060008060006109d3610de7565b80945081955050506000841115610a10573073ffffffffffffffffffffffffffffffffffffffff1631915083821015610a0f5760009450610b8a565b5b6000831115610b8557600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a795760009450610b8a565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610b3657600080fd5b505af1158015610b4a573d6000803e3d6000fd5b505050506040513d6020811015610b6057600080fd5b8101908080519060200190929190505050905082811015610b845760009450610b8a565b5b600194505b5050505090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c395750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515610c4457600080fd5b600960149054906101000a900460ff16151515610c6057600080fd5b600082118015610c705750600081115b15610c84578181111515610c8357600080fd5b5b6000821115610c9557816005819055505b806006819055507f8a107dbf550ef189cf0475e419d4fb817092ced37114d2b5efe4c816926b27ee600554600654604051808381526020018281526020019250505060405180910390a15050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d3f57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff168160405160006040518083038185875af1925050501515610d7657600080fd5b5050565b600160149054906101000a900460ff1681565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160149054906101000a900460ff168015610de25750600960149054906101000a900460ff16155b905090565b6000806000806000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a823cfaf6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b81019080805190602001909291905050509450600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166380fa81b16040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610f3b57600080fd5b505af1158015610f4f573d6000803e3d6000fd5b505050506040513d6020811015610f6557600080fd5b8101908080519060200190929190505050935060008414159150620f4240610f988660045461202490919063ffffffff16565b811515610fa157fe5b0490506000600354141515610fba576003546002819055505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633350ae366002546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b15801561104d57600080fd5b505af1158015611061573d6000803e3d6000fd5b505050506040513d602081101561107757600080fd5b810190808051906020019092919050505060028190555081156110ba57620f42406110ad8560025461202490919063ffffffff16565b8115156110b657fe5b0492505b82819650965050505050509091565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561112757600080fd5b600960149054906101000a900460ff1680156111505750600960159054906101000a900460ff16155b1561115a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff16319150600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561123157600080fd5b505af1158015611245573d6000803e3d6000fd5b505050506040513d602081101561125b57600080fd5b8101908080519060200190929190505050905083821015801561127e5750828110155b151561128957600080fd5b60008411156112da573373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f193505050501580156112d8573d6000803e3d6000fd5b505b60008311156113ef57600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156113a857600080fd5b505af11580156113bc573d6000803e3d6000fd5b505050506040513d60208110156113d257600080fd5b810190808051906020019092919050505015156113ee57600080fd5b5b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114d15750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b15156114dc57600080fd5b600960149054906101000a900460ff161515156114f857600080fd5b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156115bf57600080fd5b505af11580156115d3573d6000803e3d6000fd5b505050506040513d60208110156115e957600080fd5b8101908080519060200190929190505050905060088160ff1610158015611614575060128160ff1611155b151561161f57600080fd5b7fed6f18557b7914dbfc23d546be65de82017608e11b87429e06c0b88b55f0b6c3600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018260ff1660ff1681526020019250505060405180910390a15050565b600160159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600160149054906101000a900460ff16151561170f57600080fd5b600160159054906101000a900460ff1615151561172b57600080fd5b611733610db7565b151561173e57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561179957600080fd5b6117ae8360025461205f90919063ffffffff16565b6002819055506117c98260035461205f90919063ffffffff16565b6003819055506117e48160045461205f90919063ffffffff16565b6004819055506001600960166101000a81548160ff021916908315150217905550505050565b600960149054906101000a900460ff1681565b600160149054906101000a900460ff1615151561183957600080fd5b600160159054906101000a900460ff1615151561185557600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156118b157600080fd5b6000831180156118c15750600082115b156118d55782821115156118d457600080fd5b5b826007819055508160088190555060018060146101000a81548160ff0219169083151502179055507ffccf552413932efea18979436cc8ce92942bdef118c2b5682351e1891bef807283836000604051808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a1505050565b60085481565b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119da57600080fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611a9f57600080fd5b505af1158015611ab3573d6000803e3d6000fd5b505050506040513d6020811015611ac957600080fd5b8101908080519060200190929190505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b3b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611b7757600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c765750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515611c8157600080fd5b600960149054906101000a900460ff16151515611c9d57600080fd5b600082118015611cad5750600081115b15611cc1578181111515611cc057600080fd5b5b81600781905550806008819055507f70b2168874684694af024b9b82966aedd9e12634e3229136b7d89247b5a2b071600754600854604051808381526020018281526020019250505060405180910390a15050565b565b600160159054906101000a900460ff16151515611d3457600080fd5b600160149054906101000a900460ff161515611d4f57600080fd5b611d57610db7565b1515611d6257600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611dbd57600080fd5b600960169054906101000a900460ff161515611dd857600080fd5b611de06108e2565b1515611e06576001600960156101000a81548160ff021916908315150217905550611e1a565b611e0e6109c3565b1515611e1957600080fd5b5b6001600960146101000a81548160ff0219169083151502179055507f256531276449280f5a3022f3024cb03968cf6ab90d6d067e9bc10768bcbcb08060405160405180910390a1565b60025481565b60075481565b600960169054906101000a900460ff1681565b6000600960149054906101000a900460ff168015611ead5750600960159054906101000a900460ff16155b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f0d57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611f4957600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600960159054906101000a900460ff16905090565b60065481565b60008060008414156120395760009150612058565b828402905082848281151561204a57fe5b0414151561205457fe5b8091505b5092915050565b600080828401905083811015151561207357fe5b80915050929150505600a165627a7a72305820ca180fd6830c5c0af35034d0a54d15b5ede3f63dcbd0cf1a84893d30439b5f960029", - "deployedBytecode": "0x6080604052600436106101b7576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063058bf214146101b957806307da68f5146101e8578063101b8a41146101ff578063181956ae1461022e57806318c9ef97146102655780631f2698ab146102b257806321df0da7146102e157806322f3e2d4146103385780633e50de3014610367578063441a3e7014610399578063481c6a75146103d05780635d202249146104275780636385cbbe1461045257806366829b161461047d57806375f12b21146104c05780638da5cb5b146104ef5780639106d7ba1461054657806393f33b88146105715780639d9a7fe9146105b2578063a51fe113146105e1578063a85adeab14610638578063a96f866814610663578063b23c1f191461067a578063ba0e930a146106c7578063ba414fa61461070a578063c8e9d8ac14610739578063d0e30db014610770578063d56b28891461077a578063e29eb83614610791578063e6fd48bc146107bc578063e8387f40146107e7578063ec4cd0cf14610816578063f2fde38b14610845578063f416334014610888578063fb86a404146108b7575b005b3480156101c557600080fd5b506101ce6108e2565b604051808215151515815260200191505060405180910390f35b3480156101f457600080fd5b506101fd6108f1565b005b34801561020b57600080fd5b506102146109c3565b604051808215151515815260200191505060405180910390f35b34801561023a57600080fd5b506102636004803603810190808035906020019092919080359060200190929190505050610b91565b005b34801561027157600080fd5b506102b0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ce3565b005b3480156102be57600080fd5b506102c7610d7a565b604051808215151515815260200191505060405180910390f35b3480156102ed57600080fd5b506102f6610d8d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561034457600080fd5b5061034d610db7565b604051808215151515815260200191505060405180910390f35b34801561037357600080fd5b5061037c610de7565b604051808381526020018281526020019250505060405180910390f35b3480156103a557600080fd5b506103ce60048036038101908080359060200190929190803590602001909291905050506110c9565b005b3480156103dc57600080fd5b506103e56113f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561043357600080fd5b5061043c61141b565b6040518082815260200191505060405180910390f35b34801561045e57600080fd5b50610467611421565b6040518082815260200191505060405180910390f35b34801561048957600080fd5b506104be600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611427565b005b3480156104cc57600080fd5b506104d56116b6565b604051808215151515815260200191505060405180910390f35b3480156104fb57600080fd5b506105046116c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561055257600080fd5b5061055b6116ee565b6040518082815260200191505060405180910390f35b34801561057d57600080fd5b506105b06004803603810190808035906020019092919080359060200190929190803590602001909291905050506116f4565b005b3480156105be57600080fd5b506105c761180a565b604051808215151515815260200191505060405180910390f35b3480156105ed57600080fd5b506106366004803603810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061181d565b005b34801561064457600080fd5b5061064d611976565b6040518082815260200191505060405180910390f35b34801561066f57600080fd5b5061067861197c565b005b34801561068657600080fd5b506106c5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061197e565b005b3480156106d357600080fd5b50610708600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611adf565b005b34801561071657600080fd5b5061071f611bbb565b604051808215151515815260200191505060405180910390f35b34801561074557600080fd5b5061076e6004803603810190808035906020019092919080359060200190929190505050611bce565b005b610778611d16565b005b34801561078657600080fd5b5061078f611d18565b005b34801561079d57600080fd5b506107a6611e63565b6040518082815260200191505060405180910390f35b3480156107c857600080fd5b506107d1611e69565b6040518082815260200191505060405180910390f35b3480156107f357600080fd5b506107fc611e6f565b604051808215151515815260200191505060405180910390f35b34801561082257600080fd5b5061082b611e82565b604051808215151515815260200191505060405180910390f35b34801561085157600080fd5b50610886600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eb2565b005b34801561089457600080fd5b5061089d612007565b604051808215151515815260200191505060405180910390f35b3480156108c357600080fd5b506108cc61201e565b6040518082815260200191505060405180910390f35b60006005546002541015905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561094d57600080fd5b600160159054906101000a900460ff1615151561096957600080fd5b600160149054906101000a900460ff16156109a757610986612007565b15151561099257600080fd5b61099a611e82565b1515156109a657600080fd5b5b60018060156101000a81548160ff021916908315150217905550565b60008060008060006109d3610de7565b80945081955050506000841115610a10573073ffffffffffffffffffffffffffffffffffffffff1631915083821015610a0f5760009450610b8a565b5b6000831115610b8557600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a795760009450610b8a565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610b3657600080fd5b505af1158015610b4a573d6000803e3d6000fd5b505050506040513d6020811015610b6057600080fd5b8101908080519060200190929190505050905082811015610b845760009450610b8a565b5b600194505b5050505090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c395750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515610c4457600080fd5b600960149054906101000a900460ff16151515610c6057600080fd5b600082118015610c705750600081115b15610c84578181111515610c8357600080fd5b5b6000821115610c9557816005819055505b806006819055507f8a107dbf550ef189cf0475e419d4fb817092ced37114d2b5efe4c816926b27ee600554600654604051808381526020018281526020019250505060405180910390a15050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d3f57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff168160405160006040518083038185875af1925050501515610d7657600080fd5b5050565b600160149054906101000a900460ff1681565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160149054906101000a900460ff168015610de25750600960149054906101000a900460ff16155b905090565b6000806000806000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a823cfaf6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b81019080805190602001909291905050509450600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166380fa81b16040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610f3b57600080fd5b505af1158015610f4f573d6000803e3d6000fd5b505050506040513d6020811015610f6557600080fd5b8101908080519060200190929190505050935060008414159150620f4240610f988660045461202490919063ffffffff16565b811515610fa157fe5b0490506000600354141515610fba576003546002819055505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633350ae366002546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b15801561104d57600080fd5b505af1158015611061573d6000803e3d6000fd5b505050506040513d602081101561107757600080fd5b810190808051906020019092919050505060028190555081156110ba57620f42406110ad8560025461202490919063ffffffff16565b8115156110b657fe5b0492505b82819650965050505050509091565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561112757600080fd5b600960149054906101000a900460ff1680156111505750600960159054906101000a900460ff16155b1561115a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff16319150600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561123157600080fd5b505af1158015611245573d6000803e3d6000fd5b505050506040513d602081101561125b57600080fd5b8101908080519060200190929190505050905083821015801561127e5750828110155b151561128957600080fd5b60008411156112da573373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f193505050501580156112d8573d6000803e3d6000fd5b505b60008311156113ef57600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156113a857600080fd5b505af11580156113bc573d6000803e3d6000fd5b505050506040513d60208110156113d257600080fd5b810190808051906020019092919050505015156113ee57600080fd5b5b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114d15750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b15156114dc57600080fd5b600960149054906101000a900460ff161515156114f857600080fd5b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156115bf57600080fd5b505af11580156115d3573d6000803e3d6000fd5b505050506040513d60208110156115e957600080fd5b8101908080519060200190929190505050905060088160ff1610158015611614575060128160ff1611155b151561161f57600080fd5b7fed6f18557b7914dbfc23d546be65de82017608e11b87429e06c0b88b55f0b6c3600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018260ff1660ff1681526020019250505060405180910390a15050565b600160159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600160149054906101000a900460ff16151561170f57600080fd5b600160159054906101000a900460ff1615151561172b57600080fd5b611733610db7565b151561173e57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561179957600080fd5b6117ae8360025461205f90919063ffffffff16565b6002819055506117c98260035461205f90919063ffffffff16565b6003819055506117e48160045461205f90919063ffffffff16565b6004819055506001600960166101000a81548160ff021916908315150217905550505050565b600960149054906101000a900460ff1681565b600160149054906101000a900460ff1615151561183957600080fd5b600160159054906101000a900460ff1615151561185557600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156118b157600080fd5b6000831180156118c15750600082115b156118d55782821115156118d457600080fd5b5b826007819055508160088190555060018060146101000a81548160ff0219169083151502179055507ffccf552413932efea18979436cc8ce92942bdef118c2b5682351e1891bef807283836000604051808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a1505050565b60085481565b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119da57600080fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611a9f57600080fd5b505af1158015611ab3573d6000803e3d6000fd5b505050506040513d6020811015611ac957600080fd5b8101908080519060200190929190505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b3b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611b7757600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c765750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515611c8157600080fd5b600960149054906101000a900460ff16151515611c9d57600080fd5b600082118015611cad5750600081115b15611cc1578181111515611cc057600080fd5b5b81600781905550806008819055507f70b2168874684694af024b9b82966aedd9e12634e3229136b7d89247b5a2b071600754600854604051808381526020018281526020019250505060405180910390a15050565b565b600160159054906101000a900460ff16151515611d3457600080fd5b600160149054906101000a900460ff161515611d4f57600080fd5b611d57610db7565b1515611d6257600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611dbd57600080fd5b600960169054906101000a900460ff161515611dd857600080fd5b611de06108e2565b1515611e06576001600960156101000a81548160ff021916908315150217905550611e1a565b611e0e6109c3565b1515611e1957600080fd5b5b6001600960146101000a81548160ff0219169083151502179055507f256531276449280f5a3022f3024cb03968cf6ab90d6d067e9bc10768bcbcb08060405160405180910390a1565b60025481565b60075481565b600960169054906101000a900460ff1681565b6000600960149054906101000a900460ff168015611ead5750600960159054906101000a900460ff16155b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f0d57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611f4957600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600960159054906101000a900460ff16905090565b60065481565b60008060008414156120395760009150612058565b828402905082848281151561204a57fe5b0414151561205457fe5b8091505b5092915050565b600080828401905083811015151561207357fe5b80915050929150505600a165627a7a72305820ca180fd6830c5c0af35034d0a54d15b5ede3f63dcbd0cf1a84893d30439b5f960029", - "sourceMap": "92:7450:0:-;;;145:116;8:9:-1;5:2;;;30:1;27;20:12;5:2;145:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;509:10:9;501:5;;:18;;;;;;;;;;;;;;;;;;220:6:0;212:5;;:14;;;;;;;;;;;;;;;;;;246:8;236:7;;:18;;;;;;;;;;;;;;;;;;145:116;;92:7450;;;;;;", - "deployedSourceMap": "92:7450:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5709:106;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5709:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1314:259;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1314:259:0;;;;;;6664:804;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6664:804:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3712:391;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3712:391:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;962:321;;8:9:-1;5:2;;;30:1;27;20:12;5:2;962:321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1387:19:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1387:19:3;;;;;;;;;;;;;;;;;;;;;;;;;;;5333:88:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5333:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5510:92;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5510:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5877:721;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5877:721:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4711:538;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4711:538:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1358:22:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1358:22:3;;;;;;;;;;;;;;;;;;;;;;;;;;;1553:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1553:32:3;;;;;;;;;;;;;;;;;;;;;;;1739:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1739:26:3;;;;;;;;;;;;;;;;;;;;;;;3355:318:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3355:318:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1412:19:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1412:19:3;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:9;;;;;;;;;;;;;;;;;;;;;;;;;;;1685:24:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1685:24:3;;;;;;;;;;;;;;;;;;;;;;;1679:400:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1679:400:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1994:21:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1994:21:3;;;;;;;;;;;;;;;;;;;;;;;;;;;2168:512:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2168:512:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1863:27:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1863:27:3;;;;;;;;;;;;;;;;;;;;;;;3137:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3137:34:3;;;;;;389:318:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;389:318:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:149:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2154:149:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;2021:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2021:18:3;;;;;;;;;;;;;;;;;;;;;;;;;;;4144:396:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4144:396:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3176:36:3;;;;;;2710:538:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2710:538:0;;;;;;1488:29:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1488:29:3;;;;;;;;;;;;;;;;;;;;;;;1828;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1828:29:3;;;;;;;;;;;;;;;;;;;;;;;2123:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2123:24:3;;;;;;;;;;;;;;;;;;;;;;;;;;;5608:95:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5608:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;834:169:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;834:169:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;5427:77:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5427:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1771:22:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1771:22:3;;;;;;;;;;;;;;;;;;;;;;;5709:106:0;5756:4;5797:11;;5779:14;;:29;;5772:36;;5709:106;:::o;1314:259::-;1133:7:3;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;897:7;;;;;;;;;;;896:8;888:17;;;;;;;;1451:7:0;;;;;;;;;;;1447:96;;;1483:10;:8;:10::i;:::-;1482:11;1474:20;;;;;;;;1517:14;:12;:14::i;:::-;1516:15;1508:24;;;;;;;;1447:96;1562:4;1552:7;;:14;;;;;;;;;;;;;;;;;;1314:259::o;6664:804::-;6712:4;6728:17;6755:19;6939:18;7285:20;6812:18;:16;:18::i;:::-;6785:45;;;;;;;;6922:1;6910:9;:13;6906:173;;;6968:4;6960:21;;;6939:42;;7013:9;7000:10;:22;6996:73;;;7049:5;7042:12;;;;6996:73;6906:173;7175:1;7161:11;:15;7157:283;;;7222:1;7196:28;;7204:5;;;;;;;;;;;7196:28;;;7192:79;;;7251:5;7244:12;;;;7192:79;7308:5;;;;;;;;;;;:15;;;7332:4;7308:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7308:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7308:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7308:30:0;;;;;;;;;;;;;;;;7285:53;;7372:11;7357:12;:26;7353:77;;;7410:5;7403:12;;;;7353:77;7157:283;7457:4;7450:11;;6664:804;;;;;;:::o;3712:391::-;1227:5:3;;;;;;;;;;;1213:19;;:10;:19;;;:44;;;;1250:7;;;;;;;;;;;1236:21;;:10;:21;;;1213:44;1205:53;;;;;;;;1324:9;;;;;;;;;;;1323:10;1315:19;;;;;;;;3849:1:0;3834:12;:16;:32;;;;;3865:1;3854:8;:12;3834:32;3830:95;;;3901:12;3890:8;:23;3882:32;;;;;;;;3830:95;3954:1;3939:12;:16;3935:73;;;3985:12;3971:11;:26;;;;3935:73;4028:8;4018:7;:18;;;;4047:49;4075:11;;4088:7;;4047:49;;;;;;;;;;;;;;;;;;;;;;;;3712:391;;:::o;962:321::-;1133:7:3;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;1244:9:0;:14;;1265:7;1244:31;;;;;;;;;;;;;;;;;1236:40;;;;;;;;962:321;;:::o;1387:19:3:-;;;;;;;;;;;;;:::o;5333:88:0:-;5374:7;5408:5;;;;;;;;;;;5393:21;;5333:88;:::o;5510:92::-;5551:4;5574:7;;;;;;;;;;;:21;;;;;5586:9;;;;;;;;;;;5585:10;5574:21;5567:28;;5510:92;:::o;5877:721::-;5926:7;5935;5954:23;6033:21;6108:17;6135;6186:19;5997:7;;;;;;;;;;;5980:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5980:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5980:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5980:43:0;;;;;;;;;;;;;;;;5954:69;;6074:7;;;;;;;;;;;6057:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6057:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6057:41:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;6057:41:0;;;;;;;;;;;;;;;;6033:65;;6173:1;6156:13;:18;;6135:40;;6241:7;6208:30;6222:15;6208:9;;:13;;:30;;;;:::i;:::-;:40;;;;;;;;6186:62;;6284:1;6263:17;;:22;;6259:87;;;6318:17;;6301:14;:34;;;;6259:87;6390:7;;;;;;;;;;;6373:52;;;6426:14;;6373:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6373:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6373:68:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;6373:68:0;;;;;;;;;;;;;;;;6356:14;:85;;;;6456:12;6452:98;;;6532:7;6496:33;6515:13;6496:14;;:18;;:33;;;;:::i;:::-;:43;;;;;;;;6484:55;;6452:98;6568:9;6579:11;6560:31;;;;5877:721;;;;;;;:::o;4711:538::-;4869:18;4921:20;654:5:9;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;4804:9:0;;;;;;;;;;;:20;;;;;4818:6;;;;;;;;;;;4817:7;4804:20;4800:59;;;4840:8;;;4800:59;4898:4;4890:21;;;4869:42;;4944:5;;;;;;;;;;;:15;;;4968:4;4944:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4944:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4944:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4944:30:0;;;;;;;;;;;;;;;;4921:53;;5007:10;4993;:24;;:56;;;;;5037:12;5021;:28;;4993:56;4985:65;;;;;;;;5078:1;5065:10;:14;5061:76;;;5095:10;:19;;:31;5115:10;5095:31;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5095:31:0;5061:76;5166:1;5151:12;:16;5147:96;;;5191:5;;;;;;;;;;;:14;;;5206:10;5218:12;5191:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5191:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5191:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5191:40:0;;;;;;;;;;;;;;;;5183:49;;;;;;;;5147:96;4711:538;;;;:::o;1358:22:3:-;;;;;;;;;;;;;:::o;1553:32::-;;;;:::o;1739:26::-;;;;:::o;3355:318:0:-;3490:19;1227:5:3;;;;;;;;;;;1213:19;;:10;:19;;;:44;;;;1250:7;;;;;;;;;;;1236:21;;:10;:21;;;1213:44;1205:53;;;;;;;;1324:9;;;;;;;;;;;1323:10;1315:19;;;;;;;;3469:9:0;3447:5;;:32;;;;;;;;;;;;;;;;;;3518:5;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3518:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3518:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3518:16:0;;;;;;;;;;;;;;;;3490:45;;3571:1;3554:13;:18;;;;:41;;;;;3593:2;3576:13;:19;;;;3554:41;3546:50;;;;;;;;3607:59;3644:5;;;;;;;;;;;3652:13;3607:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3355:318;;:::o;1412:19:3:-;;;;;;;;;;;;;:::o;238:20:9:-;;;;;;;;;;;;;:::o;1685:24:3:-;;;;:::o;1679:400:0:-;1048:7:3;;;;;;;;;;;1040:16;;;;;;;;897:7;;;;;;;;;;;896:8;888:17;;;;;;;;727:10;:8;:10::i;:::-;719:19;;;;;;;;654:5:9;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;1902:27:0;1921:7;1902:14;;:18;;:27;;;;:::i;:::-;1885:14;:44;;;;1959:33;1981:10;1959:17;;:21;;:33;;;;:::i;:::-;1939:17;:53;;;;2014:28;2028:13;2014:9;;:13;;:28;;;;:::i;:::-;2002:9;:40;;;;2068:4;2053:12;;:19;;;;;;;;;;;;;;;;;;1679:400;;;:::o;1994:21:3:-;;;;;;;;;;;;;:::o;2168:512:0:-;972:7:3;;;;;;;;;;;971:8;963:17;;;;;;;;897:7;;;;;;;;;;;896:8;888:17;;;;;;;;1133:7;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;2409:1:0;2391:15;:19;:40;;;;;2430:1;2414:13;:17;2391:40;2387:111;;;2471:15;2455:13;:31;2447:40;;;;;;;;2387:111;2525:15;2508:14;:32;;;;2565:13;2550:12;:28;;;;2599:4;2589:7;;:14;;;;;;;;;;;;;;;;;;2614:59;2630:15;2647:13;2670:1;2614:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2168:512;;;:::o;1863:27:3:-;;;;:::o;3137:34::-;:::o;389:318:0:-;1133:7:3;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;666:5:0;;;;;;;;;;;:14;;;681:9;692:7;666:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;666:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;666:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;666:34:0;;;;;;;;;;;;;;;;;389:318;;:::o;2154:149:3:-;1133:7;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;2262:1;2239:25;;:11;:25;;;;2231:34;;;;;;;;2285:11;2275:7;;:21;;;;;;;;;;;;;;;;;;2154:149;:::o;2021:18::-;;;;;;;;;;;;;:::o;4144:396:0:-;1227:5:3;;;;;;;;;;;1213:19;;:10;:19;;;:44;;;;1250:7;;;;;;;;;;;1236:21;;:10;:21;;;1213:44;1205:53;;;;;;;;1324:9;;;;;;;;;;;1323:10;1315:19;;;;;;;;4294:1:0;4276:15;:19;:40;;;;;4315:1;4299:13;:17;4276:40;4272:111;;;4356:15;4340:13;:31;4332:40;;;;;;;;4272:111;4410:15;4393:14;:32;;;;4450:13;4435:12;:28;;;;4474:59;4504:14;;4520:12;;4474:59;;;;;;;;;;;;;;;;;;;;;;;;4144:396;;:::o;3176:36:3:-;:::o;2710:538:0:-;897:7:3;;;;;;;;;;;896:8;888:17;;;;;;;;1048:7;;;;;;;;;;;1040:16;;;;;;;;727:10;:8;:10::i;:::-;719:19;;;;;;;;654:5:9;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;2945:12:0;;;;;;;;;;;2937:21;;;;;;;;2974:16;:14;:16::i;:::-;2973:17;2969:210;;;3015:4;3006:6;;:13;;;;;;;;;;;;;;;;;;2969:210;;;3150:17;:15;:17::i;:::-;3142:26;;;;;;;;2969:210;3201:4;3189:9;;:16;;;;;;;;;;;;;;;;;;3216:25;;;;;;;;;;2710:538::o;1488:29:3:-;;;;:::o;1828:::-;;;;:::o;2123:24::-;;;;;;;;;;;;;:::o;5608:95:0:-;5653:4;5676:9;;;;;;;;;;;:20;;;;;5690:6;;;;;;;;;;;5689:7;5676:20;5669:27;;5608:95;:::o;834:169:9:-;654:5;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;930:1;910:22;;:8;:22;;;;902:31;;;;;;;;967:8;939:37;;960:5;;;;;;;;;;;939:37;;;;;;;;;;;;990:8;982:5;;:16;;;;;;;;;;;;;;;;;;834:169;:::o;5427:77:0:-;5468:4;5491:6;;;;;;;;;;;5484:13;;5427:77;:::o;1771:22:3:-;;;;:::o;138:173:8:-;196:7;251:9;220:1;215;:6;211:35;;;238:1;231:8;;;;211:35;267:1;263;:5;251:17;;290:1;285;281;:5;;;;;;;;:10;274:18;;;;;;305:1;298:8;;138:173;;;;;;:::o;698:129::-;756:7;771:9;787:1;783;:5;771:17;;806:1;801;:6;;794:14;;;;;;821:1;814:8;;698:129;;;;;:::o", + "bytecode": "0x608060405234801561001057600080fd5b506040516040806120d18339810180604052810190808051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050611fc28061010f6000396000f300608060405260043610610196576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063058bf2141461019857806307da68f5146101c7578063101b8a41146101de578063181956ae1461020d57806318c9ef97146102445780631f2698ab1461029157806321df0da7146102c057806322f3e2d4146103175780633e50de3014610346578063441a3e7014610378578063481c6a75146103af5780635d202249146104065780636385cbbe1461043157806366829b161461045c57806375f12b211461049f5780638da5cb5b146104ce5780639106d7ba1461052557806393f33b8814610550578063a51fe11314610591578063a85adeab146105e8578063a96f866814610613578063b23c1f191461062a578063ba0e930a14610677578063c8e9d8ac146106ba578063d0e30db0146106f1578063d56b2889146106fb578063e29eb83614610712578063e6fd48bc1461073d578063ec4cd0cf14610768578063f2fde38b14610797578063f4163340146107da578063fb86a40414610809575b005b3480156101a457600080fd5b506101ad610834565b604051808215151515815260200191505060405180910390f35b3480156101d357600080fd5b506101dc610843565b005b3480156101ea57600080fd5b506101f3610915565b604051808215151515815260200191505060405180910390f35b34801561021957600080fd5b506102426004803603810190808035906020019092919080359060200190929190505050610ae3565b005b34801561025057600080fd5b5061028f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c35565b005b34801561029d57600080fd5b506102a6610ccc565b604051808215151515815260200191505060405180910390f35b3480156102cc57600080fd5b506102d5610cdf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561032357600080fd5b5061032c610d09565b604051808215151515815260200191505060405180910390f35b34801561035257600080fd5b5061035b610d39565b604051808381526020018281526020019250505060405180910390f35b34801561038457600080fd5b506103ad600480360381019080803590602001909291908035906020019092919050505061101b565b005b3480156103bb57600080fd5b506103c4611347565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561041257600080fd5b5061041b61136d565b6040518082815260200191505060405180910390f35b34801561043d57600080fd5b50610446611373565b6040518082815260200191505060405180910390f35b34801561046857600080fd5b5061049d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611379565b005b3480156104ab57600080fd5b506104b4611608565b604051808215151515815260200191505060405180910390f35b3480156104da57600080fd5b506104e361161b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053157600080fd5b5061053a611640565b6040518082815260200191505060405180910390f35b34801561055c57600080fd5b5061058f600480360381019080803590602001909291908035906020019092919080359060200190929190505050611646565b005b34801561059d57600080fd5b506105e66004803603810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061175c565b005b3480156105f457600080fd5b506105fd6118b5565b6040518082815260200191505060405180910390f35b34801561061f57600080fd5b506106286118bb565b005b34801561063657600080fd5b50610675600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118bd565b005b34801561068357600080fd5b506106b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a1e565b005b3480156106c657600080fd5b506106ef6004803603810190808035906020019092919080359060200190929190505050611afa565b005b6106f9611c42565b005b34801561070757600080fd5b50610710611c44565b005b34801561071e57600080fd5b50610727611d8f565b6040518082815260200191505060405180910390f35b34801561074957600080fd5b50610752611d95565b6040518082815260200191505060405180910390f35b34801561077457600080fd5b5061077d611d9b565b604051808215151515815260200191505060405180910390f35b3480156107a357600080fd5b506107d8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611dcb565b005b3480156107e657600080fd5b506107ef611f20565b604051808215151515815260200191505060405180910390f35b34801561081557600080fd5b5061081e611f37565b6040518082815260200191505060405180910390f35b60006005546002541015905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561089f57600080fd5b600160159054906101000a900460ff161515156108bb57600080fd5b600160149054906101000a900460ff16156108f9576108d8611f20565b1515156108e457600080fd5b6108ec611d9b565b1515156108f857600080fd5b5b60018060156101000a81548160ff021916908315150217905550565b6000806000806000610925610d39565b80945081955050506000841115610962573073ffffffffffffffffffffffffffffffffffffffff16319150838210156109615760009450610adc565b5b6000831115610ad757600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109cb5760009450610adc565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610a8857600080fd5b505af1158015610a9c573d6000803e3d6000fd5b505050506040513d6020811015610ab257600080fd5b8101908080519060200190929190505050905082811015610ad65760009450610adc565b5b600194505b5050505090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b8b5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515610b9657600080fd5b600960149054906101000a900460ff16151515610bb257600080fd5b600082118015610bc25750600081115b15610bd6578181111515610bd557600080fd5b5b6000821115610be757816005819055505b806006819055507f8a107dbf550ef189cf0475e419d4fb817092ced37114d2b5efe4c816926b27ee600554600654604051808381526020018281526020019250505060405180910390a15050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c9157600080fd5b8173ffffffffffffffffffffffffffffffffffffffff168160405160006040518083038185875af1925050501515610cc857600080fd5b5050565b600160149054906101000a900460ff1681565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160149054906101000a900460ff168015610d345750600960149054906101000a900460ff16155b905090565b6000806000806000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a823cfaf6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610dca57600080fd5b505af1158015610dde573d6000803e3d6000fd5b505050506040513d6020811015610df457600080fd5b81019080805190602001909291905050509450600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166380fa81b16040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610e8d57600080fd5b505af1158015610ea1573d6000803e3d6000fd5b505050506040513d6020811015610eb757600080fd5b8101908080519060200190929190505050935060008414159150620f4240610eea86600454611f3d90919063ffffffff16565b811515610ef357fe5b0490506000600354141515610f0c576003546002819055505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633350ae366002546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b158015610f9f57600080fd5b505af1158015610fb3573d6000803e3d6000fd5b505050506040513d6020811015610fc957600080fd5b8101908080519060200190929190505050600281905550811561100c57620f4240610fff85600254611f3d90919063ffffffff16565b81151561100857fe5b0492505b82819650965050505050509091565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561107957600080fd5b600960149054906101000a900460ff1680156110a25750600960159054906101000a900460ff16155b156110ac57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff16319150600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561118357600080fd5b505af1158015611197573d6000803e3d6000fd5b505050506040513d60208110156111ad57600080fd5b810190808051906020019092919050505090508382101580156111d05750828110155b15156111db57600080fd5b600084111561122c573373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505015801561122a573d6000803e3d6000fd5b505b600083111561134157600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156112fa57600080fd5b505af115801561130e573d6000803e3d6000fd5b505050506040513d602081101561132457600080fd5b8101908080519060200190929190505050151561134057600080fd5b5b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114235750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561142e57600080fd5b600960149054906101000a900460ff1615151561144a57600080fd5b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561151157600080fd5b505af1158015611525573d6000803e3d6000fd5b505050506040513d602081101561153b57600080fd5b8101908080519060200190929190505050905060088160ff1610158015611566575060128160ff1611155b151561157157600080fd5b7fed6f18557b7914dbfc23d546be65de82017608e11b87429e06c0b88b55f0b6c3600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018260ff1660ff1681526020019250505060405180910390a15050565b600160159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600160149054906101000a900460ff16151561166157600080fd5b600160159054906101000a900460ff1615151561167d57600080fd5b611685610d09565b151561169057600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116eb57600080fd5b61170083600254611f7890919063ffffffff16565b60028190555061171b82600354611f7890919063ffffffff16565b60038190555061173681600454611f7890919063ffffffff16565b6004819055506001600960166101000a81548160ff021916908315150217905550505050565b600160149054906101000a900460ff1615151561177857600080fd5b600160159054906101000a900460ff1615151561179457600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156117f057600080fd5b6000831180156118005750600082115b1561181457828211151561181357600080fd5b5b826007819055508160088190555060018060146101000a81548160ff0219169083151502179055507ffccf552413932efea18979436cc8ce92942bdef118c2b5682351e1891bef807283836000604051808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a1505050565b60085481565b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561191957600080fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156119de57600080fd5b505af11580156119f2573d6000803e3d6000fd5b505050506040513d6020811015611a0857600080fd5b8101908080519060200190929190505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611a7a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611ab657600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611ba25750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515611bad57600080fd5b600960149054906101000a900460ff16151515611bc957600080fd5b600082118015611bd95750600081115b15611bed578181111515611bec57600080fd5b5b81600781905550806008819055507f70b2168874684694af024b9b82966aedd9e12634e3229136b7d89247b5a2b071600754600854604051808381526020018281526020019250505060405180910390a15050565b565b600160159054906101000a900460ff16151515611c6057600080fd5b600160149054906101000a900460ff161515611c7b57600080fd5b611c83610d09565b1515611c8e57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ce957600080fd5b600960169054906101000a900460ff161515611d0457600080fd5b611d0c610834565b1515611d32576001600960156101000a81548160ff021916908315150217905550611d46565b611d3a610915565b1515611d4557600080fd5b5b6001600960146101000a81548160ff0219169083151502179055507f256531276449280f5a3022f3024cb03968cf6ab90d6d067e9bc10768bcbcb08060405160405180910390a1565b60025481565b60075481565b6000600960149054906101000a900460ff168015611dc65750600960159054906101000a900460ff16155b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e2657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611e6257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600960159054906101000a900460ff16905090565b60065481565b6000806000841415611f525760009150611f71565b8284029050828482811515611f6357fe5b04141515611f6d57fe5b8091505b5092915050565b6000808284019050838110151515611f8c57fe5b80915050929150505600a165627a7a723058205f83b666eef4fa0e9103fa230b9cd4f50544f235f7e669c9c7295420c628c3520029", + "deployedBytecode": "0x608060405260043610610196576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063058bf2141461019857806307da68f5146101c7578063101b8a41146101de578063181956ae1461020d57806318c9ef97146102445780631f2698ab1461029157806321df0da7146102c057806322f3e2d4146103175780633e50de3014610346578063441a3e7014610378578063481c6a75146103af5780635d202249146104065780636385cbbe1461043157806366829b161461045c57806375f12b211461049f5780638da5cb5b146104ce5780639106d7ba1461052557806393f33b8814610550578063a51fe11314610591578063a85adeab146105e8578063a96f866814610613578063b23c1f191461062a578063ba0e930a14610677578063c8e9d8ac146106ba578063d0e30db0146106f1578063d56b2889146106fb578063e29eb83614610712578063e6fd48bc1461073d578063ec4cd0cf14610768578063f2fde38b14610797578063f4163340146107da578063fb86a40414610809575b005b3480156101a457600080fd5b506101ad610834565b604051808215151515815260200191505060405180910390f35b3480156101d357600080fd5b506101dc610843565b005b3480156101ea57600080fd5b506101f3610915565b604051808215151515815260200191505060405180910390f35b34801561021957600080fd5b506102426004803603810190808035906020019092919080359060200190929190505050610ae3565b005b34801561025057600080fd5b5061028f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c35565b005b34801561029d57600080fd5b506102a6610ccc565b604051808215151515815260200191505060405180910390f35b3480156102cc57600080fd5b506102d5610cdf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561032357600080fd5b5061032c610d09565b604051808215151515815260200191505060405180910390f35b34801561035257600080fd5b5061035b610d39565b604051808381526020018281526020019250505060405180910390f35b34801561038457600080fd5b506103ad600480360381019080803590602001909291908035906020019092919050505061101b565b005b3480156103bb57600080fd5b506103c4611347565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561041257600080fd5b5061041b61136d565b6040518082815260200191505060405180910390f35b34801561043d57600080fd5b50610446611373565b6040518082815260200191505060405180910390f35b34801561046857600080fd5b5061049d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611379565b005b3480156104ab57600080fd5b506104b4611608565b604051808215151515815260200191505060405180910390f35b3480156104da57600080fd5b506104e361161b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053157600080fd5b5061053a611640565b6040518082815260200191505060405180910390f35b34801561055c57600080fd5b5061058f600480360381019080803590602001909291908035906020019092919080359060200190929190505050611646565b005b34801561059d57600080fd5b506105e66004803603810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061175c565b005b3480156105f457600080fd5b506105fd6118b5565b6040518082815260200191505060405180910390f35b34801561061f57600080fd5b506106286118bb565b005b34801561063657600080fd5b50610675600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118bd565b005b34801561068357600080fd5b506106b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a1e565b005b3480156106c657600080fd5b506106ef6004803603810190808035906020019092919080359060200190929190505050611afa565b005b6106f9611c42565b005b34801561070757600080fd5b50610710611c44565b005b34801561071e57600080fd5b50610727611d8f565b6040518082815260200191505060405180910390f35b34801561074957600080fd5b50610752611d95565b6040518082815260200191505060405180910390f35b34801561077457600080fd5b5061077d611d9b565b604051808215151515815260200191505060405180910390f35b3480156107a357600080fd5b506107d8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611dcb565b005b3480156107e657600080fd5b506107ef611f20565b604051808215151515815260200191505060405180910390f35b34801561081557600080fd5b5061081e611f37565b6040518082815260200191505060405180910390f35b60006005546002541015905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561089f57600080fd5b600160159054906101000a900460ff161515156108bb57600080fd5b600160149054906101000a900460ff16156108f9576108d8611f20565b1515156108e457600080fd5b6108ec611d9b565b1515156108f857600080fd5b5b60018060156101000a81548160ff021916908315150217905550565b6000806000806000610925610d39565b80945081955050506000841115610962573073ffffffffffffffffffffffffffffffffffffffff16319150838210156109615760009450610adc565b5b6000831115610ad757600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109cb5760009450610adc565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610a8857600080fd5b505af1158015610a9c573d6000803e3d6000fd5b505050506040513d6020811015610ab257600080fd5b8101908080519060200190929190505050905082811015610ad65760009450610adc565b5b600194505b5050505090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b8b5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515610b9657600080fd5b600960149054906101000a900460ff16151515610bb257600080fd5b600082118015610bc25750600081115b15610bd6578181111515610bd557600080fd5b5b6000821115610be757816005819055505b806006819055507f8a107dbf550ef189cf0475e419d4fb817092ced37114d2b5efe4c816926b27ee600554600654604051808381526020018281526020019250505060405180910390a15050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c9157600080fd5b8173ffffffffffffffffffffffffffffffffffffffff168160405160006040518083038185875af1925050501515610cc857600080fd5b5050565b600160149054906101000a900460ff1681565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160149054906101000a900460ff168015610d345750600960149054906101000a900460ff16155b905090565b6000806000806000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a823cfaf6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610dca57600080fd5b505af1158015610dde573d6000803e3d6000fd5b505050506040513d6020811015610df457600080fd5b81019080805190602001909291905050509450600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166380fa81b16040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610e8d57600080fd5b505af1158015610ea1573d6000803e3d6000fd5b505050506040513d6020811015610eb757600080fd5b8101908080519060200190929190505050935060008414159150620f4240610eea86600454611f3d90919063ffffffff16565b811515610ef357fe5b0490506000600354141515610f0c576003546002819055505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633350ae366002546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b158015610f9f57600080fd5b505af1158015610fb3573d6000803e3d6000fd5b505050506040513d6020811015610fc957600080fd5b8101908080519060200190929190505050600281905550811561100c57620f4240610fff85600254611f3d90919063ffffffff16565b81151561100857fe5b0492505b82819650965050505050509091565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561107957600080fd5b600960149054906101000a900460ff1680156110a25750600960159054906101000a900460ff16155b156110ac57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff16319150600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561118357600080fd5b505af1158015611197573d6000803e3d6000fd5b505050506040513d60208110156111ad57600080fd5b810190808051906020019092919050505090508382101580156111d05750828110155b15156111db57600080fd5b600084111561122c573373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505015801561122a573d6000803e3d6000fd5b505b600083111561134157600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156112fa57600080fd5b505af115801561130e573d6000803e3d6000fd5b505050506040513d602081101561132457600080fd5b8101908080519060200190929190505050151561134057600080fd5b5b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114235750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561142e57600080fd5b600960149054906101000a900460ff1615151561144a57600080fd5b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561151157600080fd5b505af1158015611525573d6000803e3d6000fd5b505050506040513d602081101561153b57600080fd5b8101908080519060200190929190505050905060088160ff1610158015611566575060128160ff1611155b151561157157600080fd5b7fed6f18557b7914dbfc23d546be65de82017608e11b87429e06c0b88b55f0b6c3600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018260ff1660ff1681526020019250505060405180910390a15050565b600160159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600160149054906101000a900460ff16151561166157600080fd5b600160159054906101000a900460ff1615151561167d57600080fd5b611685610d09565b151561169057600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116eb57600080fd5b61170083600254611f7890919063ffffffff16565b60028190555061171b82600354611f7890919063ffffffff16565b60038190555061173681600454611f7890919063ffffffff16565b6004819055506001600960166101000a81548160ff021916908315150217905550505050565b600160149054906101000a900460ff1615151561177857600080fd5b600160159054906101000a900460ff1615151561179457600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156117f057600080fd5b6000831180156118005750600082115b1561181457828211151561181357600080fd5b5b826007819055508160088190555060018060146101000a81548160ff0219169083151502179055507ffccf552413932efea18979436cc8ce92942bdef118c2b5682351e1891bef807283836000604051808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a1505050565b60085481565b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561191957600080fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156119de57600080fd5b505af11580156119f2573d6000803e3d6000fd5b505050506040513d6020811015611a0857600080fd5b8101908080519060200190929190505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611a7a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611ab657600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611ba25750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515611bad57600080fd5b600960149054906101000a900460ff16151515611bc957600080fd5b600082118015611bd95750600081115b15611bed578181111515611bec57600080fd5b5b81600781905550806008819055507f70b2168874684694af024b9b82966aedd9e12634e3229136b7d89247b5a2b071600754600854604051808381526020018281526020019250505060405180910390a15050565b565b600160159054906101000a900460ff16151515611c6057600080fd5b600160149054906101000a900460ff161515611c7b57600080fd5b611c83610d09565b1515611c8e57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ce957600080fd5b600960169054906101000a900460ff161515611d0457600080fd5b611d0c610834565b1515611d32576001600960156101000a81548160ff021916908315150217905550611d46565b611d3a610915565b1515611d4557600080fd5b5b6001600960146101000a81548160ff0219169083151502179055507f256531276449280f5a3022f3024cb03968cf6ab90d6d067e9bc10768bcbcb08060405160405180910390a1565b60025481565b60075481565b6000600960149054906101000a900460ff168015611dc65750600960159054906101000a900460ff16155b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e2657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611e6257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600960159054906101000a900460ff16905090565b60065481565b6000806000841415611f525760009150611f71565b8284029050828482811515611f6357fe5b04141515611f6d57fe5b8091505b5092915050565b6000808284019050838110151515611f8c57fe5b80915050929150505600a165627a7a723058205f83b666eef4fa0e9103fa230b9cd4f50544f235f7e669c9c7295420c628c3520029", + "sourceMap": "92:7450:0:-;;;145:116;8:9:-1;5:2;;;30:1;27;20:12;5:2;145:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;509:10:4;501:5;;:18;;;;;;;;;;;;;;;;;;220:6:0;212:5;;:14;;;;;;;;;;;;;;;;;;246:8;236:7;;:18;;;;;;;;;;;;;;;;;;145:116;;92:7450;;;;;;", + "deployedSourceMap": "92:7450:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5709:106;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5709:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1314:259;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1314:259:0;;;;;;6664:804;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6664:804:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3712:391;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3712:391:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;962:321;;8:9:-1;5:2;;;30:1;27;20:12;5:2;962:321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1387:19:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1387:19:1;;;;;;;;;;;;;;;;;;;;;;;;;;;5333:88:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5333:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5510:92;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5510:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5877:721;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5877:721:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4711:538;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4711:538:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1358:22:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1358:22:1;;;;;;;;;;;;;;;;;;;;;;;;;;;1553:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1553:32:1;;;;;;;;;;;;;;;;;;;;;;;1739:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1739:26:1;;;;;;;;;;;;;;;;;;;;;;;3355:318:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3355:318:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1412:19:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1412:19:1;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:4;;;;;;;;;;;;;;;;;;;;;;;;;;;1685:24:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1685:24:1;;;;;;;;;;;;;;;;;;;;;;;1679:400:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1679:400:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2168:512;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2168:512:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1863:27:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1863:27:1;;;;;;;;;;;;;;;;;;;;;;;3116:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3116:34:1;;;;;;389:318:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;389:318:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2133:149:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2133:149:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;4144:396:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4144:396:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3155:36:1;;;;;;2710:538:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2710:538:0;;;;;;1488:29:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1488:29:1;;;;;;;;;;;;;;;;;;;;;;;1828;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1828:29:1;;;;;;;;;;;;;;;;;;;;;;;5608:95:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5608:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;834:169:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;834:169:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;5427:77:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5427:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1771:22:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1771:22:1;;;;;;;;;;;;;;;;;;;;;;;5709:106:0;5756:4;5797:11;;5779:14;;:29;;5772:36;;5709:106;:::o;1314:259::-;1133:7:1;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;897:7;;;;;;;;;;;896:8;888:17;;;;;;;;1451:7:0;;;;;;;;;;;1447:96;;;1483:10;:8;:10::i;:::-;1482:11;1474:20;;;;;;;;1517:14;:12;:14::i;:::-;1516:15;1508:24;;;;;;;;1447:96;1562:4;1552:7;;:14;;;;;;;;;;;;;;;;;;1314:259::o;6664:804::-;6712:4;6728:17;6755:19;6939:18;7285:20;6812:18;:16;:18::i;:::-;6785:45;;;;;;;;6922:1;6910:9;:13;6906:173;;;6968:4;6960:21;;;6939:42;;7013:9;7000:10;:22;6996:73;;;7049:5;7042:12;;;;6996:73;6906:173;7175:1;7161:11;:15;7157:283;;;7222:1;7196:28;;7204:5;;;;;;;;;;;7196:28;;;7192:79;;;7251:5;7244:12;;;;7192:79;7308:5;;;;;;;;;;;:15;;;7332:4;7308:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7308:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7308:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7308:30:0;;;;;;;;;;;;;;;;7285:53;;7372:11;7357:12;:26;7353:77;;;7410:5;7403:12;;;;7353:77;7157:283;7457:4;7450:11;;6664:804;;;;;;:::o;3712:391::-;1227:5:1;;;;;;;;;;;1213:19;;:10;:19;;;:44;;;;1250:7;;;;;;;;;;;1236:21;;:10;:21;;;1213:44;1205:53;;;;;;;;1324:9;;;;;;;;;;;1323:10;1315:19;;;;;;;;3849:1:0;3834:12;:16;:32;;;;;3865:1;3854:8;:12;3834:32;3830:95;;;3901:12;3890:8;:23;3882:32;;;;;;;;3830:95;3954:1;3939:12;:16;3935:73;;;3985:12;3971:11;:26;;;;3935:73;4028:8;4018:7;:18;;;;4047:49;4075:11;;4088:7;;4047:49;;;;;;;;;;;;;;;;;;;;;;;;3712:391;;:::o;962:321::-;1133:7:1;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;1244:9:0;:14;;1265:7;1244:31;;;;;;;;;;;;;;;;;1236:40;;;;;;;;962:321;;:::o;1387:19:1:-;;;;;;;;;;;;;:::o;5333:88:0:-;5374:7;5408:5;;;;;;;;;;;5393:21;;5333:88;:::o;5510:92::-;5551:4;5574:7;;;;;;;;;;;:21;;;;;5586:9;;;;;;;;;;;5585:10;5574:21;5567:28;;5510:92;:::o;5877:721::-;5926:7;5935;5954:23;6033:21;6108:17;6135;6186:19;5997:7;;;;;;;;;;;5980:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5980:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5980:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5980:43:0;;;;;;;;;;;;;;;;5954:69;;6074:7;;;;;;;;;;;6057:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6057:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6057:41:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;6057:41:0;;;;;;;;;;;;;;;;6033:65;;6173:1;6156:13;:18;;6135:40;;6241:7;6208:30;6222:15;6208:9;;:13;;:30;;;;:::i;:::-;:40;;;;;;;;6186:62;;6284:1;6263:17;;:22;;6259:87;;;6318:17;;6301:14;:34;;;;6259:87;6390:7;;;;;;;;;;;6373:52;;;6426:14;;6373:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6373:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6373:68:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;6373:68:0;;;;;;;;;;;;;;;;6356:14;:85;;;;6456:12;6452:98;;;6532:7;6496:33;6515:13;6496:14;;:18;;:33;;;;:::i;:::-;:43;;;;;;;;6484:55;;6452:98;6568:9;6579:11;6560:31;;;;5877:721;;;;;;;:::o;4711:538::-;4869:18;4921:20;654:5:4;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;4804:9:0;;;;;;;;;;;:20;;;;;4818:6;;;;;;;;;;;4817:7;4804:20;4800:59;;;4840:8;;;4800:59;4898:4;4890:21;;;4869:42;;4944:5;;;;;;;;;;;:15;;;4968:4;4944:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4944:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4944:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4944:30:0;;;;;;;;;;;;;;;;4921:53;;5007:10;4993;:24;;:56;;;;;5037:12;5021;:28;;4993:56;4985:65;;;;;;;;5078:1;5065:10;:14;5061:76;;;5095:10;:19;;:31;5115:10;5095:31;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5095:31:0;5061:76;5166:1;5151:12;:16;5147:96;;;5191:5;;;;;;;;;;;:14;;;5206:10;5218:12;5191:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5191:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5191:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5191:40:0;;;;;;;;;;;;;;;;5183:49;;;;;;;;5147:96;4711:538;;;;:::o;1358:22:1:-;;;;;;;;;;;;;:::o;1553:32::-;;;;:::o;1739:26::-;;;;:::o;3355:318:0:-;3490:19;1227:5:1;;;;;;;;;;;1213:19;;:10;:19;;;:44;;;;1250:7;;;;;;;;;;;1236:21;;:10;:21;;;1213:44;1205:53;;;;;;;;1324:9;;;;;;;;;;;1323:10;1315:19;;;;;;;;3469:9:0;3447:5;;:32;;;;;;;;;;;;;;;;;;3518:5;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3518:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3518:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3518:16:0;;;;;;;;;;;;;;;;3490:45;;3571:1;3554:13;:18;;;;:41;;;;;3593:2;3576:13;:19;;;;3554:41;3546:50;;;;;;;;3607:59;3644:5;;;;;;;;;;;3652:13;3607:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3355:318;;:::o;1412:19:1:-;;;;;;;;;;;;;:::o;238:20:4:-;;;;;;;;;;;;;:::o;1685:24:1:-;;;;:::o;1679:400:0:-;1048:7:1;;;;;;;;;;;1040:16;;;;;;;;897:7;;;;;;;;;;;896:8;888:17;;;;;;;;727:10;:8;:10::i;:::-;719:19;;;;;;;;654:5:4;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;1902:27:0;1921:7;1902:14;;:18;;:27;;;;:::i;:::-;1885:14;:44;;;;1959:33;1981:10;1959:17;;:21;;:33;;;;:::i;:::-;1939:17;:53;;;;2014:28;2028:13;2014:9;;:13;;:28;;;;:::i;:::-;2002:9;:40;;;;2068:4;2053:12;;:19;;;;;;;;;;;;;;;;;;1679:400;;;:::o;2168:512::-;972:7:1;;;;;;;;;;;971:8;963:17;;;;;;;;897:7;;;;;;;;;;;896:8;888:17;;;;;;;;1133:7;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;2409:1:0;2391:15;:19;:40;;;;;2430:1;2414:13;:17;2391:40;2387:111;;;2471:15;2455:13;:31;2447:40;;;;;;;;2387:111;2525:15;2508:14;:32;;;;2565:13;2550:12;:28;;;;2599:4;2589:7;;:14;;;;;;;;;;;;;;;;;;2614:59;2630:15;2647:13;2670:1;2614:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2168:512;;;:::o;1863:27:1:-;;;;:::o;3116:34::-;:::o;389:318:0:-;1133:7:1;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;666:5:0;;;;;;;;;;;:14;;;681:9;692:7;666:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;666:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;666:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;666:34:0;;;;;;;;;;;;;;;;;389:318;;:::o;2133:149:1:-;1133:7;;;;;;;;;;;1119:21;;:10;:21;;;1111:30;;;;;;;;2241:1;2218:25;;:11;:25;;;;2210:34;;;;;;;;2264:11;2254:7;;:21;;;;;;;;;;;;;;;;;;2133:149;:::o;4144:396:0:-;1227:5:1;;;;;;;;;;;1213:19;;:10;:19;;;:44;;;;1250:7;;;;;;;;;;;1236:21;;:10;:21;;;1213:44;1205:53;;;;;;;;1324:9;;;;;;;;;;;1323:10;1315:19;;;;;;;;4294:1:0;4276:15;:19;:40;;;;;4315:1;4299:13;:17;4276:40;4272:111;;;4356:15;4340:13;:31;4332:40;;;;;;;;4272:111;4410:15;4393:14;:32;;;;4450:13;4435:12;:28;;;;4474:59;4504:14;;4520:12;;4474:59;;;;;;;;;;;;;;;;;;;;;;;;4144:396;;:::o;3155:36:1:-;:::o;2710:538:0:-;897:7:1;;;;;;;;;;;896:8;888:17;;;;;;;;1048:7;;;;;;;;;;;1040:16;;;;;;;;727:10;:8;:10::i;:::-;719:19;;;;;;;;654:5:4;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;2945:12:0;;;;;;;;;;;2937:21;;;;;;;;2974:16;:14;:16::i;:::-;2973:17;2969:210;;;3015:4;3006:6;;:13;;;;;;;;;;;;;;;;;;2969:210;;;3150:17;:15;:17::i;:::-;3142:26;;;;;;;;2969:210;3201:4;3189:9;;:16;;;;;;;;;;;;;;;;;;3216:25;;;;;;;;;;2710:538::o;1488:29:1:-;;;;:::o;1828:::-;;;;:::o;5608:95:0:-;5653:4;5676:9;;;;;;;;;;;:20;;;;;5690:6;;;;;;;;;;;5689:7;5676:20;5669:27;;5608:95;:::o;834:169:4:-;654:5;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;930:1;910:22;;:8;:22;;;;902:31;;;;;;;;967:8;939:37;;960:5;;;;;;;;;;;939:37;;;;;;;;;;;;990:8;982:5;;:16;;;;;;;;;;;;;;;;;;834:169;:::o;5427:77:0:-;5468:4;5491:6;;;;;;;;;;;5484:13;;5427:77;:::o;1771:22:1:-;;;;:::o;138:173:3:-;196:7;251:9;220:1;215;:6;211:35;;;238:1;231:8;;;;211:35;267:1;263;:5;251:17;;290:1;285;281;:5;;;;;;;;:10;274:18;;;;;;305:1;298:8;;138:173;;;;;;:::o;698:129::-;756:7;771:9;787:1;783;:5;771:17;;806:1;801;:6;;794:14;;;;;;821:1;814:8;;698:129;;;;;:::o", "source": "pragma solidity ^0.4.18;\n\n\nimport './interfaces/IBridge.sol';\n\n\n/*\n Standalone Bridge\n*/\ncontract Bridge is IBridge {\n\n // Constructor\n function Bridge(address _owner, address _manager) public {\n owner = _owner;\n manager = _manager;\n }\n\n /*\n Only manager\n */\n\n // Mints token Rewards to Forecasting contract\n // called by IWingsController\n function mintTokenRewards(\n address _contract,\n uint256 _amount // agreed part of totalSold which is intended for rewards\n )\n public\n onlyManager()\n {\n // in our example we are transferring tokens instead of minting them\n token.transfer(_contract, _amount);\n }\n\n // called by CrowdsaleController to transfer reward part of ETH\n // collected by successful crowdsale to Forecasting contract.\n // This call is made upon closing successful crowdfunding process\n // if agreed ETH reward part is not zero\n function mintETHRewards(\n address _contract, // Forecasting contract\n uint256 _amount // agreed part of totalCollected which is intended for rewards\n )\n public\n onlyManager() // manager is CrowdsaleController instance\n {\n require(_contract.call.value(_amount)());\n }\n\n // cancels crowdsale\n function stop() public onlyManager() hasntStopped() {\n // we can stop only not started and not completed crowdsale\n if (started) {\n require(!isFailed());\n require(!isSuccessful());\n }\n stopped = true;\n }\n\n /*\n Public\n */\n\n // Update information about collected ETH and sold tokens amount\n function notifySale(uint256 _amount, uint256 _ethAmount, uint256 _tokensAmount)\n public\n hasBeenStarted()\n hasntStopped()\n whenCrowdsaleAlive()\n onlyOwner()\n {\n totalCollected = totalCollected.add(_amount);\n totalCollectedETH = totalCollectedETH.add(_ethAmount);\n totalSold = totalSold.add(_tokensAmount);\n\n notifiedSale = true;\n }\n\n // Validates parameters and starts crowdsale\n // called by IWingsController\n function start(\n uint256 _startTimestamp,\n uint256 _endTimestamp,\n address /*_fundingAddress*/\n )\n public\n hasntStarted()\n hasntStopped()\n onlyManager()\n {\n if (_startTimestamp > 0 && _endTimestamp > 0) {\n require(_endTimestamp > _startTimestamp);\n }\n\n startTimestamp = _startTimestamp;\n endTimestamp = _endTimestamp;\n\n started = true;\n\n CROWDSALE_START(_startTimestamp, _endTimestamp, address(0));\n }\n\n // Finish crowdsale\n function finish()\n public\n hasntStopped()\n hasBeenStarted()\n whenCrowdsaleAlive()\n onlyOwner()\n {\n // allow to finish bridge only if owner has communicated crowdsale results\n require(notifiedSale);\n\n if (!reachedMinGoal()) {\n failed = true;\n } else {\n // if crowdsale is not failed there should be rewards in order to finish bridge\n require(rewardsAreReady());\n }\n\n completed = true;\n\n CUSTOM_CROWDSALE_FINISH();\n }\n\n // Change token address (in case you've used the dafault token address during bridge deployment)\n function changeToken(address _newToken) public onlyOwnerOrManager() uncompleted() {\n token = DetailedERC20(_newToken);\n\n uint8 tokenDecimals = uint8(token.decimals());\n\n require(tokenDecimals >= 8 && tokenDecimals <= 18);\n\n CUSTOM_CROWDSALE_TOKEN_ADDED(address(token), tokenDecimals);\n }\n\n // Set/update crowdsale goal\n function setCrowdsaleGoal(uint256 _minimalGoal, uint256 _hardCap) public onlyOwnerOrManager() uncompleted() {\n if (_minimalGoal > 0 && _hardCap > 0) {\n require(_hardCap > _minimalGoal);\n }\n\n if (_minimalGoal > 0) {\n minimalGoal = _minimalGoal;\n }\n\n hardCap = _hardCap;\n\n CUSTOM_CROWDSALE_GOAL_ADDED(minimalGoal, hardCap);\n }\n\n // Set/update crowdsale period\n function setCrowdsalePeriod(uint256 _startTimestamp, uint256 _endTimestamp) public onlyOwnerOrManager() uncompleted() {\n if (_startTimestamp > 0 && _endTimestamp > 0) {\n require(_endTimestamp > _startTimestamp);\n }\n\n startTimestamp = _startTimestamp;\n endTimestamp = _endTimestamp;\n\n CUSTOM_CROWDSALE_PERIOD_ADDED(startTimestamp, endTimestamp);\n }\n\n // Gives owner ability to withdraw eth and wings from Bridge contract balance in case\n // if some error during reward calculation occured or crowdsale failed\n function withdraw(uint256 _ethAmount, uint256 _tokenAmount) public onlyOwner() {\n if (completed && !failed) {\n revert();\n }\n\n uint256 ethBalance = address(this).balance;\n uint256 tokenBalance = token.balanceOf(address(this));\n\n require(ethBalance >= _ethAmount && tokenBalance >= _tokenAmount);\n\n if (_ethAmount > 0) {\n msg.sender.transfer(_ethAmount);\n }\n\n if (_tokenAmount > 0) {\n require(token.transfer(msg.sender, _tokenAmount));\n }\n }\n\n /*\n Public view\n */\n\n // Returns address of crowdsale token\n function getToken() public view returns (address) {\n return address(token);\n }\n\n function isFailed() public view returns (bool) {\n return failed;\n }\n\n function isActive() public view returns (bool) {\n return started && !completed;\n }\n\n function isSuccessful() public view returns (bool) {\n return completed && !failed;\n }\n\n function reachedMinGoal() public view returns (bool) {\n return totalCollected >= minimalGoal;\n }\n\n // Find out the amount of rewards in ETH and tokens\n function calculateRewards() public view returns (uint256, uint256) {\n uint256 tokenRewardPart = IWingsController(manager).tokenRewardPart();\n uint256 ethRewardPart = IWingsController(manager).ethRewardPart();\n uint256 ethReward;\n bool hasEthReward = (ethRewardPart != 0);\n\n uint256 tokenReward = totalSold.mul(tokenRewardPart) / 1000000;\n\n if (totalCollectedETH != 0) {\n totalCollected = totalCollectedETH;\n }\n\n totalCollected = IWingsController(manager).fitCollectedValueIntoRange(totalCollected);\n\n if (hasEthReward) {\n ethReward = totalCollected.mul(ethRewardPart) / 1000000;\n }\n\n return (ethReward, tokenReward);\n }\n\n // Find out whether rewards are ready to be distributed\n function rewardsAreReady() public view returns (bool) {\n uint256 ethReward;\n uint256 tokenReward;\n\n (ethReward, tokenReward) = calculateRewards();\n\n // check if there are enough eth rewards on this address\n if (ethReward > 0) {\n uint256 ethBalance = address(this).balance;\n\n if (ethBalance < ethReward) {\n return false;\n }\n }\n\n // check if there are enough tokens rewards on this address\n if (tokenReward > 0) {\n if (address(token) == address(0)) {\n return false;\n }\n\n uint256 tokenBalance = token.balanceOf(address(this));\n\n if (tokenBalance < tokenReward) {\n return false;\n }\n }\n\n return true;\n }\n\n /*\n Fallback\n */\n\n function() public payable {\n }\n}\n", "sourcePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/Bridge.sol", "ast": { @@ -661,7 +619,7 @@ "id": 2, "nodeType": "ImportDirective", "scope": 618, - "sourceUnit": 908, + "sourceUnit": 871, "src": "27:34:0", "symbolAliases": [], "unitAlias": "" @@ -675,10 +633,10 @@ "id": 3, "name": "IBridge", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 907, + "referencedDeclaration": 870, "src": "111:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IBridge_$907", + "typeIdentifier": "t_contract$_IBridge_$870", "typeString": "contract IBridge" } }, @@ -688,8 +646,8 @@ } ], "contractDependencies": [ - 907, - 1188 + 870, + 1047 ], "contractKind": "contract", "documentation": null, @@ -697,8 +655,8 @@ "id": 617, "linearizedBaseContracts": [ 617, - 907, - 1188 + 870, + 1047 ], "name": "Bridge", "nodeType": "ContractDefinition", @@ -723,7 +681,7 @@ "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, + "referencedDeclaration": 995, "src": "212:5:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -769,7 +727,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "236:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -937,10 +895,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "666:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -951,7 +909,7 @@ "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 1371, + "referencedDeclaration": 1144, "src": "666:14:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -993,7 +951,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "561:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -1198,10 +1156,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "1236:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1243,7 +1201,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "1165:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -1341,7 +1299,7 @@ "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, + "referencedDeclaration": 740, "src": "1451:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1421,10 +1379,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "1474:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1513,10 +1471,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "1508:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1558,7 +1516,7 @@ "name": "stopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 779, + "referencedDeclaration": 742, "src": "1552:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1612,7 +1570,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "1337:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -1631,7 +1589,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "1351:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -1660,7 +1618,7 @@ "scope": 617, "src": "1314:259:0", "stateMutability": "nonpayable", - "superFunction": 874, + "superFunction": 837, "visibility": "public" }, { @@ -1683,7 +1641,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "1885:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1722,7 +1680,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "1902:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1736,7 +1694,7 @@ "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1131, + "referencedDeclaration": 990, "src": "1902:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -1781,7 +1739,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "1939:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1820,7 +1778,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "1959:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1834,7 +1792,7 @@ "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1131, + "referencedDeclaration": 990, "src": "1959:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -1879,7 +1837,7 @@ "name": "totalSold", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 748, "src": "2002:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1918,7 +1876,7 @@ "name": "totalSold", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 748, "src": "2014:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1932,7 +1890,7 @@ "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1131, + "referencedDeclaration": 990, "src": "2014:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -1977,7 +1935,7 @@ "name": "notifiedSale", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 801, + "referencedDeclaration": 764, "src": "2053:12:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2031,7 +1989,7 @@ "name": "hasBeenStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, + "referencedDeclaration": 700, "src": "1782:14:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -2050,7 +2008,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "1807:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -2069,7 +2027,7 @@ "name": "whenCrowdsaleAlive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 702, + "referencedDeclaration": 665, "src": "1830:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -2088,7 +2046,7 @@ "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, + "referencedDeclaration": 1021, "src": "1859:9:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -2196,7 +2154,7 @@ "scope": 617, "src": "1679:400:0", "stateMutability": "nonpayable", - "superFunction": 854, + "superFunction": 817, "visibility": "public" }, { @@ -2395,10 +2353,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "2447:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -2440,7 +2398,7 @@ "name": "startTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 791, + "referencedDeclaration": 754, "src": "2508:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -2486,7 +2444,7 @@ "name": "endTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 793, + "referencedDeclaration": 756, "src": "2550:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -2532,7 +2490,7 @@ "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, + "referencedDeclaration": 740, "src": "2589:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2675,7 +2633,7 @@ "name": "CROWDSALE_START", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 673, + "referencedDeclaration": 636, "src": "2614:15:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_address_$returns$__$", @@ -2717,7 +2675,7 @@ "name": "hasntStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 729, + "referencedDeclaration": 692, "src": "2313:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -2736,7 +2694,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "2336:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -2755,7 +2713,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "2359:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -2863,7 +2821,7 @@ "scope": 617, "src": "2168:512:0", "stateMutability": "nonpayable", - "superFunction": 883, + "superFunction": 846, "visibility": "public" }, { @@ -2882,7 +2840,7 @@ "name": "notifiedSale", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 801, + "referencedDeclaration": 764, "src": "2945:12:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2901,10 +2859,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "2937:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -3027,10 +2985,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "3142:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -3079,7 +3037,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "3006:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3133,7 +3091,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "3189:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3180,7 +3138,7 @@ "name": "CUSTOM_CROWDSALE_FINISH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 656, "src": "3216:23:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", @@ -3222,7 +3180,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "2751:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -3241,7 +3199,7 @@ "name": "hasBeenStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, + "referencedDeclaration": 700, "src": "2774:14:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -3260,7 +3218,7 @@ "name": "whenCrowdsaleAlive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 702, + "referencedDeclaration": 665, "src": "2799:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -3279,7 +3237,7 @@ "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, + "referencedDeclaration": 1021, "src": "2828:9:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -3308,7 +3266,7 @@ "scope": 617, "src": "2710:538:0", "stateMutability": "nonpayable", - "superFunction": 864, + "superFunction": 827, "visibility": "public" }, { @@ -3331,10 +3289,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "3447:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -3368,10 +3326,10 @@ "name": "DetailedERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1308, + "referencedDeclaration": 1081, "src": "3455:13:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_DetailedERC20_$1308_$", + "typeIdentifier": "t_type$_t_contract$_DetailedERC20_$1081_$", "typeString": "type(contract DetailedERC20)" } }, @@ -3385,13 +3343,13 @@ "nodeType": "FunctionCall", "src": "3455:24:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, "src": "3447:32:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -3446,10 +3404,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "3518:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -3460,7 +3418,7 @@ "lValueRequested": false, "memberName": "decimals", "nodeType": "MemberAccess", - "referencedDeclaration": 1285, + "referencedDeclaration": 1058, "src": "3518:14:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint8_$", @@ -3654,10 +3612,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "3546:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -3695,10 +3653,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "3644:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } } @@ -3706,7 +3664,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } ], @@ -3766,7 +3724,7 @@ "name": "CUSTOM_CROWDSALE_TOKEN_ADDED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 679, + "referencedDeclaration": 642, "src": "3607:28:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint8_$returns$__$", @@ -3808,7 +3766,7 @@ "name": "onlyOwnerOrManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 764, + "referencedDeclaration": 727, "src": "3402:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -3827,7 +3785,7 @@ "name": "uncompleted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 773, + "referencedDeclaration": 736, "src": "3423:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -3883,7 +3841,7 @@ "scope": 617, "src": "3355:318:0", "stateMutability": "nonpayable", - "superFunction": 831, + "superFunction": 794, "visibility": "public" }, { @@ -4082,10 +4040,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "3882:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4187,7 +4145,7 @@ "name": "minimalGoal", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 787, + "referencedDeclaration": 750, "src": "3971:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4236,7 +4194,7 @@ "name": "hardCap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 789, + "referencedDeclaration": 752, "src": "4018:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4278,7 +4236,7 @@ "name": "minimalGoal", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 787, + "referencedDeclaration": 750, "src": "4075:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4291,7 +4249,7 @@ "name": "hardCap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 789, + "referencedDeclaration": 752, "src": "4088:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4314,7 +4272,7 @@ "name": "CUSTOM_CROWDSALE_GOAL_ADDED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 685, + "referencedDeclaration": 648, "src": "4047:27:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", @@ -4356,7 +4314,7 @@ "name": "onlyOwnerOrManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 764, + "referencedDeclaration": 727, "src": "3785:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -4375,7 +4333,7 @@ "name": "uncompleted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 773, + "referencedDeclaration": 736, "src": "3806:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -4457,7 +4415,7 @@ "scope": 617, "src": "3712:391:0", "stateMutability": "nonpayable", - "superFunction": 838, + "superFunction": 801, "visibility": "public" }, { @@ -4656,10 +4614,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "4332:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4701,7 +4659,7 @@ "name": "startTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 791, + "referencedDeclaration": 754, "src": "4393:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4747,7 +4705,7 @@ "name": "endTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 793, + "referencedDeclaration": 756, "src": "4435:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4789,7 +4747,7 @@ "name": "startTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 791, + "referencedDeclaration": 754, "src": "4504:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4802,7 +4760,7 @@ "name": "endTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 793, + "referencedDeclaration": 756, "src": "4520:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4825,7 +4783,7 @@ "name": "CUSTOM_CROWDSALE_PERIOD_ADDED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 691, + "referencedDeclaration": 654, "src": "4474:29:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", @@ -4867,7 +4825,7 @@ "name": "onlyOwnerOrManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 764, + "referencedDeclaration": 727, "src": "4227:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -4886,7 +4844,7 @@ "name": "uncompleted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 773, + "referencedDeclaration": 736, "src": "4248:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -4968,7 +4926,7 @@ "scope": 617, "src": "4144:396:0", "stateMutability": "nonpayable", - "superFunction": 845, + "superFunction": 808, "visibility": "public" }, { @@ -4995,7 +4953,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "4804:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5021,7 +4979,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "4818:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5058,10 +5016,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 1400, - 1401 + 1173, + 1174 ], - "referencedDeclaration": 1400, + "referencedDeclaration": 1173, "src": "4840:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -5133,7 +5091,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "4898:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -5237,7 +5195,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "4968:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -5293,10 +5251,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "4944:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -5307,7 +5265,7 @@ "lValueRequested": false, "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 1362, + "referencedDeclaration": 1135, "src": "4944:15:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", @@ -5456,10 +5414,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "4985:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -5577,7 +5535,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, + "referencedDeclaration": 1168, "src": "5095:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -5708,7 +5666,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, + "referencedDeclaration": 1168, "src": "5206:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -5760,10 +5718,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "5191:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -5774,7 +5732,7 @@ "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 1371, + "referencedDeclaration": 1144, "src": "5191:14:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -5807,10 +5765,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "5183:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -5855,7 +5813,7 @@ "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, + "referencedDeclaration": 1021, "src": "4778:9:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -5937,7 +5895,7 @@ "scope": 617, "src": "4711:538:0", "stateMutability": "nonpayable", - "superFunction": 871, + "superFunction": 834, "visibility": "public" }, { @@ -5956,10 +5914,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "5408:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } } @@ -5967,7 +5925,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } ], @@ -6056,7 +6014,7 @@ "scope": 617, "src": "5333:88:0", "stateMutability": "view", - "superFunction": 826, + "superFunction": 789, "visibility": "public" }, { @@ -6072,7 +6030,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "5491:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6137,7 +6095,7 @@ "scope": 617, "src": "5427:77:0", "stateMutability": "view", - "superFunction": 888, + "superFunction": 851, "visibility": "public" }, { @@ -6164,7 +6122,7 @@ "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, + "referencedDeclaration": 740, "src": "5574:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6190,7 +6148,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "5586:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6266,7 +6224,7 @@ "scope": 617, "src": "5510:92:0", "stateMutability": "view", - "superFunction": 893, + "superFunction": 856, "visibility": "public" }, { @@ -6293,7 +6251,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "5676:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6319,7 +6277,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "5690:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6395,7 +6353,7 @@ "scope": 617, "src": "5608:95:0", "stateMutability": "view", - "superFunction": 898, + "superFunction": 861, "visibility": "public" }, { @@ -6422,7 +6380,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "5779:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6437,7 +6395,7 @@ "name": "minimalGoal", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 787, + "referencedDeclaration": 750, "src": "5797:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6564,7 +6522,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "5997:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -6583,10 +6541,10 @@ "name": "IWingsController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, + "referencedDeclaration": 893, "src": "5980:16:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IWingsController_$941_$", + "typeIdentifier": "t_type$_t_contract$_IWingsController_$893_$", "typeString": "type(contract IWingsController)" } }, @@ -6600,7 +6558,7 @@ "nodeType": "FunctionCall", "src": "5980:25:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IWingsController_$941", + "typeIdentifier": "t_contract$_IWingsController_$893", "typeString": "contract IWingsController" } }, @@ -6611,7 +6569,7 @@ "lValueRequested": false, "memberName": "tokenRewardPart", "nodeType": "MemberAccess", - "referencedDeclaration": 924, + "referencedDeclaration": 876, "src": "5980:41:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", @@ -6682,7 +6640,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "6074:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -6701,10 +6659,10 @@ "name": "IWingsController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, + "referencedDeclaration": 893, "src": "6057:16:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IWingsController_$941_$", + "typeIdentifier": "t_type$_t_contract$_IWingsController_$893_$", "typeString": "type(contract IWingsController)" } }, @@ -6718,7 +6676,7 @@ "nodeType": "FunctionCall", "src": "6057:25:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IWingsController_$941", + "typeIdentifier": "t_contract$_IWingsController_$893", "typeString": "contract IWingsController" } }, @@ -6729,7 +6687,7 @@ "lValueRequested": false, "memberName": "ethRewardPart", "nodeType": "MemberAccess", - "referencedDeclaration": 922, + "referencedDeclaration": 874, "src": "6057:39:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", @@ -6965,7 +6923,7 @@ "name": "totalSold", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 748, "src": "6208:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6979,7 +6937,7 @@ "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 1069, + "referencedDeclaration": 928, "src": "6208:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -7047,7 +7005,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "6263:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7103,7 +7061,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6301:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7118,7 +7076,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "6318:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7152,7 +7110,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6356:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7170,7 +7128,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6426:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7194,7 +7152,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "6390:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7213,10 +7171,10 @@ "name": "IWingsController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, + "referencedDeclaration": 893, "src": "6373:16:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IWingsController_$941_$", + "typeIdentifier": "t_type$_t_contract$_IWingsController_$893_$", "typeString": "type(contract IWingsController)" } }, @@ -7230,7 +7188,7 @@ "nodeType": "FunctionCall", "src": "6373:25:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IWingsController_$941", + "typeIdentifier": "t_contract$_IWingsController_$893", "typeString": "contract IWingsController" } }, @@ -7241,7 +7199,7 @@ "lValueRequested": false, "memberName": "fitCollectedValueIntoRange", "nodeType": "MemberAccess", - "referencedDeclaration": 931, + "referencedDeclaration": 883, "src": "6373:52:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", @@ -7359,7 +7317,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6496:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7373,7 +7331,7 @@ "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 1069, + "referencedDeclaration": 928, "src": "6496:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -7561,7 +7519,7 @@ "scope": 617, "src": "5877:721:0", "stateMutability": "view", - "superFunction": 861, + "superFunction": 824, "visibility": "public" }, { @@ -7839,7 +7797,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "6968:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -8064,10 +8022,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "7204:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } } @@ -8075,7 +8033,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } ], @@ -8251,7 +8209,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "7332:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -8307,10 +8265,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "7308:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -8321,7 +8279,7 @@ "lValueRequested": false, "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 1362, + "referencedDeclaration": 1135, "src": "7308:15:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", @@ -8578,7 +8536,7 @@ "id": 2, "nodeType": "ImportDirective", "scope": 618, - "sourceUnit": 908, + "sourceUnit": 871, "src": "27:34:0", "symbolAliases": [], "unitAlias": "" @@ -8592,10 +8550,10 @@ "id": 3, "name": "IBridge", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 907, + "referencedDeclaration": 870, "src": "111:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IBridge_$907", + "typeIdentifier": "t_contract$_IBridge_$870", "typeString": "contract IBridge" } }, @@ -8605,8 +8563,8 @@ } ], "contractDependencies": [ - 907, - 1188 + 870, + 1047 ], "contractKind": "contract", "documentation": null, @@ -8614,8 +8572,8 @@ "id": 617, "linearizedBaseContracts": [ 617, - 907, - 1188 + 870, + 1047 ], "name": "Bridge", "nodeType": "ContractDefinition", @@ -8640,7 +8598,7 @@ "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, + "referencedDeclaration": 995, "src": "212:5:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8686,7 +8644,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "236:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8854,10 +8812,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "666:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -8868,7 +8826,7 @@ "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 1371, + "referencedDeclaration": 1144, "src": "666:14:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -8910,7 +8868,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "561:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -9115,10 +9073,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "1236:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -9160,7 +9118,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "1165:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -9258,7 +9216,7 @@ "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, + "referencedDeclaration": 740, "src": "1451:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9338,10 +9296,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "1474:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -9430,10 +9388,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "1508:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -9475,7 +9433,7 @@ "name": "stopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 779, + "referencedDeclaration": 742, "src": "1552:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9529,7 +9487,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "1337:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -9548,7 +9506,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "1351:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -9577,7 +9535,7 @@ "scope": 617, "src": "1314:259:0", "stateMutability": "nonpayable", - "superFunction": 874, + "superFunction": 837, "visibility": "public" }, { @@ -9600,7 +9558,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "1885:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9639,7 +9597,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "1902:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9653,7 +9611,7 @@ "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1131, + "referencedDeclaration": 990, "src": "1902:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -9698,7 +9656,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "1939:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9737,7 +9695,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "1959:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9751,7 +9709,7 @@ "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1131, + "referencedDeclaration": 990, "src": "1959:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -9796,7 +9754,7 @@ "name": "totalSold", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 748, "src": "2002:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9835,7 +9793,7 @@ "name": "totalSold", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 748, "src": "2014:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9849,7 +9807,7 @@ "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1131, + "referencedDeclaration": 990, "src": "2014:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -9894,7 +9852,7 @@ "name": "notifiedSale", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 801, + "referencedDeclaration": 764, "src": "2053:12:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9948,7 +9906,7 @@ "name": "hasBeenStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, + "referencedDeclaration": 700, "src": "1782:14:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -9967,7 +9925,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "1807:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -9986,7 +9944,7 @@ "name": "whenCrowdsaleAlive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 702, + "referencedDeclaration": 665, "src": "1830:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -10005,7 +9963,7 @@ "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, + "referencedDeclaration": 1021, "src": "1859:9:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -10113,7 +10071,7 @@ "scope": 617, "src": "1679:400:0", "stateMutability": "nonpayable", - "superFunction": 854, + "superFunction": 817, "visibility": "public" }, { @@ -10312,10 +10270,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "2447:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -10357,7 +10315,7 @@ "name": "startTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 791, + "referencedDeclaration": 754, "src": "2508:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10403,7 +10361,7 @@ "name": "endTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 793, + "referencedDeclaration": 756, "src": "2550:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10449,7 +10407,7 @@ "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, + "referencedDeclaration": 740, "src": "2589:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10592,7 +10550,7 @@ "name": "CROWDSALE_START", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 673, + "referencedDeclaration": 636, "src": "2614:15:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_address_$returns$__$", @@ -10634,7 +10592,7 @@ "name": "hasntStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 729, + "referencedDeclaration": 692, "src": "2313:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -10653,7 +10611,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "2336:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -10672,7 +10630,7 @@ "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, + "referencedDeclaration": 711, "src": "2359:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -10780,7 +10738,7 @@ "scope": 617, "src": "2168:512:0", "stateMutability": "nonpayable", - "superFunction": 883, + "superFunction": 846, "visibility": "public" }, { @@ -10799,7 +10757,7 @@ "name": "notifiedSale", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 801, + "referencedDeclaration": 764, "src": "2945:12:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10818,10 +10776,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "2937:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -10944,10 +10902,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "3142:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -10996,7 +10954,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "3006:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11050,7 +11008,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "3189:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11097,7 +11055,7 @@ "name": "CUSTOM_CROWDSALE_FINISH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 656, "src": "3216:23:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", @@ -11139,7 +11097,7 @@ "name": "hasntStopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, + "referencedDeclaration": 683, "src": "2751:12:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -11158,7 +11116,7 @@ "name": "hasBeenStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, + "referencedDeclaration": 700, "src": "2774:14:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -11177,7 +11135,7 @@ "name": "whenCrowdsaleAlive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 702, + "referencedDeclaration": 665, "src": "2799:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -11196,7 +11154,7 @@ "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, + "referencedDeclaration": 1021, "src": "2828:9:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -11225,7 +11183,7 @@ "scope": 617, "src": "2710:538:0", "stateMutability": "nonpayable", - "superFunction": 864, + "superFunction": 827, "visibility": "public" }, { @@ -11248,10 +11206,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "3447:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -11285,10 +11243,10 @@ "name": "DetailedERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1308, + "referencedDeclaration": 1081, "src": "3455:13:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_DetailedERC20_$1308_$", + "typeIdentifier": "t_type$_t_contract$_DetailedERC20_$1081_$", "typeString": "type(contract DetailedERC20)" } }, @@ -11302,13 +11260,13 @@ "nodeType": "FunctionCall", "src": "3455:24:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, "src": "3447:32:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -11363,10 +11321,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "3518:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -11377,7 +11335,7 @@ "lValueRequested": false, "memberName": "decimals", "nodeType": "MemberAccess", - "referencedDeclaration": 1285, + "referencedDeclaration": 1058, "src": "3518:14:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint8_$", @@ -11571,10 +11529,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "3546:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -11612,10 +11570,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "3644:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } } @@ -11623,7 +11581,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } ], @@ -11683,7 +11641,7 @@ "name": "CUSTOM_CROWDSALE_TOKEN_ADDED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 679, + "referencedDeclaration": 642, "src": "3607:28:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint8_$returns$__$", @@ -11725,7 +11683,7 @@ "name": "onlyOwnerOrManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 764, + "referencedDeclaration": 727, "src": "3402:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -11744,7 +11702,7 @@ "name": "uncompleted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 773, + "referencedDeclaration": 736, "src": "3423:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -11800,7 +11758,7 @@ "scope": 617, "src": "3355:318:0", "stateMutability": "nonpayable", - "superFunction": 831, + "superFunction": 794, "visibility": "public" }, { @@ -11999,10 +11957,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "3882:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -12104,7 +12062,7 @@ "name": "minimalGoal", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 787, + "referencedDeclaration": 750, "src": "3971:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12153,7 +12111,7 @@ "name": "hardCap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 789, + "referencedDeclaration": 752, "src": "4018:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12195,7 +12153,7 @@ "name": "minimalGoal", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 787, + "referencedDeclaration": 750, "src": "4075:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12208,7 +12166,7 @@ "name": "hardCap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 789, + "referencedDeclaration": 752, "src": "4088:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12231,7 +12189,7 @@ "name": "CUSTOM_CROWDSALE_GOAL_ADDED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 685, + "referencedDeclaration": 648, "src": "4047:27:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", @@ -12273,7 +12231,7 @@ "name": "onlyOwnerOrManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 764, + "referencedDeclaration": 727, "src": "3785:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -12292,7 +12250,7 @@ "name": "uncompleted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 773, + "referencedDeclaration": 736, "src": "3806:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -12374,7 +12332,7 @@ "scope": 617, "src": "3712:391:0", "stateMutability": "nonpayable", - "superFunction": 838, + "superFunction": 801, "visibility": "public" }, { @@ -12573,10 +12531,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "4332:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -12618,7 +12576,7 @@ "name": "startTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 791, + "referencedDeclaration": 754, "src": "4393:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12664,7 +12622,7 @@ "name": "endTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 793, + "referencedDeclaration": 756, "src": "4435:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12706,7 +12664,7 @@ "name": "startTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 791, + "referencedDeclaration": 754, "src": "4504:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12719,7 +12677,7 @@ "name": "endTimestamp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 793, + "referencedDeclaration": 756, "src": "4520:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12742,7 +12700,7 @@ "name": "CUSTOM_CROWDSALE_PERIOD_ADDED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 691, + "referencedDeclaration": 654, "src": "4474:29:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", @@ -12784,7 +12742,7 @@ "name": "onlyOwnerOrManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 764, + "referencedDeclaration": 727, "src": "4227:18:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -12803,7 +12761,7 @@ "name": "uncompleted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 773, + "referencedDeclaration": 736, "src": "4248:11:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -12885,7 +12843,7 @@ "scope": 617, "src": "4144:396:0", "stateMutability": "nonpayable", - "superFunction": 845, + "superFunction": 808, "visibility": "public" }, { @@ -12912,7 +12870,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "4804:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12938,7 +12896,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "4818:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12975,10 +12933,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 1400, - 1401 + 1173, + 1174 ], - "referencedDeclaration": 1400, + "referencedDeclaration": 1173, "src": "4840:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -13050,7 +13008,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "4898:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -13154,7 +13112,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "4968:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -13210,10 +13168,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "4944:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -13224,7 +13182,7 @@ "lValueRequested": false, "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 1362, + "referencedDeclaration": 1135, "src": "4944:15:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", @@ -13373,10 +13331,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "4985:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -13494,7 +13452,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, + "referencedDeclaration": 1168, "src": "5095:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -13625,7 +13583,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, + "referencedDeclaration": 1168, "src": "5206:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -13677,10 +13635,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "5191:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -13691,7 +13649,7 @@ "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 1371, + "referencedDeclaration": 1144, "src": "5191:14:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -13724,10 +13682,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, + "referencedDeclaration": 1171, "src": "5183:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -13772,7 +13730,7 @@ "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, + "referencedDeclaration": 1021, "src": "4778:9:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", @@ -13854,7 +13812,7 @@ "scope": 617, "src": "4711:538:0", "stateMutability": "nonpayable", - "superFunction": 871, + "superFunction": 834, "visibility": "public" }, { @@ -13873,10 +13831,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "5408:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } } @@ -13884,7 +13842,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } ], @@ -13973,7 +13931,7 @@ "scope": 617, "src": "5333:88:0", "stateMutability": "view", - "superFunction": 826, + "superFunction": 789, "visibility": "public" }, { @@ -13989,7 +13947,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "5491:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14054,7 +14012,7 @@ "scope": 617, "src": "5427:77:0", "stateMutability": "view", - "superFunction": 888, + "superFunction": 851, "visibility": "public" }, { @@ -14081,7 +14039,7 @@ "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, + "referencedDeclaration": 740, "src": "5574:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14107,7 +14065,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "5586:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14183,7 +14141,7 @@ "scope": 617, "src": "5510:92:0", "stateMutability": "view", - "superFunction": 893, + "superFunction": 856, "visibility": "public" }, { @@ -14210,7 +14168,7 @@ "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, + "referencedDeclaration": 760, "src": "5676:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14236,7 +14194,7 @@ "name": "failed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 799, + "referencedDeclaration": 762, "src": "5690:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14312,7 +14270,7 @@ "scope": 617, "src": "5608:95:0", "stateMutability": "view", - "superFunction": 898, + "superFunction": 861, "visibility": "public" }, { @@ -14339,7 +14297,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "5779:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14354,7 +14312,7 @@ "name": "minimalGoal", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 787, + "referencedDeclaration": 750, "src": "5797:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14481,7 +14439,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "5997:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14500,10 +14458,10 @@ "name": "IWingsController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, + "referencedDeclaration": 893, "src": "5980:16:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IWingsController_$941_$", + "typeIdentifier": "t_type$_t_contract$_IWingsController_$893_$", "typeString": "type(contract IWingsController)" } }, @@ -14517,7 +14475,7 @@ "nodeType": "FunctionCall", "src": "5980:25:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IWingsController_$941", + "typeIdentifier": "t_contract$_IWingsController_$893", "typeString": "contract IWingsController" } }, @@ -14528,7 +14486,7 @@ "lValueRequested": false, "memberName": "tokenRewardPart", "nodeType": "MemberAccess", - "referencedDeclaration": 924, + "referencedDeclaration": 876, "src": "5980:41:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", @@ -14599,7 +14557,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "6074:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14618,10 +14576,10 @@ "name": "IWingsController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, + "referencedDeclaration": 893, "src": "6057:16:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IWingsController_$941_$", + "typeIdentifier": "t_type$_t_contract$_IWingsController_$893_$", "typeString": "type(contract IWingsController)" } }, @@ -14635,7 +14593,7 @@ "nodeType": "FunctionCall", "src": "6057:25:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IWingsController_$941", + "typeIdentifier": "t_contract$_IWingsController_$893", "typeString": "contract IWingsController" } }, @@ -14646,7 +14604,7 @@ "lValueRequested": false, "memberName": "ethRewardPart", "nodeType": "MemberAccess", - "referencedDeclaration": 922, + "referencedDeclaration": 874, "src": "6057:39:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", @@ -14882,7 +14840,7 @@ "name": "totalSold", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 748, "src": "6208:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14896,7 +14854,7 @@ "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 1069, + "referencedDeclaration": 928, "src": "6208:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -14964,7 +14922,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "6263:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15020,7 +14978,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6301:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15035,7 +14993,7 @@ "name": "totalCollectedETH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 783, + "referencedDeclaration": 746, "src": "6318:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15069,7 +15027,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6356:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15087,7 +15045,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6426:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15111,7 +15069,7 @@ "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, + "referencedDeclaration": 738, "src": "6390:7:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15130,10 +15088,10 @@ "name": "IWingsController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, + "referencedDeclaration": 893, "src": "6373:16:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IWingsController_$941_$", + "typeIdentifier": "t_type$_t_contract$_IWingsController_$893_$", "typeString": "type(contract IWingsController)" } }, @@ -15147,7 +15105,7 @@ "nodeType": "FunctionCall", "src": "6373:25:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IWingsController_$941", + "typeIdentifier": "t_contract$_IWingsController_$893", "typeString": "contract IWingsController" } }, @@ -15158,7 +15116,7 @@ "lValueRequested": false, "memberName": "fitCollectedValueIntoRange", "nodeType": "MemberAccess", - "referencedDeclaration": 931, + "referencedDeclaration": 883, "src": "6373:52:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", @@ -15276,7 +15234,7 @@ "name": "totalCollected", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, + "referencedDeclaration": 744, "src": "6496:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15290,7 +15248,7 @@ "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 1069, + "referencedDeclaration": 928, "src": "6496:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", @@ -15478,7 +15436,7 @@ "scope": 617, "src": "5877:721:0", "stateMutability": "view", - "superFunction": 861, + "superFunction": 824, "visibility": "public" }, { @@ -15756,7 +15714,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "6968:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -15981,10 +15939,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "7204:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } } @@ -15992,7 +15950,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } ], @@ -16168,7 +16126,7 @@ "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, + "referencedDeclaration": 1195, "src": "7332:4:0", "typeDescriptions": { "typeIdentifier": "t_contract$_Bridge_$617", @@ -16224,10 +16182,10 @@ "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, + "referencedDeclaration": 758, "src": "7308:5:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -16238,7 +16196,7 @@ "lValueRequested": false, "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 1362, + "referencedDeclaration": 1135, "src": "7308:15:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", @@ -16474,5 +16432,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.571Z" + "updatedAt": "2018-10-16T07:48:55.585Z" } \ No newline at end of file diff --git a/build/contracts/DetailedERC20.json b/build/contracts/DetailedERC20.json index 3cd31a3..93552f3 100644 --- a/build/contracts/DetailedERC20.json +++ b/build/contracts/DetailedERC20.json @@ -246,14 +246,14 @@ "absolutePath": "zeppelin-solidity/contracts/token/DetailedERC20.sol", "exportedSymbols": { "DetailedERC20": [ - 1308 + 1081 ] }, - "id": 1309, + "id": 1082, "nodeType": "SourceUnit", "nodes": [ { - "id": 1276, + "id": 1049, "literals": [ "solidity", "^", @@ -261,16 +261,16 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:11" + "src": "0:24:5" }, { "absolutePath": "zeppelin-solidity/contracts/token/ERC20.sol", "file": "./ERC20.sol", - "id": 1277, + "id": 1050, "nodeType": "ImportDirective", - "scope": 1309, - "sourceUnit": 1352, - "src": "26:21:11", + "scope": 1082, + "sourceUnit": 1125, + "src": "26:21:5", "symbolAliases": [], "unitAlias": "" }, @@ -280,44 +280,44 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 1278, + "id": 1051, "name": "ERC20", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1351, - "src": "75:5:11", + "referencedDeclaration": 1124, + "src": "75:5:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20_$1351", + "typeIdentifier": "t_contract$_ERC20_$1124", "typeString": "contract ERC20" } }, - "id": 1279, + "id": 1052, "nodeType": "InheritanceSpecifier", - "src": "75:5:11" + "src": "75:5:5" } ], "contractDependencies": [ - 1351, - 1380 + 1124, + 1153 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 1308, + "id": 1081, "linearizedBaseContracts": [ - 1308, - 1351, - 1380 + 1081, + 1124, + 1153 ], "name": "DetailedERC20", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1281, + "id": 1054, "name": "name", "nodeType": "VariableDeclaration", - "scope": 1308, - "src": "85:18:11", + "scope": 1081, + "src": "85:18:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -325,10 +325,10 @@ "typeString": "string" }, "typeName": { - "id": 1280, + "id": 1053, "name": "string", "nodeType": "ElementaryTypeName", - "src": "85:6:11", + "src": "85:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -339,11 +339,11 @@ }, { "constant": false, - "id": 1283, + "id": 1056, "name": "symbol", "nodeType": "VariableDeclaration", - "scope": 1308, - "src": "107:20:11", + "scope": 1081, + "src": "107:20:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -351,10 +351,10 @@ "typeString": "string" }, "typeName": { - "id": 1282, + "id": 1055, "name": "string", "nodeType": "ElementaryTypeName", - "src": "107:6:11", + "src": "107:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -365,11 +365,11 @@ }, { "constant": false, - "id": 1285, + "id": 1058, "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 1308, - "src": "131:21:11", + "scope": 1081, + "src": "131:21:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -377,10 +377,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1284, + "id": 1057, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "131:5:11", + "src": "131:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -391,26 +391,26 @@ }, { "body": { - "id": 1306, + "id": 1079, "nodeType": "Block", - "src": "234:71:11", + "src": "234:71:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1296, + "id": 1069, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1294, + "id": 1067, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1281, - "src": "240:4:11", + "referencedDeclaration": 1054, + "src": "240:4:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -420,43 +420,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1295, + "id": 1068, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1287, - "src": "247:5:11", + "referencedDeclaration": 1060, + "src": "247:5:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "240:12:11", + "src": "240:12:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 1297, + "id": 1070, "nodeType": "ExpressionStatement", - "src": "240:12:11" + "src": "240:12:5" }, { "expression": { "argumentTypes": null, - "id": 1300, + "id": 1073, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1298, + "id": 1071, "name": "symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1283, - "src": "258:6:11", + "referencedDeclaration": 1056, + "src": "258:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -466,43 +466,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1299, + "id": 1072, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1289, - "src": "267:7:11", + "referencedDeclaration": 1062, + "src": "267:7:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "258:16:11", + "src": "258:16:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 1301, + "id": 1074, "nodeType": "ExpressionStatement", - "src": "258:16:11" + "src": "258:16:5" }, { "expression": { "argumentTypes": null, - "id": 1304, + "id": 1077, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1302, + "id": 1075, "name": "decimals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "280:8:11", + "referencedDeclaration": 1058, + "src": "280:8:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -512,31 +512,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1303, + "id": 1076, "name": "_decimals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1291, - "src": "291:9:11", + "referencedDeclaration": 1064, + "src": "291:9:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "280:20:11", + "src": "280:20:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1305, + "id": 1078, "nodeType": "ExpressionStatement", - "src": "280:20:11" + "src": "280:20:5" } ] }, "documentation": null, - "id": 1307, + "id": 1080, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -544,16 +544,16 @@ "name": "DetailedERC20", "nodeType": "FunctionDefinition", "parameters": { - "id": 1292, + "id": 1065, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1287, + "id": 1060, "name": "_name", "nodeType": "VariableDeclaration", - "scope": 1307, - "src": "180:12:11", + "scope": 1080, + "src": "180:12:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -561,10 +561,10 @@ "typeString": "string" }, "typeName": { - "id": 1286, + "id": 1059, "name": "string", "nodeType": "ElementaryTypeName", - "src": "180:6:11", + "src": "180:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -575,11 +575,11 @@ }, { "constant": false, - "id": 1289, + "id": 1062, "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 1307, - "src": "194:14:11", + "scope": 1080, + "src": "194:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -587,10 +587,10 @@ "typeString": "string" }, "typeName": { - "id": 1288, + "id": 1061, "name": "string", "nodeType": "ElementaryTypeName", - "src": "194:6:11", + "src": "194:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -601,11 +601,11 @@ }, { "constant": false, - "id": 1291, + "id": 1064, "name": "_decimals", "nodeType": "VariableDeclaration", - "scope": 1307, - "src": "210:15:11", + "scope": 1080, + "src": "210:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -613,10 +613,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1290, + "id": 1063, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "210:5:11", + "src": "210:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -626,40 +626,40 @@ "visibility": "internal" } ], - "src": "179:47:11" + "src": "179:47:5" }, "payable": false, "returnParameters": { - "id": 1293, + "id": 1066, "nodeType": "ParameterList", "parameters": [], - "src": "234:0:11" + "src": "234:0:5" }, - "scope": 1308, - "src": "157:148:11", + "scope": 1081, + "src": "157:148:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1309, - "src": "49:258:11" + "scope": 1082, + "src": "49:258:5" } ], - "src": "0:308:11" + "src": "0:308:5" }, "legacyAST": { "absolutePath": "zeppelin-solidity/contracts/token/DetailedERC20.sol", "exportedSymbols": { "DetailedERC20": [ - 1308 + 1081 ] }, - "id": 1309, + "id": 1082, "nodeType": "SourceUnit", "nodes": [ { - "id": 1276, + "id": 1049, "literals": [ "solidity", "^", @@ -667,16 +667,16 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:11" + "src": "0:24:5" }, { "absolutePath": "zeppelin-solidity/contracts/token/ERC20.sol", "file": "./ERC20.sol", - "id": 1277, + "id": 1050, "nodeType": "ImportDirective", - "scope": 1309, - "sourceUnit": 1352, - "src": "26:21:11", + "scope": 1082, + "sourceUnit": 1125, + "src": "26:21:5", "symbolAliases": [], "unitAlias": "" }, @@ -686,44 +686,44 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 1278, + "id": 1051, "name": "ERC20", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1351, - "src": "75:5:11", + "referencedDeclaration": 1124, + "src": "75:5:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20_$1351", + "typeIdentifier": "t_contract$_ERC20_$1124", "typeString": "contract ERC20" } }, - "id": 1279, + "id": 1052, "nodeType": "InheritanceSpecifier", - "src": "75:5:11" + "src": "75:5:5" } ], "contractDependencies": [ - 1351, - 1380 + 1124, + 1153 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 1308, + "id": 1081, "linearizedBaseContracts": [ - 1308, - 1351, - 1380 + 1081, + 1124, + 1153 ], "name": "DetailedERC20", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1281, + "id": 1054, "name": "name", "nodeType": "VariableDeclaration", - "scope": 1308, - "src": "85:18:11", + "scope": 1081, + "src": "85:18:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -731,10 +731,10 @@ "typeString": "string" }, "typeName": { - "id": 1280, + "id": 1053, "name": "string", "nodeType": "ElementaryTypeName", - "src": "85:6:11", + "src": "85:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -745,11 +745,11 @@ }, { "constant": false, - "id": 1283, + "id": 1056, "name": "symbol", "nodeType": "VariableDeclaration", - "scope": 1308, - "src": "107:20:11", + "scope": 1081, + "src": "107:20:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -757,10 +757,10 @@ "typeString": "string" }, "typeName": { - "id": 1282, + "id": 1055, "name": "string", "nodeType": "ElementaryTypeName", - "src": "107:6:11", + "src": "107:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -771,11 +771,11 @@ }, { "constant": false, - "id": 1285, + "id": 1058, "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 1308, - "src": "131:21:11", + "scope": 1081, + "src": "131:21:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -783,10 +783,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1284, + "id": 1057, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "131:5:11", + "src": "131:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -797,26 +797,26 @@ }, { "body": { - "id": 1306, + "id": 1079, "nodeType": "Block", - "src": "234:71:11", + "src": "234:71:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1296, + "id": 1069, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1294, + "id": 1067, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1281, - "src": "240:4:11", + "referencedDeclaration": 1054, + "src": "240:4:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -826,43 +826,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1295, + "id": 1068, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1287, - "src": "247:5:11", + "referencedDeclaration": 1060, + "src": "247:5:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "240:12:11", + "src": "240:12:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 1297, + "id": 1070, "nodeType": "ExpressionStatement", - "src": "240:12:11" + "src": "240:12:5" }, { "expression": { "argumentTypes": null, - "id": 1300, + "id": 1073, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1298, + "id": 1071, "name": "symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1283, - "src": "258:6:11", + "referencedDeclaration": 1056, + "src": "258:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -872,43 +872,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1299, + "id": 1072, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1289, - "src": "267:7:11", + "referencedDeclaration": 1062, + "src": "267:7:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "258:16:11", + "src": "258:16:5", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 1301, + "id": 1074, "nodeType": "ExpressionStatement", - "src": "258:16:11" + "src": "258:16:5" }, { "expression": { "argumentTypes": null, - "id": 1304, + "id": 1077, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1302, + "id": 1075, "name": "decimals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "280:8:11", + "referencedDeclaration": 1058, + "src": "280:8:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -918,31 +918,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1303, + "id": 1076, "name": "_decimals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1291, - "src": "291:9:11", + "referencedDeclaration": 1064, + "src": "291:9:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "280:20:11", + "src": "280:20:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1305, + "id": 1078, "nodeType": "ExpressionStatement", - "src": "280:20:11" + "src": "280:20:5" } ] }, "documentation": null, - "id": 1307, + "id": 1080, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -950,16 +950,16 @@ "name": "DetailedERC20", "nodeType": "FunctionDefinition", "parameters": { - "id": 1292, + "id": 1065, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1287, + "id": 1060, "name": "_name", "nodeType": "VariableDeclaration", - "scope": 1307, - "src": "180:12:11", + "scope": 1080, + "src": "180:12:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -967,10 +967,10 @@ "typeString": "string" }, "typeName": { - "id": 1286, + "id": 1059, "name": "string", "nodeType": "ElementaryTypeName", - "src": "180:6:11", + "src": "180:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -981,11 +981,11 @@ }, { "constant": false, - "id": 1289, + "id": 1062, "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 1307, - "src": "194:14:11", + "scope": 1080, + "src": "194:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -993,10 +993,10 @@ "typeString": "string" }, "typeName": { - "id": 1288, + "id": 1061, "name": "string", "nodeType": "ElementaryTypeName", - "src": "194:6:11", + "src": "194:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1007,11 +1007,11 @@ }, { "constant": false, - "id": 1291, + "id": 1064, "name": "_decimals", "nodeType": "VariableDeclaration", - "scope": 1307, - "src": "210:15:11", + "scope": 1080, + "src": "210:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1019,10 +1019,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1290, + "id": 1063, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "210:5:11", + "src": "210:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1032,27 +1032,27 @@ "visibility": "internal" } ], - "src": "179:47:11" + "src": "179:47:5" }, "payable": false, "returnParameters": { - "id": 1293, + "id": 1066, "nodeType": "ParameterList", "parameters": [], - "src": "234:0:11" + "src": "234:0:5" }, - "scope": 1308, - "src": "157:148:11", + "scope": 1081, + "src": "157:148:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1309, - "src": "49:258:11" + "scope": 1082, + "src": "49:258:5" } ], - "src": "0:308:11" + "src": "0:308:5" }, "compiler": { "name": "solc", @@ -1060,5 +1060,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.629Z" + "updatedAt": "2018-10-16T07:48:55.545Z" } \ No newline at end of file diff --git a/build/contracts/ERC20.json b/build/contracts/ERC20.json index b7d94ca..7c3c7e8 100644 --- a/build/contracts/ERC20.json +++ b/build/contracts/ERC20.json @@ -185,14 +185,14 @@ "absolutePath": "zeppelin-solidity/contracts/token/ERC20.sol", "exportedSymbols": { "ERC20": [ - 1351 + 1124 ] }, - "id": 1352, + "id": 1125, "nodeType": "SourceUnit", "nodes": [ { - "id": 1310, + "id": 1083, "literals": [ "solidity", "^", @@ -200,16 +200,16 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:12" + "src": "0:24:6" }, { "absolutePath": "zeppelin-solidity/contracts/token/ERC20Basic.sol", "file": "./ERC20Basic.sol", - "id": 1311, + "id": 1084, "nodeType": "ImportDirective", - "scope": 1352, - "sourceUnit": 1381, - "src": "27:26:12", + "scope": 1125, + "sourceUnit": 1154, + "src": "27:26:6", "symbolAliases": [], "unitAlias": "" }, @@ -219,31 +219,31 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 1312, + "id": 1085, "name": "ERC20Basic", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1380, - "src": "163:10:12", + "referencedDeclaration": 1153, + "src": "163:10:6", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Basic_$1380", + "typeIdentifier": "t_contract$_ERC20Basic_$1153", "typeString": "contract ERC20Basic" } }, - "id": 1313, + "id": 1086, "nodeType": "InheritanceSpecifier", - "src": "163:10:12" + "src": "163:10:6" } ], "contractDependencies": [ - 1380 + 1153 ], "contractKind": "contract", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, - "id": 1351, + "id": 1124, "linearizedBaseContracts": [ - 1351, - 1380 + 1124, + 1153 ], "name": "ERC20", "nodeType": "ContractDefinition", @@ -251,7 +251,7 @@ { "body": null, "documentation": null, - "id": 1322, + "id": 1095, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -259,16 +259,16 @@ "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { - "id": 1318, + "id": 1091, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 1088, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1322, - "src": "197:13:12", + "scope": 1095, + "src": "197:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -276,10 +276,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 1087, "name": "address", "nodeType": "ElementaryTypeName", - "src": "197:7:12", + "src": "197:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -290,11 +290,11 @@ }, { "constant": false, - "id": 1317, + "id": 1090, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 1322, - "src": "212:15:12", + "scope": 1095, + "src": "212:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -302,10 +302,10 @@ "typeString": "address" }, "typeName": { - "id": 1316, + "id": 1089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "212:7:12", + "src": "212:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -315,20 +315,20 @@ "visibility": "internal" } ], - "src": "196:32:12" + "src": "196:32:6" }, "payable": false, "returnParameters": { - "id": 1321, + "id": 1094, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1320, + "id": 1093, "name": "", "nodeType": "VariableDeclaration", - "scope": 1322, - "src": "250:7:12", + "scope": 1095, + "src": "250:7:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -336,10 +336,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1319, + "id": 1092, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "250:7:12", + "src": "250:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -349,10 +349,10 @@ "visibility": "internal" } ], - "src": "249:9:12" + "src": "249:9:6" }, - "scope": 1351, - "src": "178:81:12", + "scope": 1124, + "src": "178:81:6", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -360,7 +360,7 @@ { "body": null, "documentation": null, - "id": 1333, + "id": 1106, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -368,16 +368,16 @@ "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 1329, + "id": 1102, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1324, + "id": 1097, "name": "from", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "284:12:12", + "scope": 1106, + "src": "284:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -385,10 +385,10 @@ "typeString": "address" }, "typeName": { - "id": 1323, + "id": 1096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "284:7:12", + "src": "284:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -399,11 +399,11 @@ }, { "constant": false, - "id": 1326, + "id": 1099, "name": "to", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "298:10:12", + "scope": 1106, + "src": "298:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -411,10 +411,10 @@ "typeString": "address" }, "typeName": { - "id": 1325, + "id": 1098, "name": "address", "nodeType": "ElementaryTypeName", - "src": "298:7:12", + "src": "298:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -425,11 +425,11 @@ }, { "constant": false, - "id": 1328, + "id": 1101, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "310:13:12", + "scope": 1106, + "src": "310:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -437,10 +437,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1327, + "id": 1100, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "310:7:12", + "src": "310:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -450,20 +450,20 @@ "visibility": "internal" } ], - "src": "283:41:12" + "src": "283:41:6" }, "payable": false, "returnParameters": { - "id": 1332, + "id": 1105, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1331, + "id": 1104, "name": "", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "341:4:12", + "scope": 1106, + "src": "341:4:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -471,10 +471,10 @@ "typeString": "bool" }, "typeName": { - "id": 1330, + "id": 1103, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "341:4:12", + "src": "341:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -484,10 +484,10 @@ "visibility": "internal" } ], - "src": "340:6:12" + "src": "340:6:6" }, - "scope": 1351, - "src": "262:85:12", + "scope": 1124, + "src": "262:85:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -495,7 +495,7 @@ { "body": null, "documentation": null, - "id": 1342, + "id": 1115, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -503,16 +503,16 @@ "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 1338, + "id": 1111, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1335, + "id": 1108, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 1342, - "src": "367:15:12", + "scope": 1115, + "src": "367:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -520,10 +520,10 @@ "typeString": "address" }, "typeName": { - "id": 1334, + "id": 1107, "name": "address", "nodeType": "ElementaryTypeName", - "src": "367:7:12", + "src": "367:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -534,11 +534,11 @@ }, { "constant": false, - "id": 1337, + "id": 1110, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1342, - "src": "384:13:12", + "scope": 1115, + "src": "384:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -546,10 +546,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1336, + "id": 1109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "384:7:12", + "src": "384:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -559,20 +559,20 @@ "visibility": "internal" } ], - "src": "366:32:12" + "src": "366:32:6" }, "payable": false, "returnParameters": { - "id": 1341, + "id": 1114, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1340, + "id": 1113, "name": "", "nodeType": "VariableDeclaration", - "scope": 1342, - "src": "415:4:12", + "scope": 1115, + "src": "415:4:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -580,10 +580,10 @@ "typeString": "bool" }, "typeName": { - "id": 1339, + "id": 1112, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "415:4:12", + "src": "415:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -593,10 +593,10 @@ "visibility": "internal" } ], - "src": "414:6:12" + "src": "414:6:6" }, - "scope": 1351, - "src": "350:71:12", + "scope": 1124, + "src": "350:71:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -604,21 +604,21 @@ { "anonymous": false, "documentation": null, - "id": 1350, + "id": 1123, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 1349, + "id": 1122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1344, + "id": 1117, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1350, - "src": "439:21:12", + "scope": 1123, + "src": "439:21:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -626,10 +626,10 @@ "typeString": "address" }, "typeName": { - "id": 1343, + "id": 1116, "name": "address", "nodeType": "ElementaryTypeName", - "src": "439:7:12", + "src": "439:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -640,12 +640,12 @@ }, { "constant": false, - "id": 1346, + "id": 1119, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 1350, - "src": "462:23:12", + "scope": 1123, + "src": "462:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -653,10 +653,10 @@ "typeString": "address" }, "typeName": { - "id": 1345, + "id": 1118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "462:7:12", + "src": "462:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -667,12 +667,12 @@ }, { "constant": false, - "id": 1348, + "id": 1121, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1350, - "src": "487:13:12", + "scope": 1123, + "src": "487:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -680,10 +680,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1347, + "id": 1120, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "487:7:12", + "src": "487:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -693,29 +693,29 @@ "visibility": "internal" } ], - "src": "438:63:12" + "src": "438:63:6" }, - "src": "424:78:12" + "src": "424:78:6" } ], - "scope": 1352, - "src": "145:359:12" + "scope": 1125, + "src": "145:359:6" } ], - "src": "0:505:12" + "src": "0:505:6" }, "legacyAST": { "absolutePath": "zeppelin-solidity/contracts/token/ERC20.sol", "exportedSymbols": { "ERC20": [ - 1351 + 1124 ] }, - "id": 1352, + "id": 1125, "nodeType": "SourceUnit", "nodes": [ { - "id": 1310, + "id": 1083, "literals": [ "solidity", "^", @@ -723,16 +723,16 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:12" + "src": "0:24:6" }, { "absolutePath": "zeppelin-solidity/contracts/token/ERC20Basic.sol", "file": "./ERC20Basic.sol", - "id": 1311, + "id": 1084, "nodeType": "ImportDirective", - "scope": 1352, - "sourceUnit": 1381, - "src": "27:26:12", + "scope": 1125, + "sourceUnit": 1154, + "src": "27:26:6", "symbolAliases": [], "unitAlias": "" }, @@ -742,31 +742,31 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 1312, + "id": 1085, "name": "ERC20Basic", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1380, - "src": "163:10:12", + "referencedDeclaration": 1153, + "src": "163:10:6", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Basic_$1380", + "typeIdentifier": "t_contract$_ERC20Basic_$1153", "typeString": "contract ERC20Basic" } }, - "id": 1313, + "id": 1086, "nodeType": "InheritanceSpecifier", - "src": "163:10:12" + "src": "163:10:6" } ], "contractDependencies": [ - 1380 + 1153 ], "contractKind": "contract", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, - "id": 1351, + "id": 1124, "linearizedBaseContracts": [ - 1351, - 1380 + 1124, + 1153 ], "name": "ERC20", "nodeType": "ContractDefinition", @@ -774,7 +774,7 @@ { "body": null, "documentation": null, - "id": 1322, + "id": 1095, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -782,16 +782,16 @@ "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { - "id": 1318, + "id": 1091, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 1088, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1322, - "src": "197:13:12", + "scope": 1095, + "src": "197:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -799,10 +799,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 1087, "name": "address", "nodeType": "ElementaryTypeName", - "src": "197:7:12", + "src": "197:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -813,11 +813,11 @@ }, { "constant": false, - "id": 1317, + "id": 1090, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 1322, - "src": "212:15:12", + "scope": 1095, + "src": "212:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -825,10 +825,10 @@ "typeString": "address" }, "typeName": { - "id": 1316, + "id": 1089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "212:7:12", + "src": "212:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -838,20 +838,20 @@ "visibility": "internal" } ], - "src": "196:32:12" + "src": "196:32:6" }, "payable": false, "returnParameters": { - "id": 1321, + "id": 1094, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1320, + "id": 1093, "name": "", "nodeType": "VariableDeclaration", - "scope": 1322, - "src": "250:7:12", + "scope": 1095, + "src": "250:7:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -859,10 +859,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1319, + "id": 1092, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "250:7:12", + "src": "250:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -872,10 +872,10 @@ "visibility": "internal" } ], - "src": "249:9:12" + "src": "249:9:6" }, - "scope": 1351, - "src": "178:81:12", + "scope": 1124, + "src": "178:81:6", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -883,7 +883,7 @@ { "body": null, "documentation": null, - "id": 1333, + "id": 1106, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -891,16 +891,16 @@ "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 1329, + "id": 1102, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1324, + "id": 1097, "name": "from", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "284:12:12", + "scope": 1106, + "src": "284:12:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -908,10 +908,10 @@ "typeString": "address" }, "typeName": { - "id": 1323, + "id": 1096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "284:7:12", + "src": "284:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -922,11 +922,11 @@ }, { "constant": false, - "id": 1326, + "id": 1099, "name": "to", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "298:10:12", + "scope": 1106, + "src": "298:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -934,10 +934,10 @@ "typeString": "address" }, "typeName": { - "id": 1325, + "id": 1098, "name": "address", "nodeType": "ElementaryTypeName", - "src": "298:7:12", + "src": "298:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -948,11 +948,11 @@ }, { "constant": false, - "id": 1328, + "id": 1101, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "310:13:12", + "scope": 1106, + "src": "310:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -960,10 +960,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1327, + "id": 1100, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "310:7:12", + "src": "310:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -973,20 +973,20 @@ "visibility": "internal" } ], - "src": "283:41:12" + "src": "283:41:6" }, "payable": false, "returnParameters": { - "id": 1332, + "id": 1105, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1331, + "id": 1104, "name": "", "nodeType": "VariableDeclaration", - "scope": 1333, - "src": "341:4:12", + "scope": 1106, + "src": "341:4:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -994,10 +994,10 @@ "typeString": "bool" }, "typeName": { - "id": 1330, + "id": 1103, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "341:4:12", + "src": "341:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1007,10 +1007,10 @@ "visibility": "internal" } ], - "src": "340:6:12" + "src": "340:6:6" }, - "scope": 1351, - "src": "262:85:12", + "scope": 1124, + "src": "262:85:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1018,7 +1018,7 @@ { "body": null, "documentation": null, - "id": 1342, + "id": 1115, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -1026,16 +1026,16 @@ "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 1338, + "id": 1111, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1335, + "id": 1108, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 1342, - "src": "367:15:12", + "scope": 1115, + "src": "367:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1043,10 +1043,10 @@ "typeString": "address" }, "typeName": { - "id": 1334, + "id": 1107, "name": "address", "nodeType": "ElementaryTypeName", - "src": "367:7:12", + "src": "367:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1057,11 +1057,11 @@ }, { "constant": false, - "id": 1337, + "id": 1110, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1342, - "src": "384:13:12", + "scope": 1115, + "src": "384:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1069,10 +1069,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1336, + "id": 1109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "384:7:12", + "src": "384:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1082,20 +1082,20 @@ "visibility": "internal" } ], - "src": "366:32:12" + "src": "366:32:6" }, "payable": false, "returnParameters": { - "id": 1341, + "id": 1114, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1340, + "id": 1113, "name": "", "nodeType": "VariableDeclaration", - "scope": 1342, - "src": "415:4:12", + "scope": 1115, + "src": "415:4:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1103,10 +1103,10 @@ "typeString": "bool" }, "typeName": { - "id": 1339, + "id": 1112, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "415:4:12", + "src": "415:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1116,10 +1116,10 @@ "visibility": "internal" } ], - "src": "414:6:12" + "src": "414:6:6" }, - "scope": 1351, - "src": "350:71:12", + "scope": 1124, + "src": "350:71:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1127,21 +1127,21 @@ { "anonymous": false, "documentation": null, - "id": 1350, + "id": 1123, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 1349, + "id": 1122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1344, + "id": 1117, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1350, - "src": "439:21:12", + "scope": 1123, + "src": "439:21:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1149,10 +1149,10 @@ "typeString": "address" }, "typeName": { - "id": 1343, + "id": 1116, "name": "address", "nodeType": "ElementaryTypeName", - "src": "439:7:12", + "src": "439:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1163,12 +1163,12 @@ }, { "constant": false, - "id": 1346, + "id": 1119, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 1350, - "src": "462:23:12", + "scope": 1123, + "src": "462:23:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1176,10 +1176,10 @@ "typeString": "address" }, "typeName": { - "id": 1345, + "id": 1118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "462:7:12", + "src": "462:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1190,12 +1190,12 @@ }, { "constant": false, - "id": 1348, + "id": 1121, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1350, - "src": "487:13:12", + "scope": 1123, + "src": "487:13:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1203,10 +1203,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1347, + "id": 1120, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "487:7:12", + "src": "487:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1216,16 +1216,16 @@ "visibility": "internal" } ], - "src": "438:63:12" + "src": "438:63:6" }, - "src": "424:78:12" + "src": "424:78:6" } ], - "scope": 1352, - "src": "145:359:12" + "scope": 1125, + "src": "145:359:6" } ], - "src": "0:505:12" + "src": "0:505:6" }, "compiler": { "name": "solc", @@ -1233,5 +1233,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.629Z" + "updatedAt": "2018-10-16T07:48:55.546Z" } \ No newline at end of file diff --git a/build/contracts/ERC20Basic.json b/build/contracts/ERC20Basic.json index 7a081da..f935a6d 100644 --- a/build/contracts/ERC20Basic.json +++ b/build/contracts/ERC20Basic.json @@ -90,14 +90,14 @@ "absolutePath": "zeppelin-solidity/contracts/token/ERC20Basic.sol", "exportedSymbols": { "ERC20Basic": [ - 1380 + 1153 ] }, - "id": 1381, + "id": 1154, "nodeType": "SourceUnit", "nodes": [ { - "id": 1353, + "id": 1126, "literals": [ "solidity", "^", @@ -105,7 +105,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:13" + "src": "0:24:7" }, { "baseContracts": [], @@ -113,20 +113,20 @@ "contractKind": "contract", "documentation": "@title ERC20Basic\n@dev Simpler version of ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/179", "fullyImplemented": false, - "id": 1380, + "id": 1153, "linearizedBaseContracts": [ - 1380 + 1153 ], "name": "ERC20Basic", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1355, + "id": 1128, "name": "totalSupply", "nodeType": "VariableDeclaration", - "scope": 1380, - "src": "179:26:13", + "scope": 1153, + "src": "179:26:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -134,10 +134,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1354, + "id": 1127, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "179:7:13", + "src": "179:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -149,7 +149,7 @@ { "body": null, "documentation": null, - "id": 1362, + "id": 1135, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -157,16 +157,16 @@ "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 1358, + "id": 1131, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1357, + "id": 1130, "name": "who", "nodeType": "VariableDeclaration", - "scope": 1362, - "src": "228:11:13", + "scope": 1135, + "src": "228:11:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -174,10 +174,10 @@ "typeString": "address" }, "typeName": { - "id": 1356, + "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", - "src": "228:7:13", + "src": "228:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -187,20 +187,20 @@ "visibility": "internal" } ], - "src": "227:13:13" + "src": "227:13:7" }, "payable": false, "returnParameters": { - "id": 1361, + "id": 1134, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1360, + "id": 1133, "name": "", "nodeType": "VariableDeclaration", - "scope": 1362, - "src": "262:7:13", + "scope": 1135, + "src": "262:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -208,10 +208,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1359, + "id": 1132, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "262:7:13", + "src": "262:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -221,10 +221,10 @@ "visibility": "internal" } ], - "src": "261:9:13" + "src": "261:9:7" }, - "scope": 1380, - "src": "209:62:13", + "scope": 1153, + "src": "209:62:7", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -232,7 +232,7 @@ { "body": null, "documentation": null, - "id": 1371, + "id": 1144, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -240,16 +240,16 @@ "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 1367, + "id": 1140, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1364, + "id": 1137, "name": "to", "nodeType": "VariableDeclaration", - "scope": 1371, - "src": "292:10:13", + "scope": 1144, + "src": "292:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -257,10 +257,10 @@ "typeString": "address" }, "typeName": { - "id": 1363, + "id": 1136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "292:7:13", + "src": "292:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -271,11 +271,11 @@ }, { "constant": false, - "id": 1366, + "id": 1139, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1371, - "src": "304:13:13", + "scope": 1144, + "src": "304:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -283,10 +283,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1365, + "id": 1138, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "304:7:13", + "src": "304:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -296,20 +296,20 @@ "visibility": "internal" } ], - "src": "291:27:13" + "src": "291:27:7" }, "payable": false, "returnParameters": { - "id": 1370, + "id": 1143, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1369, + "id": 1142, "name": "", "nodeType": "VariableDeclaration", - "scope": 1371, - "src": "335:4:13", + "scope": 1144, + "src": "335:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -317,10 +317,10 @@ "typeString": "bool" }, "typeName": { - "id": 1368, + "id": 1141, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "335:4:13", + "src": "335:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -330,10 +330,10 @@ "visibility": "internal" } ], - "src": "334:6:13" + "src": "334:6:7" }, - "scope": 1380, - "src": "274:67:13", + "scope": 1153, + "src": "274:67:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -341,21 +341,21 @@ { "anonymous": false, "documentation": null, - "id": 1379, + "id": 1152, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 1378, + "id": 1151, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1373, + "id": 1146, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "359:20:13", + "scope": 1152, + "src": "359:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -363,10 +363,10 @@ "typeString": "address" }, "typeName": { - "id": 1372, + "id": 1145, "name": "address", "nodeType": "ElementaryTypeName", - "src": "359:7:13", + "src": "359:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -377,12 +377,12 @@ }, { "constant": false, - "id": 1375, + "id": 1148, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "381:18:13", + "scope": 1152, + "src": "381:18:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -390,10 +390,10 @@ "typeString": "address" }, "typeName": { - "id": 1374, + "id": 1147, "name": "address", "nodeType": "ElementaryTypeName", - "src": "381:7:13", + "src": "381:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -404,12 +404,12 @@ }, { "constant": false, - "id": 1377, + "id": 1150, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "401:13:13", + "scope": 1152, + "src": "401:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -417,10 +417,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1376, + "id": 1149, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "401:7:13", + "src": "401:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -430,29 +430,29 @@ "visibility": "internal" } ], - "src": "358:57:13" + "src": "358:57:7" }, - "src": "344:72:13" + "src": "344:72:7" } ], - "scope": 1381, - "src": "155:263:13" + "scope": 1154, + "src": "155:263:7" } ], - "src": "0:419:13" + "src": "0:419:7" }, "legacyAST": { "absolutePath": "zeppelin-solidity/contracts/token/ERC20Basic.sol", "exportedSymbols": { "ERC20Basic": [ - 1380 + 1153 ] }, - "id": 1381, + "id": 1154, "nodeType": "SourceUnit", "nodes": [ { - "id": 1353, + "id": 1126, "literals": [ "solidity", "^", @@ -460,7 +460,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:13" + "src": "0:24:7" }, { "baseContracts": [], @@ -468,20 +468,20 @@ "contractKind": "contract", "documentation": "@title ERC20Basic\n@dev Simpler version of ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/179", "fullyImplemented": false, - "id": 1380, + "id": 1153, "linearizedBaseContracts": [ - 1380 + 1153 ], "name": "ERC20Basic", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1355, + "id": 1128, "name": "totalSupply", "nodeType": "VariableDeclaration", - "scope": 1380, - "src": "179:26:13", + "scope": 1153, + "src": "179:26:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -489,10 +489,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1354, + "id": 1127, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "179:7:13", + "src": "179:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -504,7 +504,7 @@ { "body": null, "documentation": null, - "id": 1362, + "id": 1135, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -512,16 +512,16 @@ "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 1358, + "id": 1131, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1357, + "id": 1130, "name": "who", "nodeType": "VariableDeclaration", - "scope": 1362, - "src": "228:11:13", + "scope": 1135, + "src": "228:11:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -529,10 +529,10 @@ "typeString": "address" }, "typeName": { - "id": 1356, + "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", - "src": "228:7:13", + "src": "228:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -542,20 +542,20 @@ "visibility": "internal" } ], - "src": "227:13:13" + "src": "227:13:7" }, "payable": false, "returnParameters": { - "id": 1361, + "id": 1134, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1360, + "id": 1133, "name": "", "nodeType": "VariableDeclaration", - "scope": 1362, - "src": "262:7:13", + "scope": 1135, + "src": "262:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -563,10 +563,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1359, + "id": 1132, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "262:7:13", + "src": "262:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -576,10 +576,10 @@ "visibility": "internal" } ], - "src": "261:9:13" + "src": "261:9:7" }, - "scope": 1380, - "src": "209:62:13", + "scope": 1153, + "src": "209:62:7", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -587,7 +587,7 @@ { "body": null, "documentation": null, - "id": 1371, + "id": 1144, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -595,16 +595,16 @@ "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 1367, + "id": 1140, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1364, + "id": 1137, "name": "to", "nodeType": "VariableDeclaration", - "scope": 1371, - "src": "292:10:13", + "scope": 1144, + "src": "292:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -612,10 +612,10 @@ "typeString": "address" }, "typeName": { - "id": 1363, + "id": 1136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "292:7:13", + "src": "292:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -626,11 +626,11 @@ }, { "constant": false, - "id": 1366, + "id": 1139, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1371, - "src": "304:13:13", + "scope": 1144, + "src": "304:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -638,10 +638,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1365, + "id": 1138, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "304:7:13", + "src": "304:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -651,20 +651,20 @@ "visibility": "internal" } ], - "src": "291:27:13" + "src": "291:27:7" }, "payable": false, "returnParameters": { - "id": 1370, + "id": 1143, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1369, + "id": 1142, "name": "", "nodeType": "VariableDeclaration", - "scope": 1371, - "src": "335:4:13", + "scope": 1144, + "src": "335:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -672,10 +672,10 @@ "typeString": "bool" }, "typeName": { - "id": 1368, + "id": 1141, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "335:4:13", + "src": "335:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -685,10 +685,10 @@ "visibility": "internal" } ], - "src": "334:6:13" + "src": "334:6:7" }, - "scope": 1380, - "src": "274:67:13", + "scope": 1153, + "src": "274:67:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -696,21 +696,21 @@ { "anonymous": false, "documentation": null, - "id": 1379, + "id": 1152, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 1378, + "id": 1151, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1373, + "id": 1146, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "359:20:13", + "scope": 1152, + "src": "359:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -718,10 +718,10 @@ "typeString": "address" }, "typeName": { - "id": 1372, + "id": 1145, "name": "address", "nodeType": "ElementaryTypeName", - "src": "359:7:13", + "src": "359:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -732,12 +732,12 @@ }, { "constant": false, - "id": 1375, + "id": 1148, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "381:18:13", + "scope": 1152, + "src": "381:18:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -745,10 +745,10 @@ "typeString": "address" }, "typeName": { - "id": 1374, + "id": 1147, "name": "address", "nodeType": "ElementaryTypeName", - "src": "381:7:13", + "src": "381:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -759,12 +759,12 @@ }, { "constant": false, - "id": 1377, + "id": 1150, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "401:13:13", + "scope": 1152, + "src": "401:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -772,10 +772,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1376, + "id": 1149, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "401:7:13", + "src": "401:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -785,16 +785,16 @@ "visibility": "internal" } ], - "src": "358:57:13" + "src": "358:57:7" }, - "src": "344:72:13" + "src": "344:72:7" } ], - "scope": 1381, - "src": "155:263:13" + "scope": 1154, + "src": "155:263:7" } ], - "src": "0:419:13" + "src": "0:419:7" }, "compiler": { "name": "solc", @@ -802,5 +802,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.629Z" + "updatedAt": "2018-10-16T07:48:55.536Z" } \ No newline at end of file diff --git a/build/contracts/IBridge.json b/build/contracts/IBridge.json index e243804..4d43e8b 100644 --- a/build/contracts/IBridge.json +++ b/build/contracts/IBridge.json @@ -99,20 +99,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "completed", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": true, "inputs": [], @@ -127,20 +113,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "failed", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": true, "inputs": [], @@ -169,20 +141,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "notifiedSale", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": false, "inputs": [ @@ -548,20 +506,20 @@ "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\n\n\nimport 'zeppelin-solidity/contracts/ownership/Ownable.sol';\nimport 'zeppelin-solidity/contracts/math/SafeMath.sol';\nimport 'zeppelin-solidity/contracts/token/DetailedERC20.sol';\n\nimport './IWingsController.sol';\n\n\ncontract IBridge is Ownable {\n\n using SafeMath for uint256;\n\n event CROWDSALE_START(uint256 startTimestamp, uint256 endTimestamp, address fundingAddress);\n event CUSTOM_CROWDSALE_TOKEN_ADDED(address token, uint8 decimals);\n event CUSTOM_CROWDSALE_GOAL_ADDED(uint256 minimalGoal, uint256 hardCap);\n event CUSTOM_CROWDSALE_PERIOD_ADDED(uint256 startTimestamp, uint256 endTimestamp);\n event CUSTOM_CROWDSALE_FINISH();\n\n modifier whenCrowdsaleAlive() {\n require(isActive());\n _;\n }\n\n modifier whenCrowdsaleSuccessful() {\n require(isSuccessful());\n _;\n }\n\n modifier hasntStopped() {\n require(!stopped);\n _;\n }\n\n modifier hasntStarted() {\n require(!started);\n _;\n }\n\n modifier hasBeenStarted() {\n require(started);\n _;\n }\n\n modifier onlyManager {\n require(msg.sender == manager);\n _;\n }\n\n modifier onlyOwnerOrManager() {\n require(msg.sender == owner || msg.sender == manager);\n _;\n }\n\n modifier uncompleted() {\n require(!completed);\n _;\n }\n\n address public manager;\n\n bool public started;\n bool public stopped;\n\n // Total collected forecast question currency\n uint256 public totalCollected;\n\n // Total collected Ether\n uint256 public totalCollectedETH;\n\n // Total amount of project's token sold: must be updated every time tokens has been sold\n uint256 public totalSold;\n\n // Crowdsale goals\n uint256 public minimalGoal;\n uint256 public hardCap;\n\n // Crowdsale time frame\n uint256 public startTimestamp;\n uint256 public endTimestamp;\n\n // crowdsale token must be ERC20-compliant\n DetailedERC20 token;\n\n // crowdsale status\n bool public completed;\n bool public failed;\n\n // whether sale results were communicated to crowdsale controller or not\n bool public notifiedSale;\n\n function transferManager(address _newManager) public onlyManager() {\n require(_newManager != address(0));\n manager = _newManager;\n }\n\n function getToken() public view returns (address);\n function changeToken(address _newToken) public;\n function setCrowdsaleGoal(uint256 _minimalGoal, uint256 _hardCap) public;\n function setCrowdsalePeriod(uint256 _startTimestamp, uint256 _endTimestamp) public;\n function notifySale(uint256 _amount, uint256 _ethAmount, uint256 _tokensAmount) public;\n function calculateRewards() public view returns (uint256, uint256);\n function finish() public;\n function withdraw(uint256 _ethAmount, uint256 _tokenAmount) public;\n function stop() public;\n function start(uint256 _startTimestamp, uint256 _endTimestamp, address _fundingAddress) public;\n function isFailed() public view returns (bool);\n function isActive() public view returns (bool);\n function isSuccessful() public view returns (bool);\n\n function releaseTokens() public {}\n function deposit() public payable {}\n}\n", + "source": "pragma solidity ^0.4.18;\n\n\nimport 'zeppelin-solidity/contracts/ownership/Ownable.sol';\nimport 'zeppelin-solidity/contracts/math/SafeMath.sol';\nimport 'zeppelin-solidity/contracts/token/DetailedERC20.sol';\n\nimport './IWingsController.sol';\n\n\ncontract IBridge is Ownable {\n\n using SafeMath for uint256;\n\n event CROWDSALE_START(uint256 startTimestamp, uint256 endTimestamp, address fundingAddress);\n event CUSTOM_CROWDSALE_TOKEN_ADDED(address token, uint8 decimals);\n event CUSTOM_CROWDSALE_GOAL_ADDED(uint256 minimalGoal, uint256 hardCap);\n event CUSTOM_CROWDSALE_PERIOD_ADDED(uint256 startTimestamp, uint256 endTimestamp);\n event CUSTOM_CROWDSALE_FINISH();\n\n modifier whenCrowdsaleAlive() {\n require(isActive());\n _;\n }\n\n modifier whenCrowdsaleSuccessful() {\n require(isSuccessful());\n _;\n }\n\n modifier hasntStopped() {\n require(!stopped);\n _;\n }\n\n modifier hasntStarted() {\n require(!started);\n _;\n }\n\n modifier hasBeenStarted() {\n require(started);\n _;\n }\n\n modifier onlyManager {\n require(msg.sender == manager);\n _;\n }\n\n modifier onlyOwnerOrManager() {\n require(msg.sender == owner || msg.sender == manager);\n _;\n }\n\n modifier uncompleted() {\n require(!completed);\n _;\n }\n\n address public manager;\n\n bool public started;\n bool public stopped;\n\n // Total collected forecast question currency\n uint256 public totalCollected;\n\n // Total collected Ether\n uint256 public totalCollectedETH;\n\n // Total amount of project's token sold: must be updated every time tokens has been sold\n uint256 public totalSold;\n\n // Crowdsale goals\n uint256 public minimalGoal;\n uint256 public hardCap;\n\n // Crowdsale time frame\n uint256 public startTimestamp;\n uint256 public endTimestamp;\n\n // crowdsale token must be ERC20-compliant\n DetailedERC20 token;\n\n // crowdsale status\n bool completed;\n bool failed;\n\n // whether sale results were communicated to crowdsale controller or not\n bool notifiedSale;\n\n function transferManager(address _newManager) public onlyManager() {\n require(_newManager != address(0));\n manager = _newManager;\n }\n\n function getToken() public view returns (address);\n function changeToken(address _newToken) public;\n function setCrowdsaleGoal(uint256 _minimalGoal, uint256 _hardCap) public;\n function setCrowdsalePeriod(uint256 _startTimestamp, uint256 _endTimestamp) public;\n function notifySale(uint256 _amount, uint256 _ethAmount, uint256 _tokensAmount) public;\n function calculateRewards() public view returns (uint256, uint256);\n function finish() public;\n function withdraw(uint256 _ethAmount, uint256 _tokenAmount) public;\n function stop() public;\n function start(uint256 _startTimestamp, uint256 _endTimestamp, address _fundingAddress) public;\n function isFailed() public view returns (bool);\n function isActive() public view returns (bool);\n function isSuccessful() public view returns (bool);\n\n function releaseTokens() public {}\n function deposit() public payable {}\n}\n", "sourcePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/interfaces/IBridge.sol", "ast": { "absolutePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/interfaces/IBridge.sol", "exportedSymbols": { "IBridge": [ - 907 + 870 ] }, - "id": 908, + "id": 871, "nodeType": "SourceUnit", "nodes": [ { - "id": 656, + "id": 619, "literals": [ "solidity", "^", @@ -569,49 +527,49 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:3" + "src": "0:24:1" }, { "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "id": 657, + "id": 620, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 1189, - "src": "27:59:3", + "scope": 871, + "sourceUnit": 1048, + "src": "27:59:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", "file": "zeppelin-solidity/contracts/math/SafeMath.sol", - "id": 658, + "id": 621, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 1133, - "src": "87:55:3", + "scope": 871, + "sourceUnit": 992, + "src": "87:55:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "zeppelin-solidity/contracts/token/DetailedERC20.sol", "file": "zeppelin-solidity/contracts/token/DetailedERC20.sol", - "id": 659, + "id": 622, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 1309, - "src": "143:61:3", + "scope": 871, + "sourceUnit": 1082, + "src": "143:61:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/interfaces/IWingsController.sol", "file": "./IWingsController.sol", - "id": 660, + "id": 623, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 942, - "src": "206:32:3", + "scope": 871, + "sourceUnit": 894, + "src": "206:32:1", "symbolAliases": [], "unitAlias": "" }, @@ -621,56 +579,56 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 661, + "id": 624, "name": "Ownable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1188, - "src": "261:7:3", + "referencedDeclaration": 1047, + "src": "261:7:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$1188", + "typeIdentifier": "t_contract$_Ownable_$1047", "typeString": "contract Ownable" } }, - "id": 662, + "id": 625, "nodeType": "InheritanceSpecifier", - "src": "261:7:3" + "src": "261:7:1" } ], "contractDependencies": [ - 1188 + 1047 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 907, + "id": 870, "linearizedBaseContracts": [ - 907, - 1188 + 870, + 1047 ], "name": "IBridge", "nodeType": "ContractDefinition", "nodes": [ { - "id": 665, + "id": 628, "libraryName": { "contractScope": null, - "id": 663, + "id": 626, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "282:8:3", + "referencedDeclaration": 991, + "src": "282:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1132", + "typeIdentifier": "t_contract$_SafeMath_$991", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "276:27:3", + "src": "276:27:1", "typeName": { - "id": 664, + "id": 627, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "295:7:3", + "src": "295:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -680,21 +638,21 @@ { "anonymous": false, "documentation": null, - "id": 673, + "id": 636, "name": "CROWDSALE_START", "nodeType": "EventDefinition", "parameters": { - "id": 672, + "id": 635, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 667, + "id": 630, "indexed": false, "name": "startTimestamp", "nodeType": "VariableDeclaration", - "scope": 673, - "src": "331:22:3", + "scope": 636, + "src": "331:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -702,10 +660,10 @@ "typeString": "uint256" }, "typeName": { - "id": 666, + "id": 629, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "331:7:3", + "src": "331:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -716,12 +674,12 @@ }, { "constant": false, - "id": 669, + "id": 632, "indexed": false, "name": "endTimestamp", "nodeType": "VariableDeclaration", - "scope": 673, - "src": "355:20:3", + "scope": 636, + "src": "355:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -729,10 +687,10 @@ "typeString": "uint256" }, "typeName": { - "id": 668, + "id": 631, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "355:7:3", + "src": "355:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -743,12 +701,12 @@ }, { "constant": false, - "id": 671, + "id": 634, "indexed": false, "name": "fundingAddress", "nodeType": "VariableDeclaration", - "scope": 673, - "src": "377:22:3", + "scope": 636, + "src": "377:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -756,10 +714,10 @@ "typeString": "address" }, "typeName": { - "id": 670, + "id": 633, "name": "address", "nodeType": "ElementaryTypeName", - "src": "377:7:3", + "src": "377:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -769,28 +727,28 @@ "visibility": "internal" } ], - "src": "330:70:3" + "src": "330:70:1" }, - "src": "309:92:3" + "src": "309:92:1" }, { "anonymous": false, "documentation": null, - "id": 679, + "id": 642, "name": "CUSTOM_CROWDSALE_TOKEN_ADDED", "nodeType": "EventDefinition", "parameters": { - "id": 678, + "id": 641, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 675, + "id": 638, "indexed": false, "name": "token", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "441:13:3", + "scope": 642, + "src": "441:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -798,10 +756,10 @@ "typeString": "address" }, "typeName": { - "id": 674, + "id": 637, "name": "address", "nodeType": "ElementaryTypeName", - "src": "441:7:3", + "src": "441:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -812,12 +770,12 @@ }, { "constant": false, - "id": 677, + "id": 640, "indexed": false, "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "456:14:3", + "scope": 642, + "src": "456:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -825,10 +783,10 @@ "typeString": "uint8" }, "typeName": { - "id": 676, + "id": 639, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "456:5:3", + "src": "456:5:1", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -838,28 +796,28 @@ "visibility": "internal" } ], - "src": "440:31:3" + "src": "440:31:1" }, - "src": "406:66:3" + "src": "406:66:1" }, { "anonymous": false, "documentation": null, - "id": 685, + "id": 648, "name": "CUSTOM_CROWDSALE_GOAL_ADDED", "nodeType": "EventDefinition", "parameters": { - "id": 684, + "id": 647, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 681, + "id": 644, "indexed": false, "name": "minimalGoal", "nodeType": "VariableDeclaration", - "scope": 685, - "src": "511:19:3", + "scope": 648, + "src": "511:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -867,10 +825,10 @@ "typeString": "uint256" }, "typeName": { - "id": 680, + "id": 643, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "511:7:3", + "src": "511:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -881,12 +839,12 @@ }, { "constant": false, - "id": 683, + "id": 646, "indexed": false, "name": "hardCap", "nodeType": "VariableDeclaration", - "scope": 685, - "src": "532:15:3", + "scope": 648, + "src": "532:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +852,10 @@ "typeString": "uint256" }, "typeName": { - "id": 682, + "id": 645, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "532:7:3", + "src": "532:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -907,28 +865,28 @@ "visibility": "internal" } ], - "src": "510:38:3" + "src": "510:38:1" }, - "src": "477:72:3" + "src": "477:72:1" }, { "anonymous": false, "documentation": null, - "id": 691, + "id": 654, "name": "CUSTOM_CROWDSALE_PERIOD_ADDED", "nodeType": "EventDefinition", "parameters": { - "id": 690, + "id": 653, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 687, + "id": 650, "indexed": false, "name": "startTimestamp", "nodeType": "VariableDeclaration", - "scope": 691, - "src": "590:22:3", + "scope": 654, + "src": "590:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -936,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 686, + "id": 649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "590:7:3", + "src": "590:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -950,12 +908,12 @@ }, { "constant": false, - "id": 689, + "id": 652, "indexed": false, "name": "endTimestamp", "nodeType": "VariableDeclaration", - "scope": 691, - "src": "614:20:3", + "scope": 654, + "src": "614:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -963,10 +921,10 @@ "typeString": "uint256" }, "typeName": { - "id": 688, + "id": 651, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "614:7:3", + "src": "614:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -976,29 +934,29 @@ "visibility": "internal" } ], - "src": "589:46:3" + "src": "589:46:1" }, - "src": "554:82:3" + "src": "554:82:1" }, { "anonymous": false, "documentation": null, - "id": 693, + "id": 656, "name": "CUSTOM_CROWDSALE_FINISH", "nodeType": "EventDefinition", "parameters": { - "id": 692, + "id": 655, "nodeType": "ParameterList", "parameters": [], - "src": "670:2:3" + "src": "670:2:1" }, - "src": "641:32:3" + "src": "641:32:1" }, { "body": { - "id": 701, + "id": 664, "nodeType": "Block", - "src": "709:47:3", + "src": "709:47:1", "statements": [ { "expression": { @@ -1009,18 +967,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 696, + "id": 659, "name": "isActive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 893, - "src": "727:8:3", + "referencedDeclaration": 856, + "src": "727:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 697, + "id": 660, "isConstant": false, "isLValue": false, "isPure": false, @@ -1028,7 +986,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "727:10:3", + "src": "727:10:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1042,21 +1000,21 @@ "typeString": "bool" } ], - "id": 695, + "id": 658, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "719:7:3", + "referencedDeclaration": 1171, + "src": "719:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 698, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -1064,41 +1022,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "719:19:3", + "src": "719:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 699, + "id": 662, "nodeType": "ExpressionStatement", - "src": "719:19:3" + "src": "719:19:1" }, { - "id": 700, + "id": 663, "nodeType": "PlaceholderStatement", - "src": "748:1:3" + "src": "748:1:1" } ] }, "documentation": null, - "id": 702, + "id": 665, "name": "whenCrowdsaleAlive", "nodeType": "ModifierDefinition", "parameters": { - "id": 694, + "id": 657, "nodeType": "ParameterList", "parameters": [], - "src": "706:2:3" + "src": "706:2:1" }, - "src": "679:77:3", + "src": "679:77:1", "visibility": "internal" }, { "body": { - "id": 710, + "id": 673, "nodeType": "Block", - "src": "797:51:3", + "src": "797:51:1", "statements": [ { "expression": { @@ -1109,18 +1067,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 705, + "id": 668, "name": "isSuccessful", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 898, - "src": "815:12:3", + "referencedDeclaration": 861, + "src": "815:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 706, + "id": 669, "isConstant": false, "isLValue": false, "isPure": false, @@ -1128,7 +1086,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "815:14:3", + "src": "815:14:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1142,21 +1100,21 @@ "typeString": "bool" } ], - "id": 704, + "id": 667, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "807:7:3", + "referencedDeclaration": 1171, + "src": "807:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 707, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -1164,41 +1122,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "807:23:3", + "src": "807:23:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 708, + "id": 671, "nodeType": "ExpressionStatement", - "src": "807:23:3" + "src": "807:23:1" }, { - "id": 709, + "id": 672, "nodeType": "PlaceholderStatement", - "src": "840:1:3" + "src": "840:1:1" } ] }, "documentation": null, - "id": 711, + "id": 674, "name": "whenCrowdsaleSuccessful", "nodeType": "ModifierDefinition", "parameters": { - "id": 703, + "id": 666, "nodeType": "ParameterList", "parameters": [], - "src": "794:2:3" + "src": "794:2:1" }, - "src": "762:86:3", + "src": "762:86:1", "visibility": "internal" }, { "body": { - "id": 719, + "id": 682, "nodeType": "Block", - "src": "878:45:3", + "src": "878:45:1", "statements": [ { "expression": { @@ -1206,7 +1164,7 @@ "arguments": [ { "argumentTypes": null, - "id": 715, + "id": 678, "isConstant": false, "isLValue": false, "isPure": false, @@ -1214,15 +1172,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "896:8:3", + "src": "896:8:1", "subExpression": { "argumentTypes": null, - "id": 714, + "id": 677, "name": "stopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "897:7:3", + "referencedDeclaration": 742, + "src": "897:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1241,21 +1199,21 @@ "typeString": "bool" } ], - "id": 713, + "id": 676, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "888:7:3", + "referencedDeclaration": 1171, + "src": "888:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 716, + "id": 679, "isConstant": false, "isLValue": false, "isPure": false, @@ -1263,41 +1221,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "888:17:3", + "src": "888:17:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 717, + "id": 680, "nodeType": "ExpressionStatement", - "src": "888:17:3" + "src": "888:17:1" }, { - "id": 718, + "id": 681, "nodeType": "PlaceholderStatement", - "src": "915:1:3" + "src": "915:1:1" } ] }, "documentation": null, - "id": 720, + "id": 683, "name": "hasntStopped", "nodeType": "ModifierDefinition", "parameters": { - "id": 712, + "id": 675, "nodeType": "ParameterList", "parameters": [], - "src": "875:2:3" + "src": "875:2:1" }, - "src": "854:69:3", + "src": "854:69:1", "visibility": "internal" }, { "body": { - "id": 728, + "id": 691, "nodeType": "Block", - "src": "953:45:3", + "src": "953:45:1", "statements": [ { "expression": { @@ -1305,7 +1263,7 @@ "arguments": [ { "argumentTypes": null, - "id": 724, + "id": 687, "isConstant": false, "isLValue": false, "isPure": false, @@ -1313,15 +1271,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "971:8:3", + "src": "971:8:1", "subExpression": { "argumentTypes": null, - "id": 723, + "id": 686, "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, - "src": "972:7:3", + "referencedDeclaration": 740, + "src": "972:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1340,21 +1298,21 @@ "typeString": "bool" } ], - "id": 722, + "id": 685, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "963:7:3", + "referencedDeclaration": 1171, + "src": "963:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 725, + "id": 688, "isConstant": false, "isLValue": false, "isPure": false, @@ -1362,41 +1320,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "963:17:3", + "src": "963:17:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 726, + "id": 689, "nodeType": "ExpressionStatement", - "src": "963:17:3" + "src": "963:17:1" }, { - "id": 727, + "id": 690, "nodeType": "PlaceholderStatement", - "src": "990:1:3" + "src": "990:1:1" } ] }, "documentation": null, - "id": 729, + "id": 692, "name": "hasntStarted", "nodeType": "ModifierDefinition", "parameters": { - "id": 721, + "id": 684, "nodeType": "ParameterList", "parameters": [], - "src": "950:2:3" + "src": "950:2:1" }, - "src": "929:69:3", + "src": "929:69:1", "visibility": "internal" }, { "body": { - "id": 736, + "id": 699, "nodeType": "Block", - "src": "1030:44:3", + "src": "1030:44:1", "statements": [ { "expression": { @@ -1404,12 +1362,12 @@ "arguments": [ { "argumentTypes": null, - "id": 732, + "id": 695, "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, - "src": "1048:7:3", + "referencedDeclaration": 740, + "src": "1048:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1423,21 +1381,21 @@ "typeString": "bool" } ], - "id": 731, + "id": 694, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1040:7:3", + "referencedDeclaration": 1171, + "src": "1040:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 733, + "id": 696, "isConstant": false, "isLValue": false, "isPure": false, @@ -1445,41 +1403,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1040:16:3", + "src": "1040:16:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 734, + "id": 697, "nodeType": "ExpressionStatement", - "src": "1040:16:3" + "src": "1040:16:1" }, { - "id": 735, + "id": 698, "nodeType": "PlaceholderStatement", - "src": "1066:1:3" + "src": "1066:1:1" } ] }, "documentation": null, - "id": 737, + "id": 700, "name": "hasBeenStarted", "nodeType": "ModifierDefinition", "parameters": { - "id": 730, + "id": 693, "nodeType": "ParameterList", "parameters": [], - "src": "1027:2:3" + "src": "1027:2:1" }, - "src": "1004:70:3", + "src": "1004:70:1", "visibility": "internal" }, { "body": { - "id": 747, + "id": 710, "nodeType": "Block", - "src": "1101:58:3", + "src": "1101:58:1", "statements": [ { "expression": { @@ -1491,7 +1449,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 743, + "id": 706, "isConstant": false, "isLValue": false, "isPure": false, @@ -1500,18 +1458,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 740, + "id": 703, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "1119:3:3", + "referencedDeclaration": 1168, + "src": "1119:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 741, + "id": 704, "isConstant": false, "isLValue": false, "isPure": false, @@ -1519,7 +1477,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1119:10:3", + "src": "1119:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1529,18 +1487,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 742, + "id": 705, "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "1133:7:3", + "referencedDeclaration": 738, + "src": "1133:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1119:21:3", + "src": "1119:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1554,21 +1512,21 @@ "typeString": "bool" } ], - "id": 739, + "id": 702, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1111:7:3", + "referencedDeclaration": 1171, + "src": "1111:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 744, + "id": 707, "isConstant": false, "isLValue": false, "isPure": false, @@ -1576,41 +1534,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1111:30:3", + "src": "1111:30:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 745, + "id": 708, "nodeType": "ExpressionStatement", - "src": "1111:30:3" + "src": "1111:30:1" }, { - "id": 746, + "id": 709, "nodeType": "PlaceholderStatement", - "src": "1151:1:3" + "src": "1151:1:1" } ] }, "documentation": null, - "id": 748, + "id": 711, "name": "onlyManager", "nodeType": "ModifierDefinition", "parameters": { - "id": 738, + "id": 701, "nodeType": "ParameterList", "parameters": [], - "src": "1101:0:3" + "src": "1101:0:1" }, - "src": "1080:79:3", + "src": "1080:79:1", "visibility": "internal" }, { "body": { - "id": 763, + "id": 726, "nodeType": "Block", - "src": "1195:81:3", + "src": "1195:81:1", "statements": [ { "expression": { @@ -1622,7 +1580,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 759, + "id": 722, "isConstant": false, "isLValue": false, "isPure": false, @@ -1633,7 +1591,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 754, + "id": 717, "isConstant": false, "isLValue": false, "isPure": false, @@ -1642,18 +1600,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 751, + "id": 714, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "1213:3:3", + "referencedDeclaration": 1168, + "src": "1213:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 752, + "id": 715, "isConstant": false, "isLValue": false, "isPure": false, @@ -1661,7 +1619,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1213:10:3", + "src": "1213:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1671,18 +1629,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 753, + "id": 716, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "1227:5:3", + "referencedDeclaration": 995, + "src": "1227:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1213:19:3", + "src": "1213:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1696,7 +1654,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 758, + "id": 721, "isConstant": false, "isLValue": false, "isPure": false, @@ -1705,18 +1663,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 755, + "id": 718, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "1236:3:3", + "referencedDeclaration": 1168, + "src": "1236:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 756, + "id": 719, "isConstant": false, "isLValue": false, "isPure": false, @@ -1724,7 +1682,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1236:10:3", + "src": "1236:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1734,24 +1692,24 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 757, + "id": 720, "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "1250:7:3", + "referencedDeclaration": 738, + "src": "1250:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1236:21:3", + "src": "1236:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1213:44:3", + "src": "1213:44:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1765,21 +1723,21 @@ "typeString": "bool" } ], - "id": 750, + "id": 713, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1205:7:3", + "referencedDeclaration": 1171, + "src": "1205:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 760, + "id": 723, "isConstant": false, "isLValue": false, "isPure": false, @@ -1787,41 +1745,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1205:53:3", + "src": "1205:53:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 761, + "id": 724, "nodeType": "ExpressionStatement", - "src": "1205:53:3" + "src": "1205:53:1" }, { - "id": 762, + "id": 725, "nodeType": "PlaceholderStatement", - "src": "1268:1:3" + "src": "1268:1:1" } ] }, "documentation": null, - "id": 764, + "id": 727, "name": "onlyOwnerOrManager", "nodeType": "ModifierDefinition", "parameters": { - "id": 749, + "id": 712, "nodeType": "ParameterList", "parameters": [], - "src": "1192:2:3" + "src": "1192:2:1" }, - "src": "1165:111:3", + "src": "1165:111:1", "visibility": "internal" }, { "body": { - "id": 772, + "id": 735, "nodeType": "Block", - "src": "1305:47:3", + "src": "1305:47:1", "statements": [ { "expression": { @@ -1829,7 +1787,7 @@ "arguments": [ { "argumentTypes": null, - "id": 768, + "id": 731, "isConstant": false, "isLValue": false, "isPure": false, @@ -1837,15 +1795,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1323:10:3", + "src": "1323:10:1", "subExpression": { "argumentTypes": null, - "id": 767, + "id": 730, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, - "src": "1324:9:3", + "referencedDeclaration": 760, + "src": "1324:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1864,21 +1822,21 @@ "typeString": "bool" } ], - "id": 766, + "id": 729, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1315:7:3", + "referencedDeclaration": 1171, + "src": "1315:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 769, + "id": 732, "isConstant": false, "isLValue": false, "isPure": false, @@ -1886,43 +1844,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1315:19:3", + "src": "1315:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 770, + "id": 733, "nodeType": "ExpressionStatement", - "src": "1315:19:3" + "src": "1315:19:1" }, { - "id": 771, + "id": 734, "nodeType": "PlaceholderStatement", - "src": "1344:1:3" + "src": "1344:1:1" } ] }, "documentation": null, - "id": 773, + "id": 736, "name": "uncompleted", "nodeType": "ModifierDefinition", "parameters": { - "id": 765, + "id": 728, "nodeType": "ParameterList", "parameters": [], - "src": "1302:2:3" + "src": "1302:2:1" }, - "src": "1282:70:3", + "src": "1282:70:1", "visibility": "internal" }, { "constant": false, - "id": 775, + "id": 738, "name": "manager", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1358:22:3", + "scope": 870, + "src": "1358:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1930,10 +1888,10 @@ "typeString": "address" }, "typeName": { - "id": 774, + "id": 737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1358:7:3", + "src": "1358:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1944,11 +1902,11 @@ }, { "constant": false, - "id": 777, + "id": 740, "name": "started", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1387:19:3", + "scope": 870, + "src": "1387:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1956,10 +1914,10 @@ "typeString": "bool" }, "typeName": { - "id": 776, + "id": 739, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1387:4:3", + "src": "1387:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1970,11 +1928,11 @@ }, { "constant": false, - "id": 779, + "id": 742, "name": "stopped", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1412:19:3", + "scope": 870, + "src": "1412:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1982,10 +1940,10 @@ "typeString": "bool" }, "typeName": { - "id": 778, + "id": 741, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1412:4:3", + "src": "1412:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1996,11 +1954,11 @@ }, { "constant": false, - "id": 781, + "id": 744, "name": "totalCollected", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1488:29:3", + "scope": 870, + "src": "1488:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2008,10 +1966,10 @@ "typeString": "uint256" }, "typeName": { - "id": 780, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1488:7:3", + "src": "1488:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2022,11 +1980,11 @@ }, { "constant": false, - "id": 783, + "id": 746, "name": "totalCollectedETH", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1553:32:3", + "scope": 870, + "src": "1553:32:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2034,10 +1992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 782, + "id": 745, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1553:7:3", + "src": "1553:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2048,11 +2006,11 @@ }, { "constant": false, - "id": 785, + "id": 748, "name": "totalSold", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1685:24:3", + "scope": 870, + "src": "1685:24:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2060,10 +2018,10 @@ "typeString": "uint256" }, "typeName": { - "id": 784, + "id": 747, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1685:7:3", + "src": "1685:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2074,11 +2032,11 @@ }, { "constant": false, - "id": 787, + "id": 750, "name": "minimalGoal", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1739:26:3", + "scope": 870, + "src": "1739:26:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2086,10 +2044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 786, + "id": 749, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1739:7:3", + "src": "1739:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2100,11 +2058,11 @@ }, { "constant": false, - "id": 789, + "id": 752, "name": "hardCap", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1771:22:3", + "scope": 870, + "src": "1771:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2112,10 +2070,10 @@ "typeString": "uint256" }, "typeName": { - "id": 788, + "id": 751, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1771:7:3", + "src": "1771:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2126,11 +2084,11 @@ }, { "constant": false, - "id": 791, + "id": 754, "name": "startTimestamp", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1828:29:3", + "scope": 870, + "src": "1828:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2138,10 +2096,10 @@ "typeString": "uint256" }, "typeName": { - "id": 790, + "id": 753, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1828:7:3", + "src": "1828:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2152,11 +2110,11 @@ }, { "constant": false, - "id": 793, + "id": 756, "name": "endTimestamp", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1863:27:3", + "scope": 870, + "src": "1863:27:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2164,10 +2122,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 755, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1863:7:3", + "src": "1863:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2178,26 +2136,26 @@ }, { "constant": false, - "id": 795, + "id": 758, "name": "token", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1944:19:3", + "scope": 870, + "src": "1944:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" }, "typeName": { "contractScope": null, - "id": 794, + "id": 757, "name": "DetailedERC20", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1308, - "src": "1944:13:3", + "referencedDeclaration": 1081, + "src": "1944:13:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -2206,11 +2164,11 @@ }, { "constant": false, - "id": 797, + "id": 760, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1994:21:3", + "scope": 870, + "src": "1994:14:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2218,25 +2176,25 @@ "typeString": "bool" }, "typeName": { - "id": 796, + "id": 759, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1994:4:3", + "src": "1994:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "constant": false, - "id": 799, + "id": 762, "name": "failed", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "2021:18:3", + "scope": 870, + "src": "2014:11:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2244,25 +2202,25 @@ "typeString": "bool" }, "typeName": { - "id": 798, + "id": 761, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2021:4:3", + "src": "2014:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "constant": false, - "id": 801, + "id": 764, "name": "notifiedSale", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "2123:24:3", + "scope": 870, + "src": "2109:17:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2270,23 +2228,23 @@ "typeString": "bool" }, "typeName": { - "id": 800, + "id": 763, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2123:4:3", + "src": "2109:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "body": { - "id": 820, + "id": 783, "nodeType": "Block", - "src": "2221:82:3", + "src": "2200:82:1", "statements": [ { "expression": { @@ -2298,19 +2256,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 813, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 809, + "id": 772, "name": "_newManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 803, - "src": "2239:11:3", + "referencedDeclaration": 766, + "src": "2218:11:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2324,14 +2282,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 811, + "id": 774, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2262:1:3", + "src": "2241:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -2347,20 +2305,20 @@ "typeString": "int_const 0" } ], - "id": 810, + "id": 773, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2254:7:3", + "src": "2233:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 812, + "id": 775, "isConstant": false, "isLValue": false, "isPure": true, @@ -2368,13 +2326,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2254:10:3", + "src": "2233:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2239:25:3", + "src": "2218:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2388,21 +2346,21 @@ "typeString": "bool" } ], - "id": 808, + "id": 771, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "2231:7:3", + "referencedDeclaration": 1171, + "src": "2210:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 814, + "id": 777, "isConstant": false, "isLValue": false, "isPure": false, @@ -2410,32 +2368,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2231:34:3", + "src": "2210:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 815, + "id": 778, "nodeType": "ExpressionStatement", - "src": "2231:34:3" + "src": "2210:34:1" }, { "expression": { "argumentTypes": null, - "id": 818, + "id": 781, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 816, + "id": 779, "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "2275:7:3", + "referencedDeclaration": 738, + "src": "2254:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2445,68 +2403,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 817, + "id": 780, "name": "_newManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 803, - "src": "2285:11:3", + "referencedDeclaration": 766, + "src": "2264:11:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2275:21:3", + "src": "2254:21:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 819, + "id": 782, "nodeType": "ExpressionStatement", - "src": "2275:21:3" + "src": "2254:21:1" } ] }, "documentation": null, - "id": 821, + "id": 784, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": [], - "id": 806, + "id": 769, "modifierName": { "argumentTypes": null, - "id": 805, + "id": 768, "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, - "src": "2207:11:3", + "referencedDeclaration": 711, + "src": "2186:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "2207:13:3" + "src": "2186:13:1" } ], "name": "transferManager", "nodeType": "FunctionDefinition", "parameters": { - "id": 804, + "id": 767, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 803, + "id": 766, "name": "_newManager", "nodeType": "VariableDeclaration", - "scope": 821, - "src": "2179:19:3", + "scope": 784, + "src": "2158:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2514,10 +2472,10 @@ "typeString": "address" }, "typeName": { - "id": 802, + "id": 765, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2179:7:3", + "src": "2158:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2527,17 +2485,17 @@ "visibility": "internal" } ], - "src": "2178:21:3" + "src": "2157:21:1" }, "payable": false, "returnParameters": { - "id": 807, + "id": 770, "nodeType": "ParameterList", "parameters": [], - "src": "2221:0:3" + "src": "2200:0:1" }, - "scope": 907, - "src": "2154:149:3", + "scope": 870, + "src": "2133:149:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2545,7 +2503,7 @@ { "body": null, "documentation": null, - "id": 826, + "id": 789, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -2553,23 +2511,23 @@ "name": "getToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 822, + "id": 785, "nodeType": "ParameterList", "parameters": [], - "src": "2326:2:3" + "src": "2305:2:1" }, "payable": false, "returnParameters": { - "id": 825, + "id": 788, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 824, + "id": 787, "name": "", "nodeType": "VariableDeclaration", - "scope": 826, - "src": "2350:7:3", + "scope": 789, + "src": "2329:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2577,10 +2535,10 @@ "typeString": "address" }, "typeName": { - "id": 823, + "id": 786, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2350:7:3", + "src": "2329:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2590,10 +2548,10 @@ "visibility": "internal" } ], - "src": "2349:9:3" + "src": "2328:9:1" }, - "scope": 907, - "src": "2309:50:3", + "scope": 870, + "src": "2288:50:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -2601,7 +2559,7 @@ { "body": null, "documentation": null, - "id": 831, + "id": 794, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -2609,16 +2567,16 @@ "name": "changeToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 829, + "id": 792, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 828, + "id": 791, "name": "_newToken", "nodeType": "VariableDeclaration", - "scope": 831, - "src": "2385:17:3", + "scope": 794, + "src": "2364:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2626,10 +2584,10 @@ "typeString": "address" }, "typeName": { - "id": 827, + "id": 790, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2385:7:3", + "src": "2364:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2639,17 +2597,17 @@ "visibility": "internal" } ], - "src": "2384:19:3" + "src": "2363:19:1" }, "payable": false, "returnParameters": { - "id": 830, + "id": 793, "nodeType": "ParameterList", "parameters": [], - "src": "2410:0:3" + "src": "2389:0:1" }, - "scope": 907, - "src": "2364:47:3", + "scope": 870, + "src": "2343:47:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2657,7 +2615,7 @@ { "body": null, "documentation": null, - "id": 838, + "id": 801, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -2665,16 +2623,16 @@ "name": "setCrowdsaleGoal", "nodeType": "FunctionDefinition", "parameters": { - "id": 836, + "id": 799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 833, + "id": 796, "name": "_minimalGoal", "nodeType": "VariableDeclaration", - "scope": 838, - "src": "2442:20:3", + "scope": 801, + "src": "2421:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2682,10 +2640,10 @@ "typeString": "uint256" }, "typeName": { - "id": 832, + "id": 795, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2442:7:3", + "src": "2421:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2696,11 +2654,11 @@ }, { "constant": false, - "id": 835, + "id": 798, "name": "_hardCap", "nodeType": "VariableDeclaration", - "scope": 838, - "src": "2464:16:3", + "scope": 801, + "src": "2443:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2708,10 +2666,10 @@ "typeString": "uint256" }, "typeName": { - "id": 834, + "id": 797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2464:7:3", + "src": "2443:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2721,17 +2679,17 @@ "visibility": "internal" } ], - "src": "2441:40:3" + "src": "2420:40:1" }, "payable": false, "returnParameters": { - "id": 837, + "id": 800, "nodeType": "ParameterList", "parameters": [], - "src": "2488:0:3" + "src": "2467:0:1" }, - "scope": 907, - "src": "2416:73:3", + "scope": 870, + "src": "2395:73:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2739,7 +2697,7 @@ { "body": null, "documentation": null, - "id": 845, + "id": 808, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -2747,16 +2705,16 @@ "name": "setCrowdsalePeriod", "nodeType": "FunctionDefinition", "parameters": { - "id": 843, + "id": 806, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 840, + "id": 803, "name": "_startTimestamp", "nodeType": "VariableDeclaration", - "scope": 845, - "src": "2522:23:3", + "scope": 808, + "src": "2501:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2764,10 +2722,10 @@ "typeString": "uint256" }, "typeName": { - "id": 839, + "id": 802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2522:7:3", + "src": "2501:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2778,11 +2736,11 @@ }, { "constant": false, - "id": 842, + "id": 805, "name": "_endTimestamp", "nodeType": "VariableDeclaration", - "scope": 845, - "src": "2547:21:3", + "scope": 808, + "src": "2526:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2790,10 +2748,10 @@ "typeString": "uint256" }, "typeName": { - "id": 841, + "id": 804, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2547:7:3", + "src": "2526:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2803,17 +2761,17 @@ "visibility": "internal" } ], - "src": "2521:48:3" + "src": "2500:48:1" }, "payable": false, "returnParameters": { - "id": 844, + "id": 807, "nodeType": "ParameterList", "parameters": [], - "src": "2576:0:3" + "src": "2555:0:1" }, - "scope": 907, - "src": "2494:83:3", + "scope": 870, + "src": "2473:83:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2821,7 +2779,7 @@ { "body": null, "documentation": null, - "id": 854, + "id": 817, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -2829,16 +2787,16 @@ "name": "notifySale", "nodeType": "FunctionDefinition", "parameters": { - "id": 852, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 847, + "id": 810, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 854, - "src": "2602:15:3", + "scope": 817, + "src": "2581:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2846,10 +2804,10 @@ "typeString": "uint256" }, "typeName": { - "id": 846, + "id": 809, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2602:7:3", + "src": "2581:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2860,11 +2818,11 @@ }, { "constant": false, - "id": 849, + "id": 812, "name": "_ethAmount", "nodeType": "VariableDeclaration", - "scope": 854, - "src": "2619:18:3", + "scope": 817, + "src": "2598:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2872,10 +2830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 848, + "id": 811, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2619:7:3", + "src": "2598:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2886,11 +2844,11 @@ }, { "constant": false, - "id": 851, + "id": 814, "name": "_tokensAmount", "nodeType": "VariableDeclaration", - "scope": 854, - "src": "2639:21:3", + "scope": 817, + "src": "2618:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2898,10 +2856,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 813, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2639:7:3", + "src": "2618:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2911,17 +2869,17 @@ "visibility": "internal" } ], - "src": "2601:60:3" + "src": "2580:60:1" }, "payable": false, "returnParameters": { - "id": 853, + "id": 816, "nodeType": "ParameterList", "parameters": [], - "src": "2668:0:3" + "src": "2647:0:1" }, - "scope": 907, - "src": "2582:87:3", + "scope": 870, + "src": "2561:87:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2929,7 +2887,7 @@ { "body": null, "documentation": null, - "id": 861, + "id": 824, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -2937,23 +2895,23 @@ "name": "calculateRewards", "nodeType": "FunctionDefinition", "parameters": { - "id": 855, + "id": 818, "nodeType": "ParameterList", "parameters": [], - "src": "2699:2:3" + "src": "2678:2:1" }, "payable": false, "returnParameters": { - "id": 860, + "id": 823, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 857, + "id": 820, "name": "", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "2723:7:3", + "scope": 824, + "src": "2702:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2961,10 +2919,10 @@ "typeString": "uint256" }, "typeName": { - "id": 856, + "id": 819, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2723:7:3", + "src": "2702:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2975,11 +2933,11 @@ }, { "constant": false, - "id": 859, + "id": 822, "name": "", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "2732:7:3", + "scope": 824, + "src": "2711:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2987,10 +2945,10 @@ "typeString": "uint256" }, "typeName": { - "id": 858, + "id": 821, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2732:7:3", + "src": "2711:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3000,10 +2958,10 @@ "visibility": "internal" } ], - "src": "2722:18:3" + "src": "2701:18:1" }, - "scope": 907, - "src": "2674:67:3", + "scope": 870, + "src": "2653:67:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3011,7 +2969,7 @@ { "body": null, "documentation": null, - "id": 864, + "id": 827, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -3019,20 +2977,20 @@ "name": "finish", "nodeType": "FunctionDefinition", "parameters": { - "id": 862, + "id": 825, "nodeType": "ParameterList", "parameters": [], - "src": "2761:2:3" + "src": "2740:2:1" }, "payable": false, "returnParameters": { - "id": 863, + "id": 826, "nodeType": "ParameterList", "parameters": [], - "src": "2770:0:3" + "src": "2749:0:1" }, - "scope": 907, - "src": "2746:25:3", + "scope": 870, + "src": "2725:25:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3040,7 +2998,7 @@ { "body": null, "documentation": null, - "id": 871, + "id": 834, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -3048,16 +3006,16 @@ "name": "withdraw", "nodeType": "FunctionDefinition", "parameters": { - "id": 869, + "id": 832, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 866, + "id": 829, "name": "_ethAmount", "nodeType": "VariableDeclaration", - "scope": 871, - "src": "2794:18:3", + "scope": 834, + "src": "2773:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3065,10 +3023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 865, + "id": 828, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2794:7:3", + "src": "2773:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3079,11 +3037,11 @@ }, { "constant": false, - "id": 868, + "id": 831, "name": "_tokenAmount", "nodeType": "VariableDeclaration", - "scope": 871, - "src": "2814:20:3", + "scope": 834, + "src": "2793:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3091,10 +3049,10 @@ "typeString": "uint256" }, "typeName": { - "id": 867, + "id": 830, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2814:7:3", + "src": "2793:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3104,17 +3062,17 @@ "visibility": "internal" } ], - "src": "2793:42:3" + "src": "2772:42:1" }, "payable": false, "returnParameters": { - "id": 870, + "id": 833, "nodeType": "ParameterList", "parameters": [], - "src": "2842:0:3" + "src": "2821:0:1" }, - "scope": 907, - "src": "2776:67:3", + "scope": 870, + "src": "2755:67:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3122,7 +3080,7 @@ { "body": null, "documentation": null, - "id": 874, + "id": 837, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -3130,20 +3088,20 @@ "name": "stop", "nodeType": "FunctionDefinition", "parameters": { - "id": 872, + "id": 835, "nodeType": "ParameterList", "parameters": [], - "src": "2861:2:3" + "src": "2840:2:1" }, "payable": false, "returnParameters": { - "id": 873, + "id": 836, "nodeType": "ParameterList", "parameters": [], - "src": "2870:0:3" + "src": "2849:0:1" }, - "scope": 907, - "src": "2848:23:3", + "scope": 870, + "src": "2827:23:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3151,7 +3109,7 @@ { "body": null, "documentation": null, - "id": 883, + "id": 846, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -3159,16 +3117,16 @@ "name": "start", "nodeType": "FunctionDefinition", "parameters": { - "id": 881, + "id": 844, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 876, + "id": 839, "name": "_startTimestamp", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "2891:23:3", + "scope": 846, + "src": "2870:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3176,10 +3134,10 @@ "typeString": "uint256" }, "typeName": { - "id": 875, + "id": 838, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2891:7:3", + "src": "2870:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3190,11 +3148,11 @@ }, { "constant": false, - "id": 878, + "id": 841, "name": "_endTimestamp", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "2916:21:3", + "scope": 846, + "src": "2895:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3202,10 +3160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 877, + "id": 840, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2916:7:3", + "src": "2895:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3216,11 +3174,11 @@ }, { "constant": false, - "id": 880, + "id": 843, "name": "_fundingAddress", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "2939:23:3", + "scope": 846, + "src": "2918:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3228,10 +3186,10 @@ "typeString": "address" }, "typeName": { - "id": 879, + "id": 842, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2939:7:3", + "src": "2918:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3241,17 +3199,17 @@ "visibility": "internal" } ], - "src": "2890:73:3" + "src": "2869:73:1" }, "payable": false, "returnParameters": { - "id": 882, + "id": 845, "nodeType": "ParameterList", "parameters": [], - "src": "2970:0:3" + "src": "2949:0:1" }, - "scope": 907, - "src": "2876:95:3", + "scope": 870, + "src": "2855:95:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3259,7 +3217,7 @@ { "body": null, "documentation": null, - "id": 888, + "id": 851, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -3267,23 +3225,23 @@ "name": "isFailed", "nodeType": "FunctionDefinition", "parameters": { - "id": 884, + "id": 847, "nodeType": "ParameterList", "parameters": [], - "src": "2993:2:3" + "src": "2972:2:1" }, "payable": false, "returnParameters": { - "id": 887, + "id": 850, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 886, + "id": 849, "name": "", "nodeType": "VariableDeclaration", - "scope": 888, - "src": "3017:4:3", + "scope": 851, + "src": "2996:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3291,10 +3249,10 @@ "typeString": "bool" }, "typeName": { - "id": 885, + "id": 848, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3017:4:3", + "src": "2996:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3304,10 +3262,10 @@ "visibility": "internal" } ], - "src": "3016:6:3" + "src": "2995:6:1" }, - "scope": 907, - "src": "2976:47:3", + "scope": 870, + "src": "2955:47:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3315,7 +3273,7 @@ { "body": null, "documentation": null, - "id": 893, + "id": 856, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -3323,23 +3281,23 @@ "name": "isActive", "nodeType": "FunctionDefinition", "parameters": { - "id": 889, + "id": 852, "nodeType": "ParameterList", "parameters": [], - "src": "3045:2:3" + "src": "3024:2:1" }, "payable": false, "returnParameters": { - "id": 892, + "id": 855, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 891, + "id": 854, "name": "", "nodeType": "VariableDeclaration", - "scope": 893, - "src": "3069:4:3", + "scope": 856, + "src": "3048:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3347,10 +3305,10 @@ "typeString": "bool" }, "typeName": { - "id": 890, + "id": 853, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3069:4:3", + "src": "3048:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3360,10 +3318,10 @@ "visibility": "internal" } ], - "src": "3068:6:3" + "src": "3047:6:1" }, - "scope": 907, - "src": "3028:47:3", + "scope": 870, + "src": "3007:47:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3371,7 +3329,7 @@ { "body": null, "documentation": null, - "id": 898, + "id": 861, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -3379,23 +3337,23 @@ "name": "isSuccessful", "nodeType": "FunctionDefinition", "parameters": { - "id": 894, + "id": 857, "nodeType": "ParameterList", "parameters": [], - "src": "3101:2:3" + "src": "3080:2:1" }, "payable": false, "returnParameters": { - "id": 897, + "id": 860, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 896, + "id": 859, "name": "", "nodeType": "VariableDeclaration", - "scope": 898, - "src": "3125:4:3", + "scope": 861, + "src": "3104:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3403,10 +3361,10 @@ "typeString": "bool" }, "typeName": { - "id": 895, + "id": 858, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3125:4:3", + "src": "3104:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3416,23 +3374,23 @@ "visibility": "internal" } ], - "src": "3124:6:3" + "src": "3103:6:1" }, - "scope": 907, - "src": "3080:51:3", + "scope": 870, + "src": "3059:51:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 901, + "id": 864, "nodeType": "Block", - "src": "3169:2:3", + "src": "3148:2:1", "statements": [] }, "documentation": null, - "id": 902, + "id": 865, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3440,33 +3398,33 @@ "name": "releaseTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 899, + "id": 862, "nodeType": "ParameterList", "parameters": [], - "src": "3159:2:3" + "src": "3138:2:1" }, "payable": false, "returnParameters": { - "id": 900, + "id": 863, "nodeType": "ParameterList", "parameters": [], - "src": "3169:0:3" + "src": "3148:0:1" }, - "scope": 907, - "src": "3137:34:3", + "scope": 870, + "src": "3116:34:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 905, + "id": 868, "nodeType": "Block", - "src": "3210:2:3", + "src": "3189:2:1", "statements": [] }, "documentation": null, - "id": 906, + "id": 869, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3474,43 +3432,43 @@ "name": "deposit", "nodeType": "FunctionDefinition", "parameters": { - "id": 903, + "id": 866, "nodeType": "ParameterList", "parameters": [], - "src": "3192:2:3" + "src": "3171:2:1" }, "payable": true, "returnParameters": { - "id": 904, + "id": 867, "nodeType": "ParameterList", "parameters": [], - "src": "3210:0:3" + "src": "3189:0:1" }, - "scope": 907, - "src": "3176:36:3", + "scope": 870, + "src": "3155:36:1", "stateMutability": "payable", "superFunction": null, "visibility": "public" } ], - "scope": 908, - "src": "241:2973:3" + "scope": 871, + "src": "241:2952:1" } ], - "src": "0:3215:3" + "src": "0:3194:1" }, "legacyAST": { "absolutePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/interfaces/IBridge.sol", "exportedSymbols": { "IBridge": [ - 907 + 870 ] }, - "id": 908, + "id": 871, "nodeType": "SourceUnit", "nodes": [ { - "id": 656, + "id": 619, "literals": [ "solidity", "^", @@ -3518,49 +3476,49 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:3" + "src": "0:24:1" }, { "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "id": 657, + "id": 620, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 1189, - "src": "27:59:3", + "scope": 871, + "sourceUnit": 1048, + "src": "27:59:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", "file": "zeppelin-solidity/contracts/math/SafeMath.sol", - "id": 658, + "id": 621, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 1133, - "src": "87:55:3", + "scope": 871, + "sourceUnit": 992, + "src": "87:55:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "zeppelin-solidity/contracts/token/DetailedERC20.sol", "file": "zeppelin-solidity/contracts/token/DetailedERC20.sol", - "id": 659, + "id": 622, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 1309, - "src": "143:61:3", + "scope": 871, + "sourceUnit": 1082, + "src": "143:61:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/interfaces/IWingsController.sol", "file": "./IWingsController.sol", - "id": 660, + "id": 623, "nodeType": "ImportDirective", - "scope": 908, - "sourceUnit": 942, - "src": "206:32:3", + "scope": 871, + "sourceUnit": 894, + "src": "206:32:1", "symbolAliases": [], "unitAlias": "" }, @@ -3570,56 +3528,56 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 661, + "id": 624, "name": "Ownable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1188, - "src": "261:7:3", + "referencedDeclaration": 1047, + "src": "261:7:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$1188", + "typeIdentifier": "t_contract$_Ownable_$1047", "typeString": "contract Ownable" } }, - "id": 662, + "id": 625, "nodeType": "InheritanceSpecifier", - "src": "261:7:3" + "src": "261:7:1" } ], "contractDependencies": [ - 1188 + 1047 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 907, + "id": 870, "linearizedBaseContracts": [ - 907, - 1188 + 870, + 1047 ], "name": "IBridge", "nodeType": "ContractDefinition", "nodes": [ { - "id": 665, + "id": 628, "libraryName": { "contractScope": null, - "id": 663, + "id": 626, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "282:8:3", + "referencedDeclaration": 991, + "src": "282:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1132", + "typeIdentifier": "t_contract$_SafeMath_$991", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "276:27:3", + "src": "276:27:1", "typeName": { - "id": 664, + "id": 627, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "295:7:3", + "src": "295:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3629,21 +3587,21 @@ { "anonymous": false, "documentation": null, - "id": 673, + "id": 636, "name": "CROWDSALE_START", "nodeType": "EventDefinition", "parameters": { - "id": 672, + "id": 635, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 667, + "id": 630, "indexed": false, "name": "startTimestamp", "nodeType": "VariableDeclaration", - "scope": 673, - "src": "331:22:3", + "scope": 636, + "src": "331:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3651,10 +3609,10 @@ "typeString": "uint256" }, "typeName": { - "id": 666, + "id": 629, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "331:7:3", + "src": "331:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3665,12 +3623,12 @@ }, { "constant": false, - "id": 669, + "id": 632, "indexed": false, "name": "endTimestamp", "nodeType": "VariableDeclaration", - "scope": 673, - "src": "355:20:3", + "scope": 636, + "src": "355:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3678,10 +3636,10 @@ "typeString": "uint256" }, "typeName": { - "id": 668, + "id": 631, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "355:7:3", + "src": "355:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3692,12 +3650,12 @@ }, { "constant": false, - "id": 671, + "id": 634, "indexed": false, "name": "fundingAddress", "nodeType": "VariableDeclaration", - "scope": 673, - "src": "377:22:3", + "scope": 636, + "src": "377:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3705,10 +3663,10 @@ "typeString": "address" }, "typeName": { - "id": 670, + "id": 633, "name": "address", "nodeType": "ElementaryTypeName", - "src": "377:7:3", + "src": "377:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3718,28 +3676,28 @@ "visibility": "internal" } ], - "src": "330:70:3" + "src": "330:70:1" }, - "src": "309:92:3" + "src": "309:92:1" }, { "anonymous": false, "documentation": null, - "id": 679, + "id": 642, "name": "CUSTOM_CROWDSALE_TOKEN_ADDED", "nodeType": "EventDefinition", "parameters": { - "id": 678, + "id": 641, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 675, + "id": 638, "indexed": false, "name": "token", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "441:13:3", + "scope": 642, + "src": "441:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3747,10 +3705,10 @@ "typeString": "address" }, "typeName": { - "id": 674, + "id": 637, "name": "address", "nodeType": "ElementaryTypeName", - "src": "441:7:3", + "src": "441:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3761,12 +3719,12 @@ }, { "constant": false, - "id": 677, + "id": 640, "indexed": false, "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "456:14:3", + "scope": 642, + "src": "456:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3774,10 +3732,10 @@ "typeString": "uint8" }, "typeName": { - "id": 676, + "id": 639, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "456:5:3", + "src": "456:5:1", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3787,28 +3745,28 @@ "visibility": "internal" } ], - "src": "440:31:3" + "src": "440:31:1" }, - "src": "406:66:3" + "src": "406:66:1" }, { "anonymous": false, "documentation": null, - "id": 685, + "id": 648, "name": "CUSTOM_CROWDSALE_GOAL_ADDED", "nodeType": "EventDefinition", "parameters": { - "id": 684, + "id": 647, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 681, + "id": 644, "indexed": false, "name": "minimalGoal", "nodeType": "VariableDeclaration", - "scope": 685, - "src": "511:19:3", + "scope": 648, + "src": "511:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3816,10 +3774,10 @@ "typeString": "uint256" }, "typeName": { - "id": 680, + "id": 643, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "511:7:3", + "src": "511:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3830,12 +3788,12 @@ }, { "constant": false, - "id": 683, + "id": 646, "indexed": false, "name": "hardCap", "nodeType": "VariableDeclaration", - "scope": 685, - "src": "532:15:3", + "scope": 648, + "src": "532:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3843,10 +3801,10 @@ "typeString": "uint256" }, "typeName": { - "id": 682, + "id": 645, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "532:7:3", + "src": "532:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3856,28 +3814,28 @@ "visibility": "internal" } ], - "src": "510:38:3" + "src": "510:38:1" }, - "src": "477:72:3" + "src": "477:72:1" }, { "anonymous": false, "documentation": null, - "id": 691, + "id": 654, "name": "CUSTOM_CROWDSALE_PERIOD_ADDED", "nodeType": "EventDefinition", "parameters": { - "id": 690, + "id": 653, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 687, + "id": 650, "indexed": false, "name": "startTimestamp", "nodeType": "VariableDeclaration", - "scope": 691, - "src": "590:22:3", + "scope": 654, + "src": "590:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3885,10 +3843,10 @@ "typeString": "uint256" }, "typeName": { - "id": 686, + "id": 649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "590:7:3", + "src": "590:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3899,12 +3857,12 @@ }, { "constant": false, - "id": 689, + "id": 652, "indexed": false, "name": "endTimestamp", "nodeType": "VariableDeclaration", - "scope": 691, - "src": "614:20:3", + "scope": 654, + "src": "614:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3912,10 +3870,10 @@ "typeString": "uint256" }, "typeName": { - "id": 688, + "id": 651, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "614:7:3", + "src": "614:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3925,29 +3883,29 @@ "visibility": "internal" } ], - "src": "589:46:3" + "src": "589:46:1" }, - "src": "554:82:3" + "src": "554:82:1" }, { "anonymous": false, "documentation": null, - "id": 693, + "id": 656, "name": "CUSTOM_CROWDSALE_FINISH", "nodeType": "EventDefinition", "parameters": { - "id": 692, + "id": 655, "nodeType": "ParameterList", "parameters": [], - "src": "670:2:3" + "src": "670:2:1" }, - "src": "641:32:3" + "src": "641:32:1" }, { "body": { - "id": 701, + "id": 664, "nodeType": "Block", - "src": "709:47:3", + "src": "709:47:1", "statements": [ { "expression": { @@ -3958,18 +3916,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 696, + "id": 659, "name": "isActive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 893, - "src": "727:8:3", + "referencedDeclaration": 856, + "src": "727:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 697, + "id": 660, "isConstant": false, "isLValue": false, "isPure": false, @@ -3977,7 +3935,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "727:10:3", + "src": "727:10:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3991,21 +3949,21 @@ "typeString": "bool" } ], - "id": 695, + "id": 658, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "719:7:3", + "referencedDeclaration": 1171, + "src": "719:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 698, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -4013,41 +3971,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "719:19:3", + "src": "719:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 699, + "id": 662, "nodeType": "ExpressionStatement", - "src": "719:19:3" + "src": "719:19:1" }, { - "id": 700, + "id": 663, "nodeType": "PlaceholderStatement", - "src": "748:1:3" + "src": "748:1:1" } ] }, "documentation": null, - "id": 702, + "id": 665, "name": "whenCrowdsaleAlive", "nodeType": "ModifierDefinition", "parameters": { - "id": 694, + "id": 657, "nodeType": "ParameterList", "parameters": [], - "src": "706:2:3" + "src": "706:2:1" }, - "src": "679:77:3", + "src": "679:77:1", "visibility": "internal" }, { "body": { - "id": 710, + "id": 673, "nodeType": "Block", - "src": "797:51:3", + "src": "797:51:1", "statements": [ { "expression": { @@ -4058,18 +4016,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 705, + "id": 668, "name": "isSuccessful", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 898, - "src": "815:12:3", + "referencedDeclaration": 861, + "src": "815:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 706, + "id": 669, "isConstant": false, "isLValue": false, "isPure": false, @@ -4077,7 +4035,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "815:14:3", + "src": "815:14:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4091,21 +4049,21 @@ "typeString": "bool" } ], - "id": 704, + "id": 667, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "807:7:3", + "referencedDeclaration": 1171, + "src": "807:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 707, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -4113,41 +4071,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "807:23:3", + "src": "807:23:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 708, + "id": 671, "nodeType": "ExpressionStatement", - "src": "807:23:3" + "src": "807:23:1" }, { - "id": 709, + "id": 672, "nodeType": "PlaceholderStatement", - "src": "840:1:3" + "src": "840:1:1" } ] }, "documentation": null, - "id": 711, + "id": 674, "name": "whenCrowdsaleSuccessful", "nodeType": "ModifierDefinition", "parameters": { - "id": 703, + "id": 666, "nodeType": "ParameterList", "parameters": [], - "src": "794:2:3" + "src": "794:2:1" }, - "src": "762:86:3", + "src": "762:86:1", "visibility": "internal" }, { "body": { - "id": 719, + "id": 682, "nodeType": "Block", - "src": "878:45:3", + "src": "878:45:1", "statements": [ { "expression": { @@ -4155,7 +4113,7 @@ "arguments": [ { "argumentTypes": null, - "id": 715, + "id": 678, "isConstant": false, "isLValue": false, "isPure": false, @@ -4163,15 +4121,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "896:8:3", + "src": "896:8:1", "subExpression": { "argumentTypes": null, - "id": 714, + "id": 677, "name": "stopped", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "897:7:3", + "referencedDeclaration": 742, + "src": "897:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4190,21 +4148,21 @@ "typeString": "bool" } ], - "id": 713, + "id": 676, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "888:7:3", + "referencedDeclaration": 1171, + "src": "888:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 716, + "id": 679, "isConstant": false, "isLValue": false, "isPure": false, @@ -4212,41 +4170,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "888:17:3", + "src": "888:17:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 717, + "id": 680, "nodeType": "ExpressionStatement", - "src": "888:17:3" + "src": "888:17:1" }, { - "id": 718, + "id": 681, "nodeType": "PlaceholderStatement", - "src": "915:1:3" + "src": "915:1:1" } ] }, "documentation": null, - "id": 720, + "id": 683, "name": "hasntStopped", "nodeType": "ModifierDefinition", "parameters": { - "id": 712, + "id": 675, "nodeType": "ParameterList", "parameters": [], - "src": "875:2:3" + "src": "875:2:1" }, - "src": "854:69:3", + "src": "854:69:1", "visibility": "internal" }, { "body": { - "id": 728, + "id": 691, "nodeType": "Block", - "src": "953:45:3", + "src": "953:45:1", "statements": [ { "expression": { @@ -4254,7 +4212,7 @@ "arguments": [ { "argumentTypes": null, - "id": 724, + "id": 687, "isConstant": false, "isLValue": false, "isPure": false, @@ -4262,15 +4220,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "971:8:3", + "src": "971:8:1", "subExpression": { "argumentTypes": null, - "id": 723, + "id": 686, "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, - "src": "972:7:3", + "referencedDeclaration": 740, + "src": "972:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4289,21 +4247,21 @@ "typeString": "bool" } ], - "id": 722, + "id": 685, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "963:7:3", + "referencedDeclaration": 1171, + "src": "963:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 725, + "id": 688, "isConstant": false, "isLValue": false, "isPure": false, @@ -4311,41 +4269,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "963:17:3", + "src": "963:17:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 726, + "id": 689, "nodeType": "ExpressionStatement", - "src": "963:17:3" + "src": "963:17:1" }, { - "id": 727, + "id": 690, "nodeType": "PlaceholderStatement", - "src": "990:1:3" + "src": "990:1:1" } ] }, "documentation": null, - "id": 729, + "id": 692, "name": "hasntStarted", "nodeType": "ModifierDefinition", "parameters": { - "id": 721, + "id": 684, "nodeType": "ParameterList", "parameters": [], - "src": "950:2:3" + "src": "950:2:1" }, - "src": "929:69:3", + "src": "929:69:1", "visibility": "internal" }, { "body": { - "id": 736, + "id": 699, "nodeType": "Block", - "src": "1030:44:3", + "src": "1030:44:1", "statements": [ { "expression": { @@ -4353,12 +4311,12 @@ "arguments": [ { "argumentTypes": null, - "id": 732, + "id": 695, "name": "started", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 777, - "src": "1048:7:3", + "referencedDeclaration": 740, + "src": "1048:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4372,21 +4330,21 @@ "typeString": "bool" } ], - "id": 731, + "id": 694, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1040:7:3", + "referencedDeclaration": 1171, + "src": "1040:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 733, + "id": 696, "isConstant": false, "isLValue": false, "isPure": false, @@ -4394,41 +4352,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1040:16:3", + "src": "1040:16:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 734, + "id": 697, "nodeType": "ExpressionStatement", - "src": "1040:16:3" + "src": "1040:16:1" }, { - "id": 735, + "id": 698, "nodeType": "PlaceholderStatement", - "src": "1066:1:3" + "src": "1066:1:1" } ] }, "documentation": null, - "id": 737, + "id": 700, "name": "hasBeenStarted", "nodeType": "ModifierDefinition", "parameters": { - "id": 730, + "id": 693, "nodeType": "ParameterList", "parameters": [], - "src": "1027:2:3" + "src": "1027:2:1" }, - "src": "1004:70:3", + "src": "1004:70:1", "visibility": "internal" }, { "body": { - "id": 747, + "id": 710, "nodeType": "Block", - "src": "1101:58:3", + "src": "1101:58:1", "statements": [ { "expression": { @@ -4440,7 +4398,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 743, + "id": 706, "isConstant": false, "isLValue": false, "isPure": false, @@ -4449,18 +4407,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 740, + "id": 703, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "1119:3:3", + "referencedDeclaration": 1168, + "src": "1119:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 741, + "id": 704, "isConstant": false, "isLValue": false, "isPure": false, @@ -4468,7 +4426,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1119:10:3", + "src": "1119:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4478,18 +4436,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 742, + "id": 705, "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "1133:7:3", + "referencedDeclaration": 738, + "src": "1133:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1119:21:3", + "src": "1119:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4503,21 +4461,21 @@ "typeString": "bool" } ], - "id": 739, + "id": 702, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1111:7:3", + "referencedDeclaration": 1171, + "src": "1111:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 744, + "id": 707, "isConstant": false, "isLValue": false, "isPure": false, @@ -4525,41 +4483,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1111:30:3", + "src": "1111:30:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 745, + "id": 708, "nodeType": "ExpressionStatement", - "src": "1111:30:3" + "src": "1111:30:1" }, { - "id": 746, + "id": 709, "nodeType": "PlaceholderStatement", - "src": "1151:1:3" + "src": "1151:1:1" } ] }, "documentation": null, - "id": 748, + "id": 711, "name": "onlyManager", "nodeType": "ModifierDefinition", "parameters": { - "id": 738, + "id": 701, "nodeType": "ParameterList", "parameters": [], - "src": "1101:0:3" + "src": "1101:0:1" }, - "src": "1080:79:3", + "src": "1080:79:1", "visibility": "internal" }, { "body": { - "id": 763, + "id": 726, "nodeType": "Block", - "src": "1195:81:3", + "src": "1195:81:1", "statements": [ { "expression": { @@ -4571,7 +4529,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 759, + "id": 722, "isConstant": false, "isLValue": false, "isPure": false, @@ -4582,7 +4540,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 754, + "id": 717, "isConstant": false, "isLValue": false, "isPure": false, @@ -4591,18 +4549,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 751, + "id": 714, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "1213:3:3", + "referencedDeclaration": 1168, + "src": "1213:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 752, + "id": 715, "isConstant": false, "isLValue": false, "isPure": false, @@ -4610,7 +4568,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1213:10:3", + "src": "1213:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4620,18 +4578,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 753, + "id": 716, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "1227:5:3", + "referencedDeclaration": 995, + "src": "1227:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1213:19:3", + "src": "1213:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4645,7 +4603,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 758, + "id": 721, "isConstant": false, "isLValue": false, "isPure": false, @@ -4654,18 +4612,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 755, + "id": 718, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "1236:3:3", + "referencedDeclaration": 1168, + "src": "1236:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 756, + "id": 719, "isConstant": false, "isLValue": false, "isPure": false, @@ -4673,7 +4631,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1236:10:3", + "src": "1236:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4683,24 +4641,24 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 757, + "id": 720, "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "1250:7:3", + "referencedDeclaration": 738, + "src": "1250:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1236:21:3", + "src": "1236:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1213:44:3", + "src": "1213:44:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4714,21 +4672,21 @@ "typeString": "bool" } ], - "id": 750, + "id": 713, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1205:7:3", + "referencedDeclaration": 1171, + "src": "1205:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 760, + "id": 723, "isConstant": false, "isLValue": false, "isPure": false, @@ -4736,41 +4694,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1205:53:3", + "src": "1205:53:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 761, + "id": 724, "nodeType": "ExpressionStatement", - "src": "1205:53:3" + "src": "1205:53:1" }, { - "id": 762, + "id": 725, "nodeType": "PlaceholderStatement", - "src": "1268:1:3" + "src": "1268:1:1" } ] }, "documentation": null, - "id": 764, + "id": 727, "name": "onlyOwnerOrManager", "nodeType": "ModifierDefinition", "parameters": { - "id": 749, + "id": 712, "nodeType": "ParameterList", "parameters": [], - "src": "1192:2:3" + "src": "1192:2:1" }, - "src": "1165:111:3", + "src": "1165:111:1", "visibility": "internal" }, { "body": { - "id": 772, + "id": 735, "nodeType": "Block", - "src": "1305:47:3", + "src": "1305:47:1", "statements": [ { "expression": { @@ -4778,7 +4736,7 @@ "arguments": [ { "argumentTypes": null, - "id": 768, + "id": 731, "isConstant": false, "isLValue": false, "isPure": false, @@ -4786,15 +4744,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1323:10:3", + "src": "1323:10:1", "subExpression": { "argumentTypes": null, - "id": 767, + "id": 730, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, - "src": "1324:9:3", + "referencedDeclaration": 760, + "src": "1324:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4813,21 +4771,21 @@ "typeString": "bool" } ], - "id": 766, + "id": 729, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "1315:7:3", + "referencedDeclaration": 1171, + "src": "1315:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 769, + "id": 732, "isConstant": false, "isLValue": false, "isPure": false, @@ -4835,43 +4793,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1315:19:3", + "src": "1315:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 770, + "id": 733, "nodeType": "ExpressionStatement", - "src": "1315:19:3" + "src": "1315:19:1" }, { - "id": 771, + "id": 734, "nodeType": "PlaceholderStatement", - "src": "1344:1:3" + "src": "1344:1:1" } ] }, "documentation": null, - "id": 773, + "id": 736, "name": "uncompleted", "nodeType": "ModifierDefinition", "parameters": { - "id": 765, + "id": 728, "nodeType": "ParameterList", "parameters": [], - "src": "1302:2:3" + "src": "1302:2:1" }, - "src": "1282:70:3", + "src": "1282:70:1", "visibility": "internal" }, { "constant": false, - "id": 775, + "id": 738, "name": "manager", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1358:22:3", + "scope": 870, + "src": "1358:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4879,10 +4837,10 @@ "typeString": "address" }, "typeName": { - "id": 774, + "id": 737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1358:7:3", + "src": "1358:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4893,11 +4851,11 @@ }, { "constant": false, - "id": 777, + "id": 740, "name": "started", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1387:19:3", + "scope": 870, + "src": "1387:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4905,10 +4863,10 @@ "typeString": "bool" }, "typeName": { - "id": 776, + "id": 739, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1387:4:3", + "src": "1387:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4919,11 +4877,11 @@ }, { "constant": false, - "id": 779, + "id": 742, "name": "stopped", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1412:19:3", + "scope": 870, + "src": "1412:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4931,10 +4889,10 @@ "typeString": "bool" }, "typeName": { - "id": 778, + "id": 741, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1412:4:3", + "src": "1412:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4945,11 +4903,11 @@ }, { "constant": false, - "id": 781, + "id": 744, "name": "totalCollected", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1488:29:3", + "scope": 870, + "src": "1488:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4957,10 +4915,10 @@ "typeString": "uint256" }, "typeName": { - "id": 780, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1488:7:3", + "src": "1488:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4971,11 +4929,11 @@ }, { "constant": false, - "id": 783, + "id": 746, "name": "totalCollectedETH", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1553:32:3", + "scope": 870, + "src": "1553:32:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4983,10 +4941,10 @@ "typeString": "uint256" }, "typeName": { - "id": 782, + "id": 745, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1553:7:3", + "src": "1553:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4997,11 +4955,11 @@ }, { "constant": false, - "id": 785, + "id": 748, "name": "totalSold", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1685:24:3", + "scope": 870, + "src": "1685:24:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5009,10 +4967,10 @@ "typeString": "uint256" }, "typeName": { - "id": 784, + "id": 747, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1685:7:3", + "src": "1685:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5023,11 +4981,11 @@ }, { "constant": false, - "id": 787, + "id": 750, "name": "minimalGoal", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1739:26:3", + "scope": 870, + "src": "1739:26:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5035,10 +4993,10 @@ "typeString": "uint256" }, "typeName": { - "id": 786, + "id": 749, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1739:7:3", + "src": "1739:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5049,11 +5007,11 @@ }, { "constant": false, - "id": 789, + "id": 752, "name": "hardCap", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1771:22:3", + "scope": 870, + "src": "1771:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5061,10 +5019,10 @@ "typeString": "uint256" }, "typeName": { - "id": 788, + "id": 751, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1771:7:3", + "src": "1771:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5075,11 +5033,11 @@ }, { "constant": false, - "id": 791, + "id": 754, "name": "startTimestamp", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1828:29:3", + "scope": 870, + "src": "1828:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5087,10 +5045,10 @@ "typeString": "uint256" }, "typeName": { - "id": 790, + "id": 753, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1828:7:3", + "src": "1828:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5101,11 +5059,11 @@ }, { "constant": false, - "id": 793, + "id": 756, "name": "endTimestamp", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1863:27:3", + "scope": 870, + "src": "1863:27:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5113,10 +5071,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 755, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1863:7:3", + "src": "1863:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5127,26 +5085,26 @@ }, { "constant": false, - "id": 795, + "id": 758, "name": "token", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1944:19:3", + "scope": 870, + "src": "1944:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" }, "typeName": { "contractScope": null, - "id": 794, + "id": 757, "name": "DetailedERC20", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1308, - "src": "1944:13:3", + "referencedDeclaration": 1081, + "src": "1944:13:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetailedERC20_$1308", + "typeIdentifier": "t_contract$_DetailedERC20_$1081", "typeString": "contract DetailedERC20" } }, @@ -5155,11 +5113,11 @@ }, { "constant": false, - "id": 797, + "id": 760, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "1994:21:3", + "scope": 870, + "src": "1994:14:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5167,25 +5125,25 @@ "typeString": "bool" }, "typeName": { - "id": 796, + "id": 759, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1994:4:3", + "src": "1994:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "constant": false, - "id": 799, + "id": 762, "name": "failed", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "2021:18:3", + "scope": 870, + "src": "2014:11:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5193,25 +5151,25 @@ "typeString": "bool" }, "typeName": { - "id": 798, + "id": 761, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2021:4:3", + "src": "2014:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "constant": false, - "id": 801, + "id": 764, "name": "notifiedSale", "nodeType": "VariableDeclaration", - "scope": 907, - "src": "2123:24:3", + "scope": 870, + "src": "2109:17:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5219,23 +5177,23 @@ "typeString": "bool" }, "typeName": { - "id": 800, + "id": 763, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2123:4:3", + "src": "2109:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "body": { - "id": 820, + "id": 783, "nodeType": "Block", - "src": "2221:82:3", + "src": "2200:82:1", "statements": [ { "expression": { @@ -5247,19 +5205,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 813, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 809, + "id": 772, "name": "_newManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 803, - "src": "2239:11:3", + "referencedDeclaration": 766, + "src": "2218:11:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5273,14 +5231,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 811, + "id": 774, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2262:1:3", + "src": "2241:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -5296,20 +5254,20 @@ "typeString": "int_const 0" } ], - "id": 810, + "id": 773, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2254:7:3", + "src": "2233:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 812, + "id": 775, "isConstant": false, "isLValue": false, "isPure": true, @@ -5317,13 +5275,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2254:10:3", + "src": "2233:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2239:25:3", + "src": "2218:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5337,21 +5295,21 @@ "typeString": "bool" } ], - "id": 808, + "id": 771, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "2231:7:3", + "referencedDeclaration": 1171, + "src": "2210:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 814, + "id": 777, "isConstant": false, "isLValue": false, "isPure": false, @@ -5359,32 +5317,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2231:34:3", + "src": "2210:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 815, + "id": 778, "nodeType": "ExpressionStatement", - "src": "2231:34:3" + "src": "2210:34:1" }, { "expression": { "argumentTypes": null, - "id": 818, + "id": 781, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 816, + "id": 779, "name": "manager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "2275:7:3", + "referencedDeclaration": 738, + "src": "2254:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5394,68 +5352,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 817, + "id": 780, "name": "_newManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 803, - "src": "2285:11:3", + "referencedDeclaration": 766, + "src": "2264:11:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2275:21:3", + "src": "2254:21:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 819, + "id": 782, "nodeType": "ExpressionStatement", - "src": "2275:21:3" + "src": "2254:21:1" } ] }, "documentation": null, - "id": 821, + "id": 784, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": [], - "id": 806, + "id": 769, "modifierName": { "argumentTypes": null, - "id": 805, + "id": 768, "name": "onlyManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, - "src": "2207:11:3", + "referencedDeclaration": 711, + "src": "2186:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "2207:13:3" + "src": "2186:13:1" } ], "name": "transferManager", "nodeType": "FunctionDefinition", "parameters": { - "id": 804, + "id": 767, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 803, + "id": 766, "name": "_newManager", "nodeType": "VariableDeclaration", - "scope": 821, - "src": "2179:19:3", + "scope": 784, + "src": "2158:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5463,10 +5421,10 @@ "typeString": "address" }, "typeName": { - "id": 802, + "id": 765, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2179:7:3", + "src": "2158:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5476,17 +5434,17 @@ "visibility": "internal" } ], - "src": "2178:21:3" + "src": "2157:21:1" }, "payable": false, "returnParameters": { - "id": 807, + "id": 770, "nodeType": "ParameterList", "parameters": [], - "src": "2221:0:3" + "src": "2200:0:1" }, - "scope": 907, - "src": "2154:149:3", + "scope": 870, + "src": "2133:149:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5494,7 +5452,7 @@ { "body": null, "documentation": null, - "id": 826, + "id": 789, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -5502,23 +5460,23 @@ "name": "getToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 822, + "id": 785, "nodeType": "ParameterList", "parameters": [], - "src": "2326:2:3" + "src": "2305:2:1" }, "payable": false, "returnParameters": { - "id": 825, + "id": 788, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 824, + "id": 787, "name": "", "nodeType": "VariableDeclaration", - "scope": 826, - "src": "2350:7:3", + "scope": 789, + "src": "2329:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5526,10 +5484,10 @@ "typeString": "address" }, "typeName": { - "id": 823, + "id": 786, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2350:7:3", + "src": "2329:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5539,10 +5497,10 @@ "visibility": "internal" } ], - "src": "2349:9:3" + "src": "2328:9:1" }, - "scope": 907, - "src": "2309:50:3", + "scope": 870, + "src": "2288:50:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -5550,7 +5508,7 @@ { "body": null, "documentation": null, - "id": 831, + "id": 794, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -5558,16 +5516,16 @@ "name": "changeToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 829, + "id": 792, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 828, + "id": 791, "name": "_newToken", "nodeType": "VariableDeclaration", - "scope": 831, - "src": "2385:17:3", + "scope": 794, + "src": "2364:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5575,10 +5533,10 @@ "typeString": "address" }, "typeName": { - "id": 827, + "id": 790, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2385:7:3", + "src": "2364:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5588,17 +5546,17 @@ "visibility": "internal" } ], - "src": "2384:19:3" + "src": "2363:19:1" }, "payable": false, "returnParameters": { - "id": 830, + "id": 793, "nodeType": "ParameterList", "parameters": [], - "src": "2410:0:3" + "src": "2389:0:1" }, - "scope": 907, - "src": "2364:47:3", + "scope": 870, + "src": "2343:47:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5606,7 +5564,7 @@ { "body": null, "documentation": null, - "id": 838, + "id": 801, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -5614,16 +5572,16 @@ "name": "setCrowdsaleGoal", "nodeType": "FunctionDefinition", "parameters": { - "id": 836, + "id": 799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 833, + "id": 796, "name": "_minimalGoal", "nodeType": "VariableDeclaration", - "scope": 838, - "src": "2442:20:3", + "scope": 801, + "src": "2421:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5631,10 +5589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 832, + "id": 795, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2442:7:3", + "src": "2421:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5645,11 +5603,11 @@ }, { "constant": false, - "id": 835, + "id": 798, "name": "_hardCap", "nodeType": "VariableDeclaration", - "scope": 838, - "src": "2464:16:3", + "scope": 801, + "src": "2443:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5657,10 +5615,10 @@ "typeString": "uint256" }, "typeName": { - "id": 834, + "id": 797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2464:7:3", + "src": "2443:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5670,17 +5628,17 @@ "visibility": "internal" } ], - "src": "2441:40:3" + "src": "2420:40:1" }, "payable": false, "returnParameters": { - "id": 837, + "id": 800, "nodeType": "ParameterList", "parameters": [], - "src": "2488:0:3" + "src": "2467:0:1" }, - "scope": 907, - "src": "2416:73:3", + "scope": 870, + "src": "2395:73:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5688,7 +5646,7 @@ { "body": null, "documentation": null, - "id": 845, + "id": 808, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -5696,16 +5654,16 @@ "name": "setCrowdsalePeriod", "nodeType": "FunctionDefinition", "parameters": { - "id": 843, + "id": 806, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 840, + "id": 803, "name": "_startTimestamp", "nodeType": "VariableDeclaration", - "scope": 845, - "src": "2522:23:3", + "scope": 808, + "src": "2501:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5713,10 +5671,10 @@ "typeString": "uint256" }, "typeName": { - "id": 839, + "id": 802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2522:7:3", + "src": "2501:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5727,11 +5685,11 @@ }, { "constant": false, - "id": 842, + "id": 805, "name": "_endTimestamp", "nodeType": "VariableDeclaration", - "scope": 845, - "src": "2547:21:3", + "scope": 808, + "src": "2526:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5739,10 +5697,10 @@ "typeString": "uint256" }, "typeName": { - "id": 841, + "id": 804, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2547:7:3", + "src": "2526:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5752,17 +5710,17 @@ "visibility": "internal" } ], - "src": "2521:48:3" + "src": "2500:48:1" }, "payable": false, "returnParameters": { - "id": 844, + "id": 807, "nodeType": "ParameterList", "parameters": [], - "src": "2576:0:3" + "src": "2555:0:1" }, - "scope": 907, - "src": "2494:83:3", + "scope": 870, + "src": "2473:83:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5770,7 +5728,7 @@ { "body": null, "documentation": null, - "id": 854, + "id": 817, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -5778,16 +5736,16 @@ "name": "notifySale", "nodeType": "FunctionDefinition", "parameters": { - "id": 852, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 847, + "id": 810, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 854, - "src": "2602:15:3", + "scope": 817, + "src": "2581:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5795,10 +5753,10 @@ "typeString": "uint256" }, "typeName": { - "id": 846, + "id": 809, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2602:7:3", + "src": "2581:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5809,11 +5767,11 @@ }, { "constant": false, - "id": 849, + "id": 812, "name": "_ethAmount", "nodeType": "VariableDeclaration", - "scope": 854, - "src": "2619:18:3", + "scope": 817, + "src": "2598:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5821,10 +5779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 848, + "id": 811, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2619:7:3", + "src": "2598:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5835,11 +5793,11 @@ }, { "constant": false, - "id": 851, + "id": 814, "name": "_tokensAmount", "nodeType": "VariableDeclaration", - "scope": 854, - "src": "2639:21:3", + "scope": 817, + "src": "2618:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5847,10 +5805,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 813, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2639:7:3", + "src": "2618:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5860,17 +5818,17 @@ "visibility": "internal" } ], - "src": "2601:60:3" + "src": "2580:60:1" }, "payable": false, "returnParameters": { - "id": 853, + "id": 816, "nodeType": "ParameterList", "parameters": [], - "src": "2668:0:3" + "src": "2647:0:1" }, - "scope": 907, - "src": "2582:87:3", + "scope": 870, + "src": "2561:87:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5878,7 +5836,7 @@ { "body": null, "documentation": null, - "id": 861, + "id": 824, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -5886,23 +5844,23 @@ "name": "calculateRewards", "nodeType": "FunctionDefinition", "parameters": { - "id": 855, + "id": 818, "nodeType": "ParameterList", "parameters": [], - "src": "2699:2:3" + "src": "2678:2:1" }, "payable": false, "returnParameters": { - "id": 860, + "id": 823, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 857, + "id": 820, "name": "", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "2723:7:3", + "scope": 824, + "src": "2702:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5910,10 +5868,10 @@ "typeString": "uint256" }, "typeName": { - "id": 856, + "id": 819, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2723:7:3", + "src": "2702:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5924,11 +5882,11 @@ }, { "constant": false, - "id": 859, + "id": 822, "name": "", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "2732:7:3", + "scope": 824, + "src": "2711:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5936,10 +5894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 858, + "id": 821, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2732:7:3", + "src": "2711:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5949,10 +5907,10 @@ "visibility": "internal" } ], - "src": "2722:18:3" + "src": "2701:18:1" }, - "scope": 907, - "src": "2674:67:3", + "scope": 870, + "src": "2653:67:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -5960,7 +5918,7 @@ { "body": null, "documentation": null, - "id": 864, + "id": 827, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -5968,20 +5926,20 @@ "name": "finish", "nodeType": "FunctionDefinition", "parameters": { - "id": 862, + "id": 825, "nodeType": "ParameterList", "parameters": [], - "src": "2761:2:3" + "src": "2740:2:1" }, "payable": false, "returnParameters": { - "id": 863, + "id": 826, "nodeType": "ParameterList", "parameters": [], - "src": "2770:0:3" + "src": "2749:0:1" }, - "scope": 907, - "src": "2746:25:3", + "scope": 870, + "src": "2725:25:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5989,7 +5947,7 @@ { "body": null, "documentation": null, - "id": 871, + "id": 834, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -5997,16 +5955,16 @@ "name": "withdraw", "nodeType": "FunctionDefinition", "parameters": { - "id": 869, + "id": 832, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 866, + "id": 829, "name": "_ethAmount", "nodeType": "VariableDeclaration", - "scope": 871, - "src": "2794:18:3", + "scope": 834, + "src": "2773:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6014,10 +5972,10 @@ "typeString": "uint256" }, "typeName": { - "id": 865, + "id": 828, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2794:7:3", + "src": "2773:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6028,11 +5986,11 @@ }, { "constant": false, - "id": 868, + "id": 831, "name": "_tokenAmount", "nodeType": "VariableDeclaration", - "scope": 871, - "src": "2814:20:3", + "scope": 834, + "src": "2793:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6040,10 +5998,10 @@ "typeString": "uint256" }, "typeName": { - "id": 867, + "id": 830, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2814:7:3", + "src": "2793:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6053,17 +6011,17 @@ "visibility": "internal" } ], - "src": "2793:42:3" + "src": "2772:42:1" }, "payable": false, "returnParameters": { - "id": 870, + "id": 833, "nodeType": "ParameterList", "parameters": [], - "src": "2842:0:3" + "src": "2821:0:1" }, - "scope": 907, - "src": "2776:67:3", + "scope": 870, + "src": "2755:67:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6071,7 +6029,7 @@ { "body": null, "documentation": null, - "id": 874, + "id": 837, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -6079,20 +6037,20 @@ "name": "stop", "nodeType": "FunctionDefinition", "parameters": { - "id": 872, + "id": 835, "nodeType": "ParameterList", "parameters": [], - "src": "2861:2:3" + "src": "2840:2:1" }, "payable": false, "returnParameters": { - "id": 873, + "id": 836, "nodeType": "ParameterList", "parameters": [], - "src": "2870:0:3" + "src": "2849:0:1" }, - "scope": 907, - "src": "2848:23:3", + "scope": 870, + "src": "2827:23:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6100,7 +6058,7 @@ { "body": null, "documentation": null, - "id": 883, + "id": 846, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -6108,16 +6066,16 @@ "name": "start", "nodeType": "FunctionDefinition", "parameters": { - "id": 881, + "id": 844, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 876, + "id": 839, "name": "_startTimestamp", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "2891:23:3", + "scope": 846, + "src": "2870:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6125,10 +6083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 875, + "id": 838, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2891:7:3", + "src": "2870:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6139,11 +6097,11 @@ }, { "constant": false, - "id": 878, + "id": 841, "name": "_endTimestamp", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "2916:21:3", + "scope": 846, + "src": "2895:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6151,10 +6109,10 @@ "typeString": "uint256" }, "typeName": { - "id": 877, + "id": 840, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2916:7:3", + "src": "2895:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6165,11 +6123,11 @@ }, { "constant": false, - "id": 880, + "id": 843, "name": "_fundingAddress", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "2939:23:3", + "scope": 846, + "src": "2918:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6177,10 +6135,10 @@ "typeString": "address" }, "typeName": { - "id": 879, + "id": 842, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2939:7:3", + "src": "2918:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6190,17 +6148,17 @@ "visibility": "internal" } ], - "src": "2890:73:3" + "src": "2869:73:1" }, "payable": false, "returnParameters": { - "id": 882, + "id": 845, "nodeType": "ParameterList", "parameters": [], - "src": "2970:0:3" + "src": "2949:0:1" }, - "scope": 907, - "src": "2876:95:3", + "scope": 870, + "src": "2855:95:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6208,7 +6166,7 @@ { "body": null, "documentation": null, - "id": 888, + "id": 851, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -6216,23 +6174,23 @@ "name": "isFailed", "nodeType": "FunctionDefinition", "parameters": { - "id": 884, + "id": 847, "nodeType": "ParameterList", "parameters": [], - "src": "2993:2:3" + "src": "2972:2:1" }, "payable": false, "returnParameters": { - "id": 887, + "id": 850, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 886, + "id": 849, "name": "", "nodeType": "VariableDeclaration", - "scope": 888, - "src": "3017:4:3", + "scope": 851, + "src": "2996:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6240,10 +6198,10 @@ "typeString": "bool" }, "typeName": { - "id": 885, + "id": 848, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3017:4:3", + "src": "2996:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6253,10 +6211,10 @@ "visibility": "internal" } ], - "src": "3016:6:3" + "src": "2995:6:1" }, - "scope": 907, - "src": "2976:47:3", + "scope": 870, + "src": "2955:47:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -6264,7 +6222,7 @@ { "body": null, "documentation": null, - "id": 893, + "id": 856, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -6272,23 +6230,23 @@ "name": "isActive", "nodeType": "FunctionDefinition", "parameters": { - "id": 889, + "id": 852, "nodeType": "ParameterList", "parameters": [], - "src": "3045:2:3" + "src": "3024:2:1" }, "payable": false, "returnParameters": { - "id": 892, + "id": 855, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 891, + "id": 854, "name": "", "nodeType": "VariableDeclaration", - "scope": 893, - "src": "3069:4:3", + "scope": 856, + "src": "3048:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6296,10 +6254,10 @@ "typeString": "bool" }, "typeName": { - "id": 890, + "id": 853, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3069:4:3", + "src": "3048:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6309,10 +6267,10 @@ "visibility": "internal" } ], - "src": "3068:6:3" + "src": "3047:6:1" }, - "scope": 907, - "src": "3028:47:3", + "scope": 870, + "src": "3007:47:1", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -6320,7 +6278,7 @@ { "body": null, "documentation": null, - "id": 898, + "id": 861, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -6328,23 +6286,23 @@ "name": "isSuccessful", "nodeType": "FunctionDefinition", "parameters": { - "id": 894, + "id": 857, "nodeType": "ParameterList", "parameters": [], - "src": "3101:2:3" + "src": "3080:2:1" }, "payable": false, "returnParameters": { - "id": 897, + "id": 860, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 896, + "id": 859, "name": "", "nodeType": "VariableDeclaration", - "scope": 898, - "src": "3125:4:3", + "scope": 861, + "src": "3104:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6352,10 +6310,10 @@ "typeString": "bool" }, "typeName": { - "id": 895, + "id": 858, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3125:4:3", + "src": "3104:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6365,23 +6323,23 @@ "visibility": "internal" } ], - "src": "3124:6:3" + "src": "3103:6:1" }, - "scope": 907, - "src": "3080:51:3", + "scope": 870, + "src": "3059:51:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 901, + "id": 864, "nodeType": "Block", - "src": "3169:2:3", + "src": "3148:2:1", "statements": [] }, "documentation": null, - "id": 902, + "id": 865, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -6389,33 +6347,33 @@ "name": "releaseTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 899, + "id": 862, "nodeType": "ParameterList", "parameters": [], - "src": "3159:2:3" + "src": "3138:2:1" }, "payable": false, "returnParameters": { - "id": 900, + "id": 863, "nodeType": "ParameterList", "parameters": [], - "src": "3169:0:3" + "src": "3148:0:1" }, - "scope": 907, - "src": "3137:34:3", + "scope": 870, + "src": "3116:34:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 905, + "id": 868, "nodeType": "Block", - "src": "3210:2:3", + "src": "3189:2:1", "statements": [] }, "documentation": null, - "id": 906, + "id": 869, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -6423,30 +6381,30 @@ "name": "deposit", "nodeType": "FunctionDefinition", "parameters": { - "id": 903, + "id": 866, "nodeType": "ParameterList", "parameters": [], - "src": "3192:2:3" + "src": "3171:2:1" }, "payable": true, "returnParameters": { - "id": 904, + "id": 867, "nodeType": "ParameterList", "parameters": [], - "src": "3210:0:3" + "src": "3189:0:1" }, - "scope": 907, - "src": "3176:36:3", + "scope": 870, + "src": "3155:36:1", "stateMutability": "payable", "superFunction": null, "visibility": "public" } ], - "scope": 908, - "src": "241:2973:3" + "scope": 871, + "src": "241:2952:1" } ], - "src": "0:3215:3" + "src": "0:3194:1" }, "compiler": { "name": "solc", @@ -6454,5 +6412,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.624Z" + "updatedAt": "2018-10-16T07:48:55.577Z" } \ No newline at end of file diff --git a/build/contracts/IWingsController.json b/build/contracts/IWingsController.json index c5a9f57..37366e9 100644 --- a/build/contracts/IWingsController.json +++ b/build/contracts/IWingsController.json @@ -81,14 +81,14 @@ "absolutePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/interfaces/IWingsController.sol", "exportedSymbols": { "IWingsController": [ - 941 + 893 ] }, - "id": 942, + "id": 894, "nodeType": "SourceUnit", "nodes": [ { - "id": 920, + "id": 872, "literals": [ "solidity", "^", @@ -96,7 +96,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:5" + "src": "0:24:2" }, { "baseContracts": [], @@ -104,20 +104,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 941, + "id": 893, "linearizedBaseContracts": [ - 941 + 893 ], "name": "IWingsController", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 922, + "id": 874, "name": "ethRewardPart", "nodeType": "VariableDeclaration", - "scope": 941, - "src": "89:28:5", + "scope": 893, + "src": "89:28:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -125,10 +125,10 @@ "typeString": "uint256" }, "typeName": { - "id": 921, + "id": 873, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "89:7:5", + "src": "89:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -139,11 +139,11 @@ }, { "constant": false, - "id": 924, + "id": 876, "name": "tokenRewardPart", "nodeType": "VariableDeclaration", - "scope": 941, - "src": "123:30:5", + "scope": 893, + "src": "123:30:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -151,10 +151,10 @@ "typeString": "uint256" }, "typeName": { - "id": 923, + "id": 875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "123:7:5", + "src": "123:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -166,7 +166,7 @@ { "body": null, "documentation": null, - "id": 931, + "id": 883, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -174,16 +174,16 @@ "name": "fitCollectedValueIntoRange", "nodeType": "FunctionDefinition", "parameters": { - "id": 927, + "id": 879, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 926, + "id": 878, "name": "_totalCollected", "nodeType": "VariableDeclaration", - "scope": 931, - "src": "196:23:5", + "scope": 883, + "src": "196:23:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -191,10 +191,10 @@ "typeString": "uint256" }, "typeName": { - "id": 925, + "id": 877, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "196:7:5", + "src": "196:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -204,20 +204,20 @@ "visibility": "internal" } ], - "src": "195:25:5" + "src": "195:25:2" }, "payable": false, "returnParameters": { - "id": 930, + "id": 882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 929, + "id": 881, "name": "", "nodeType": "VariableDeclaration", - "scope": 931, - "src": "242:7:5", + "scope": 883, + "src": "242:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -225,10 +225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 928, + "id": 880, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "242:7:5", + "src": "242:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -238,10 +238,10 @@ "visibility": "internal" } ], - "src": "241:9:5" + "src": "241:9:2" }, - "scope": 941, - "src": "160:91:5", + "scope": 893, + "src": "160:91:2", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -249,7 +249,7 @@ { "body": null, "documentation": null, - "id": 940, + "id": 892, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -257,16 +257,16 @@ "name": "start", "nodeType": "FunctionDefinition", "parameters": { - "id": 938, + "id": 890, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 933, + "id": 885, "name": "_startTimestamp", "nodeType": "VariableDeclaration", - "scope": 940, - "src": "271:23:5", + "scope": 892, + "src": "271:23:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -274,10 +274,10 @@ "typeString": "uint256" }, "typeName": { - "id": 932, + "id": 884, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "271:7:5", + "src": "271:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -288,11 +288,11 @@ }, { "constant": false, - "id": 935, + "id": 887, "name": "_endTimestamp", "nodeType": "VariableDeclaration", - "scope": 940, - "src": "296:21:5", + "scope": 892, + "src": "296:21:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -300,10 +300,10 @@ "typeString": "uint256" }, "typeName": { - "id": 934, + "id": 886, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "296:7:5", + "src": "296:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -314,11 +314,11 @@ }, { "constant": false, - "id": 937, + "id": 889, "name": "_fundingAddress", "nodeType": "VariableDeclaration", - "scope": 940, - "src": "319:23:5", + "scope": 892, + "src": "319:23:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -326,10 +326,10 @@ "typeString": "address" }, "typeName": { - "id": 936, + "id": 888, "name": "address", "nodeType": "ElementaryTypeName", - "src": "319:7:5", + "src": "319:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -339,40 +339,40 @@ "visibility": "internal" } ], - "src": "270:73:5" + "src": "270:73:2" }, "payable": false, "returnParameters": { - "id": 939, + "id": 891, "nodeType": "ParameterList", "parameters": [], - "src": "350:0:5" + "src": "350:0:2" }, - "scope": 941, - "src": "256:95:5", + "scope": 893, + "src": "256:95:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 942, - "src": "57:296:5" + "scope": 894, + "src": "57:296:2" } ], - "src": "0:354:5" + "src": "0:354:2" }, "legacyAST": { "absolutePath": "/Users/solidity/Desktop/github/wings-light-bridge/contracts/interfaces/IWingsController.sol", "exportedSymbols": { "IWingsController": [ - 941 + 893 ] }, - "id": 942, + "id": 894, "nodeType": "SourceUnit", "nodes": [ { - "id": 920, + "id": 872, "literals": [ "solidity", "^", @@ -380,7 +380,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:5" + "src": "0:24:2" }, { "baseContracts": [], @@ -388,20 +388,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 941, + "id": 893, "linearizedBaseContracts": [ - 941 + 893 ], "name": "IWingsController", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 922, + "id": 874, "name": "ethRewardPart", "nodeType": "VariableDeclaration", - "scope": 941, - "src": "89:28:5", + "scope": 893, + "src": "89:28:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -409,10 +409,10 @@ "typeString": "uint256" }, "typeName": { - "id": 921, + "id": 873, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "89:7:5", + "src": "89:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -423,11 +423,11 @@ }, { "constant": false, - "id": 924, + "id": 876, "name": "tokenRewardPart", "nodeType": "VariableDeclaration", - "scope": 941, - "src": "123:30:5", + "scope": 893, + "src": "123:30:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -435,10 +435,10 @@ "typeString": "uint256" }, "typeName": { - "id": 923, + "id": 875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "123:7:5", + "src": "123:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -450,7 +450,7 @@ { "body": null, "documentation": null, - "id": 931, + "id": 883, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -458,16 +458,16 @@ "name": "fitCollectedValueIntoRange", "nodeType": "FunctionDefinition", "parameters": { - "id": 927, + "id": 879, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 926, + "id": 878, "name": "_totalCollected", "nodeType": "VariableDeclaration", - "scope": 931, - "src": "196:23:5", + "scope": 883, + "src": "196:23:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -475,10 +475,10 @@ "typeString": "uint256" }, "typeName": { - "id": 925, + "id": 877, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "196:7:5", + "src": "196:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -488,20 +488,20 @@ "visibility": "internal" } ], - "src": "195:25:5" + "src": "195:25:2" }, "payable": false, "returnParameters": { - "id": 930, + "id": 882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 929, + "id": 881, "name": "", "nodeType": "VariableDeclaration", - "scope": 931, - "src": "242:7:5", + "scope": 883, + "src": "242:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -509,10 +509,10 @@ "typeString": "uint256" }, "typeName": { - "id": 928, + "id": 880, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "242:7:5", + "src": "242:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -522,10 +522,10 @@ "visibility": "internal" } ], - "src": "241:9:5" + "src": "241:9:2" }, - "scope": 941, - "src": "160:91:5", + "scope": 893, + "src": "160:91:2", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -533,7 +533,7 @@ { "body": null, "documentation": null, - "id": 940, + "id": 892, "implemented": false, "isConstructor": false, "isDeclaredConst": false, @@ -541,16 +541,16 @@ "name": "start", "nodeType": "FunctionDefinition", "parameters": { - "id": 938, + "id": 890, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 933, + "id": 885, "name": "_startTimestamp", "nodeType": "VariableDeclaration", - "scope": 940, - "src": "271:23:5", + "scope": 892, + "src": "271:23:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -558,10 +558,10 @@ "typeString": "uint256" }, "typeName": { - "id": 932, + "id": 884, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "271:7:5", + "src": "271:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -572,11 +572,11 @@ }, { "constant": false, - "id": 935, + "id": 887, "name": "_endTimestamp", "nodeType": "VariableDeclaration", - "scope": 940, - "src": "296:21:5", + "scope": 892, + "src": "296:21:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -584,10 +584,10 @@ "typeString": "uint256" }, "typeName": { - "id": 934, + "id": 886, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "296:7:5", + "src": "296:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -598,11 +598,11 @@ }, { "constant": false, - "id": 937, + "id": 889, "name": "_fundingAddress", "nodeType": "VariableDeclaration", - "scope": 940, - "src": "319:23:5", + "scope": 892, + "src": "319:23:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -610,10 +610,10 @@ "typeString": "address" }, "typeName": { - "id": 936, + "id": 888, "name": "address", "nodeType": "ElementaryTypeName", - "src": "319:7:5", + "src": "319:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -623,27 +623,27 @@ "visibility": "internal" } ], - "src": "270:73:5" + "src": "270:73:2" }, "payable": false, "returnParameters": { - "id": 939, + "id": 891, "nodeType": "ParameterList", "parameters": [], - "src": "350:0:5" + "src": "350:0:2" }, - "scope": 941, - "src": "256:95:5", + "scope": 893, + "src": "256:95:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 942, - "src": "57:296:5" + "scope": 894, + "src": "57:296:2" } ], - "src": "0:354:5" + "src": "0:354:2" }, "compiler": { "name": "solc", @@ -651,5 +651,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.626Z" + "updatedAt": "2018-10-16T07:48:55.528Z" } \ No newline at end of file diff --git a/build/contracts/Ownable.json b/build/contracts/Ownable.json index 9fdb1b9..e31ae93 100644 --- a/build/contracts/Ownable.json +++ b/build/contracts/Ownable.json @@ -55,22 +55,22 @@ ], "bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610291806100606000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063f2fde38b146100a8575b600080fd5b34801561005d57600080fd5b506100666100eb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100b457600080fd5b506100e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610110565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561016b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156101a757600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058207196c366cffa4355695bf9eaf9766f4d99fbae6de5828586b30a7d6753088af10029", "deployedBytecode": "0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063f2fde38b146100a8575b600080fd5b34801561005d57600080fd5b506100666100eb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100b457600080fd5b506100e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610110565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561016b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156101a757600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058207196c366cffa4355695bf9eaf9766f4d99fbae6de5828586b30a7d6753088af10029", - "sourceMap": "217:789:9:-;;;469:55;8:9:-1;5:2;;;30:1;27;20:12;5:2;469:55:9;509:10;501:5;;:18;;;;;;;;;;;;;;;;;;217:789;;;;;;", - "deployedSourceMap": "217:789:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:9;;;;;;;;;;;;;;;;;;;;;;;;;;;834:169;;8:9:-1;5:2;;;30:1;27;20:12;5:2;834:169:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;;;;;;;;;;;;:::o;834:169::-;654:5;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;930:1;910:22;;:8;:22;;;;902:31;;;;;;;;967:8;939:37;;960:5;;;;;;;;;;;939:37;;;;;;;;;;;;990:8;982:5;;:16;;;;;;;;;;;;;;;;;;834:169;:::o", + "sourceMap": "217:789:4:-;;;469:55;8:9:-1;5:2;;;30:1;27;20:12;5:2;469:55:4;509:10;501:5;;:18;;;;;;;;;;;;;;;;;;217:789;;;;;;", + "deployedSourceMap": "217:789:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:4;;;;;;;;;;;;;;;;;;;;;;;;;;;834:169;;8:9:-1;5:2;;;30:1;27;20:12;5:2;834:169:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;;;;;;;;;;;;:::o;834:169::-;654:5;;;;;;;;;;;640:19;;:10;:19;;;632:28;;;;;;;;930:1;910:22;;:8;:22;;;;902:31;;;;;;;;967:8;939:37;;960:5;;;;;;;;;;;939:37;;;;;;;;;;;;990:8;982:5;;:16;;;;;;;;;;;;;;;;;;834:169;:::o", "source": "pragma solidity ^0.4.18;\n\n\n/**\n * @title Ownable\n * @dev The Ownable contract has an owner address, and provides basic authorization control\n * functions, this simplifies the implementation of \"user permissions\".\n */\ncontract Ownable {\n address public owner;\n\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n\n /**\n * @dev The Ownable constructor sets the original `owner` of the contract to the sender\n * account.\n */\n function Ownable() public {\n owner = msg.sender;\n }\n\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n\n /**\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\n * @param newOwner The address to transfer ownership to.\n */\n function transferOwnership(address newOwner) public onlyOwner {\n require(newOwner != address(0));\n OwnershipTransferred(owner, newOwner);\n owner = newOwner;\n }\n\n}\n", "sourcePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", "ast": { "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", "exportedSymbols": { "Ownable": [ - 1188 + 1047 ] }, - "id": 1189, + "id": 1048, "nodeType": "SourceUnit", "nodes": [ { - "id": 1134, + "id": 993, "literals": [ "solidity", "^", @@ -78,7 +78,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:9" + "src": "0:24:4" }, { "baseContracts": [], @@ -86,20 +86,20 @@ "contractKind": "contract", "documentation": "@title Ownable\n@dev The Ownable contract has an owner address, and provides basic authorization control\nfunctions, this simplifies the implementation of \"user permissions\".", "fullyImplemented": true, - "id": 1188, + "id": 1047, "linearizedBaseContracts": [ - 1188 + 1047 ], "name": "Ownable", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1136, + "id": 995, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "238:20:9", + "scope": 1047, + "src": "238:20:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -107,10 +107,10 @@ "typeString": "address" }, "typeName": { - "id": 1135, + "id": 994, "name": "address", "nodeType": "ElementaryTypeName", - "src": "238:7:9", + "src": "238:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -122,21 +122,21 @@ { "anonymous": false, "documentation": null, - "id": 1142, + "id": 1001, "name": "OwnershipTransferred", "nodeType": "EventDefinition", "parameters": { - "id": 1141, + "id": 1000, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1138, + "id": 997, "indexed": true, "name": "previousOwner", "nodeType": "VariableDeclaration", - "scope": 1142, - "src": "291:29:9", + "scope": 1001, + "src": "291:29:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -144,10 +144,10 @@ "typeString": "address" }, "typeName": { - "id": 1137, + "id": 996, "name": "address", "nodeType": "ElementaryTypeName", - "src": "291:7:9", + "src": "291:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -158,12 +158,12 @@ }, { "constant": false, - "id": 1140, + "id": 999, "indexed": true, "name": "newOwner", "nodeType": "VariableDeclaration", - "scope": 1142, - "src": "322:24:9", + "scope": 1001, + "src": "322:24:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -171,10 +171,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 998, "name": "address", "nodeType": "ElementaryTypeName", - "src": "322:7:9", + "src": "322:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -184,32 +184,32 @@ "visibility": "internal" } ], - "src": "290:57:9" + "src": "290:57:4" }, - "src": "264:84:9" + "src": "264:84:4" }, { "body": { - "id": 1150, + "id": 1009, "nodeType": "Block", - "src": "495:29:9", + "src": "495:29:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 1148, + "id": 1007, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1145, + "id": 1004, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "501:5:9", + "referencedDeclaration": 995, + "src": "501:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -221,18 +221,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1146, + "id": 1005, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "509:3:9", + "referencedDeclaration": 1168, + "src": "509:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1147, + "id": 1006, "isConstant": false, "isLValue": false, "isPure": false, @@ -240,26 +240,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "509:10:9", + "src": "509:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "501:18:9", + "src": "501:18:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1149, + "id": 1008, "nodeType": "ExpressionStatement", - "src": "501:18:9" + "src": "501:18:4" } ] }, "documentation": "@dev The Ownable constructor sets the original `owner` of the contract to the sender\naccount.", - "id": 1151, + "id": 1010, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -267,29 +267,29 @@ "name": "Ownable", "nodeType": "FunctionDefinition", "parameters": { - "id": 1143, + "id": 1002, "nodeType": "ParameterList", "parameters": [], - "src": "485:2:9" + "src": "485:2:4" }, "payable": false, "returnParameters": { - "id": 1144, + "id": 1003, "nodeType": "ParameterList", "parameters": [], - "src": "495:0:9" + "src": "495:0:4" }, - "scope": 1188, - "src": "469:55:9", + "scope": 1047, + "src": "469:55:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1161, + "id": 1020, "nodeType": "Block", - "src": "626:46:9", + "src": "626:46:4", "statements": [ { "expression": { @@ -301,7 +301,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1157, + "id": 1016, "isConstant": false, "isLValue": false, "isPure": false, @@ -310,18 +310,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1154, + "id": 1013, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "640:3:9", + "referencedDeclaration": 1168, + "src": "640:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1155, + "id": 1014, "isConstant": false, "isLValue": false, "isPure": false, @@ -329,7 +329,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "640:10:9", + "src": "640:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -339,18 +339,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1156, + "id": 1015, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "654:5:9", + "referencedDeclaration": 995, + "src": "654:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "640:19:9", + "src": "640:19:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -364,21 +364,21 @@ "typeString": "bool" } ], - "id": 1153, + "id": 1012, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "632:7:9", + "referencedDeclaration": 1171, + "src": "632:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1158, + "id": 1017, "isConstant": false, "isLValue": false, "isPure": false, @@ -386,41 +386,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "632:28:9", + "src": "632:28:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1159, + "id": 1018, "nodeType": "ExpressionStatement", - "src": "632:28:9" + "src": "632:28:4" }, { - "id": 1160, + "id": 1019, "nodeType": "PlaceholderStatement", - "src": "666:1:9" + "src": "666:1:4" } ] }, "documentation": "@dev Throws if called by any account other than the owner.", - "id": 1162, + "id": 1021, "name": "onlyOwner", "nodeType": "ModifierDefinition", "parameters": { - "id": 1152, + "id": 1011, "nodeType": "ParameterList", "parameters": [], - "src": "623:2:9" + "src": "623:2:4" }, - "src": "605:67:9", + "src": "605:67:4", "visibility": "internal" }, { "body": { - "id": 1186, + "id": 1045, "nodeType": "Block", - "src": "896:107:9", + "src": "896:107:4", "statements": [ { "expression": { @@ -432,19 +432,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1174, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1170, + "id": 1029, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1164, - "src": "910:8:9", + "referencedDeclaration": 1023, + "src": "910:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -458,14 +458,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 1172, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "930:1:9", + "src": "930:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -481,20 +481,20 @@ "typeString": "int_const 0" } ], - "id": 1171, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "922:7:9", + "src": "922:7:4", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1173, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": true, @@ -502,13 +502,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "922:10:9", + "src": "922:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "910:22:9", + "src": "910:22:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -522,21 +522,21 @@ "typeString": "bool" } ], - "id": 1169, + "id": 1028, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "902:7:9", + "referencedDeclaration": 1171, + "src": "902:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1175, + "id": 1034, "isConstant": false, "isLValue": false, "isPure": false, @@ -544,15 +544,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "902:31:9", + "src": "902:31:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1176, + "id": 1035, "nodeType": "ExpressionStatement", - "src": "902:31:9" + "src": "902:31:4" }, { "expression": { @@ -560,12 +560,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1178, + "id": 1037, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "960:5:9", + "referencedDeclaration": 995, + "src": "960:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -573,12 +573,12 @@ }, { "argumentTypes": null, - "id": 1179, + "id": 1038, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1164, - "src": "967:8:9", + "referencedDeclaration": 1023, + "src": "967:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -596,18 +596,18 @@ "typeString": "address" } ], - "id": 1177, + "id": 1036, "name": "OwnershipTransferred", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1142, - "src": "939:20:9", + "referencedDeclaration": 1001, + "src": "939:20:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 1180, + "id": 1039, "isConstant": false, "isLValue": false, "isPure": false, @@ -615,32 +615,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "939:37:9", + "src": "939:37:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1181, + "id": 1040, "nodeType": "ExpressionStatement", - "src": "939:37:9" + "src": "939:37:4" }, { "expression": { "argumentTypes": null, - "id": 1184, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1182, + "id": 1041, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "982:5:9", + "referencedDeclaration": 995, + "src": "982:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -650,68 +650,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1183, + "id": 1042, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1164, - "src": "990:8:9", + "referencedDeclaration": 1023, + "src": "990:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "982:16:9", + "src": "982:16:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1185, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "982:16:9" + "src": "982:16:4" } ] }, "documentation": "@dev Allows the current owner to transfer control of the contract to a newOwner.\n@param newOwner The address to transfer ownership to.", - "id": 1187, + "id": 1046, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1167, + "id": 1026, "modifierName": { "argumentTypes": null, - "id": 1166, + "id": 1025, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, - "src": "886:9:9", + "referencedDeclaration": 1021, + "src": "886:9:4", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "886:9:9" + "src": "886:9:4" } ], "name": "transferOwnership", "nodeType": "FunctionDefinition", "parameters": { - "id": 1165, + "id": 1024, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1164, + "id": 1023, "name": "newOwner", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "861:16:9", + "scope": 1046, + "src": "861:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -719,10 +719,10 @@ "typeString": "address" }, "typeName": { - "id": 1163, + "id": 1022, "name": "address", "nodeType": "ElementaryTypeName", - "src": "861:7:9", + "src": "861:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -732,40 +732,40 @@ "visibility": "internal" } ], - "src": "860:18:9" + "src": "860:18:4" }, "payable": false, "returnParameters": { - "id": 1168, + "id": 1027, "nodeType": "ParameterList", "parameters": [], - "src": "896:0:9" + "src": "896:0:4" }, - "scope": 1188, - "src": "834:169:9", + "scope": 1047, + "src": "834:169:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1189, - "src": "217:789:9" + "scope": 1048, + "src": "217:789:4" } ], - "src": "0:1007:9" + "src": "0:1007:4" }, "legacyAST": { "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", "exportedSymbols": { "Ownable": [ - 1188 + 1047 ] }, - "id": 1189, + "id": 1048, "nodeType": "SourceUnit", "nodes": [ { - "id": 1134, + "id": 993, "literals": [ "solidity", "^", @@ -773,7 +773,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:9" + "src": "0:24:4" }, { "baseContracts": [], @@ -781,20 +781,20 @@ "contractKind": "contract", "documentation": "@title Ownable\n@dev The Ownable contract has an owner address, and provides basic authorization control\nfunctions, this simplifies the implementation of \"user permissions\".", "fullyImplemented": true, - "id": 1188, + "id": 1047, "linearizedBaseContracts": [ - 1188 + 1047 ], "name": "Ownable", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1136, + "id": 995, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "238:20:9", + "scope": 1047, + "src": "238:20:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -802,10 +802,10 @@ "typeString": "address" }, "typeName": { - "id": 1135, + "id": 994, "name": "address", "nodeType": "ElementaryTypeName", - "src": "238:7:9", + "src": "238:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -817,21 +817,21 @@ { "anonymous": false, "documentation": null, - "id": 1142, + "id": 1001, "name": "OwnershipTransferred", "nodeType": "EventDefinition", "parameters": { - "id": 1141, + "id": 1000, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1138, + "id": 997, "indexed": true, "name": "previousOwner", "nodeType": "VariableDeclaration", - "scope": 1142, - "src": "291:29:9", + "scope": 1001, + "src": "291:29:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -839,10 +839,10 @@ "typeString": "address" }, "typeName": { - "id": 1137, + "id": 996, "name": "address", "nodeType": "ElementaryTypeName", - "src": "291:7:9", + "src": "291:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -853,12 +853,12 @@ }, { "constant": false, - "id": 1140, + "id": 999, "indexed": true, "name": "newOwner", "nodeType": "VariableDeclaration", - "scope": 1142, - "src": "322:24:9", + "scope": 1001, + "src": "322:24:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -866,10 +866,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 998, "name": "address", "nodeType": "ElementaryTypeName", - "src": "322:7:9", + "src": "322:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -879,32 +879,32 @@ "visibility": "internal" } ], - "src": "290:57:9" + "src": "290:57:4" }, - "src": "264:84:9" + "src": "264:84:4" }, { "body": { - "id": 1150, + "id": 1009, "nodeType": "Block", - "src": "495:29:9", + "src": "495:29:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 1148, + "id": 1007, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1145, + "id": 1004, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "501:5:9", + "referencedDeclaration": 995, + "src": "501:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -916,18 +916,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1146, + "id": 1005, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "509:3:9", + "referencedDeclaration": 1168, + "src": "509:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1147, + "id": 1006, "isConstant": false, "isLValue": false, "isPure": false, @@ -935,26 +935,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "509:10:9", + "src": "509:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "501:18:9", + "src": "501:18:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1149, + "id": 1008, "nodeType": "ExpressionStatement", - "src": "501:18:9" + "src": "501:18:4" } ] }, "documentation": "@dev The Ownable constructor sets the original `owner` of the contract to the sender\naccount.", - "id": 1151, + "id": 1010, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -962,29 +962,29 @@ "name": "Ownable", "nodeType": "FunctionDefinition", "parameters": { - "id": 1143, + "id": 1002, "nodeType": "ParameterList", "parameters": [], - "src": "485:2:9" + "src": "485:2:4" }, "payable": false, "returnParameters": { - "id": 1144, + "id": 1003, "nodeType": "ParameterList", "parameters": [], - "src": "495:0:9" + "src": "495:0:4" }, - "scope": 1188, - "src": "469:55:9", + "scope": 1047, + "src": "469:55:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1161, + "id": 1020, "nodeType": "Block", - "src": "626:46:9", + "src": "626:46:4", "statements": [ { "expression": { @@ -996,7 +996,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1157, + "id": 1016, "isConstant": false, "isLValue": false, "isPure": false, @@ -1005,18 +1005,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1154, + "id": 1013, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "640:3:9", + "referencedDeclaration": 1168, + "src": "640:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1155, + "id": 1014, "isConstant": false, "isLValue": false, "isPure": false, @@ -1024,7 +1024,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "640:10:9", + "src": "640:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1034,18 +1034,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1156, + "id": 1015, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "654:5:9", + "referencedDeclaration": 995, + "src": "654:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "640:19:9", + "src": "640:19:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1059,21 +1059,21 @@ "typeString": "bool" } ], - "id": 1153, + "id": 1012, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "632:7:9", + "referencedDeclaration": 1171, + "src": "632:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1158, + "id": 1017, "isConstant": false, "isLValue": false, "isPure": false, @@ -1081,41 +1081,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "632:28:9", + "src": "632:28:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1159, + "id": 1018, "nodeType": "ExpressionStatement", - "src": "632:28:9" + "src": "632:28:4" }, { - "id": 1160, + "id": 1019, "nodeType": "PlaceholderStatement", - "src": "666:1:9" + "src": "666:1:4" } ] }, "documentation": "@dev Throws if called by any account other than the owner.", - "id": 1162, + "id": 1021, "name": "onlyOwner", "nodeType": "ModifierDefinition", "parameters": { - "id": 1152, + "id": 1011, "nodeType": "ParameterList", "parameters": [], - "src": "623:2:9" + "src": "623:2:4" }, - "src": "605:67:9", + "src": "605:67:4", "visibility": "internal" }, { "body": { - "id": 1186, + "id": 1045, "nodeType": "Block", - "src": "896:107:9", + "src": "896:107:4", "statements": [ { "expression": { @@ -1127,19 +1127,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1174, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1170, + "id": 1029, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1164, - "src": "910:8:9", + "referencedDeclaration": 1023, + "src": "910:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1153,14 +1153,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 1172, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "930:1:9", + "src": "930:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -1176,20 +1176,20 @@ "typeString": "int_const 0" } ], - "id": 1171, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "922:7:9", + "src": "922:7:4", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1173, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": true, @@ -1197,13 +1197,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "922:10:9", + "src": "922:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "910:22:9", + "src": "910:22:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1217,21 +1217,21 @@ "typeString": "bool" } ], - "id": 1169, + "id": 1028, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1398, - 1399 + 1171, + 1172 ], - "referencedDeclaration": 1398, - "src": "902:7:9", + "referencedDeclaration": 1171, + "src": "902:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1175, + "id": 1034, "isConstant": false, "isLValue": false, "isPure": false, @@ -1239,15 +1239,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "902:31:9", + "src": "902:31:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1176, + "id": 1035, "nodeType": "ExpressionStatement", - "src": "902:31:9" + "src": "902:31:4" }, { "expression": { @@ -1255,12 +1255,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1178, + "id": 1037, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "960:5:9", + "referencedDeclaration": 995, + "src": "960:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1268,12 +1268,12 @@ }, { "argumentTypes": null, - "id": 1179, + "id": 1038, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1164, - "src": "967:8:9", + "referencedDeclaration": 1023, + "src": "967:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1291,18 +1291,18 @@ "typeString": "address" } ], - "id": 1177, + "id": 1036, "name": "OwnershipTransferred", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1142, - "src": "939:20:9", + "referencedDeclaration": 1001, + "src": "939:20:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 1180, + "id": 1039, "isConstant": false, "isLValue": false, "isPure": false, @@ -1310,32 +1310,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "939:37:9", + "src": "939:37:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1181, + "id": 1040, "nodeType": "ExpressionStatement", - "src": "939:37:9" + "src": "939:37:4" }, { "expression": { "argumentTypes": null, - "id": 1184, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1182, + "id": 1041, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1136, - "src": "982:5:9", + "referencedDeclaration": 995, + "src": "982:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1345,68 +1345,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1183, + "id": 1042, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1164, - "src": "990:8:9", + "referencedDeclaration": 1023, + "src": "990:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "982:16:9", + "src": "982:16:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1185, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "982:16:9" + "src": "982:16:4" } ] }, "documentation": "@dev Allows the current owner to transfer control of the contract to a newOwner.\n@param newOwner The address to transfer ownership to.", - "id": 1187, + "id": 1046, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1167, + "id": 1026, "modifierName": { "argumentTypes": null, - "id": 1166, + "id": 1025, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, - "src": "886:9:9", + "referencedDeclaration": 1021, + "src": "886:9:4", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "886:9:9" + "src": "886:9:4" } ], "name": "transferOwnership", "nodeType": "FunctionDefinition", "parameters": { - "id": 1165, + "id": 1024, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1164, + "id": 1023, "name": "newOwner", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "861:16:9", + "scope": 1046, + "src": "861:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1414,10 +1414,10 @@ "typeString": "address" }, "typeName": { - "id": 1163, + "id": 1022, "name": "address", "nodeType": "ElementaryTypeName", - "src": "861:7:9", + "src": "861:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1427,27 +1427,27 @@ "visibility": "internal" } ], - "src": "860:18:9" + "src": "860:18:4" }, "payable": false, "returnParameters": { - "id": 1168, + "id": 1027, "nodeType": "ParameterList", "parameters": [], - "src": "896:0:9" + "src": "896:0:4" }, - "scope": 1188, - "src": "834:169:9", + "scope": 1047, + "src": "834:169:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1189, - "src": "217:789:9" + "scope": 1048, + "src": "217:789:4" } ], - "src": "0:1007:9" + "src": "0:1007:4" }, "compiler": { "name": "solc", @@ -1455,5 +1455,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.628Z" + "updatedAt": "2018-10-16T07:48:55.557Z" } \ No newline at end of file diff --git a/build/contracts/SafeMath.json b/build/contracts/SafeMath.json index 16a0fe8..be739b4 100644 --- a/build/contracts/SafeMath.json +++ b/build/contracts/SafeMath.json @@ -3,22 +3,22 @@ "abi": [], "bytecode": "0x604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a723058205fb2393e12ad062933e8adc3988197350df996e4bab09626df893a0aa7f671ab0029", "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fd00a165627a7a723058205fb2393e12ad062933e8adc3988197350df996e4bab09626df893a0aa7f671ab0029", - "sourceMap": "117:712:8:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", - "deployedSourceMap": "117:712:8:-;;;;;;;;", + "sourceMap": "117:712:3:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", + "deployedSourceMap": "117:712:3:-;;;;;;;;", "source": "pragma solidity ^0.4.18;\n\n\n/**\n * @title SafeMath\n * @dev Math operations with safety checks that throw on error\n */\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n // assert(b > 0); // Solidity automatically throws when dividing by 0\n uint256 c = a / b;\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\n return c;\n }\n\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n assert(b <= a);\n return a - b;\n }\n\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n assert(c >= a);\n return c;\n }\n}\n", "sourcePath": "zeppelin-solidity/contracts/math/SafeMath.sol", "ast": { "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", "exportedSymbols": { "SafeMath": [ - 1132 + 991 ] }, - "id": 1133, + "id": 992, "nodeType": "SourceUnit", "nodes": [ { - "id": 1036, + "id": 895, "literals": [ "solidity", "^", @@ -26,7 +26,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:8" + "src": "0:24:3" }, { "baseContracts": [], @@ -34,18 +34,18 @@ "contractKind": "library", "documentation": "@title SafeMath\n@dev Math operations with safety checks that throw on error", "fullyImplemented": true, - "id": 1132, + "id": 991, "linearizedBaseContracts": [ - 1132 + 991 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1068, + "id": 927, "nodeType": "Block", - "src": "205:106:8", + "src": "205:106:3", "statements": [ { "condition": { @@ -54,19 +54,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1047, + "id": 906, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1045, + "id": 904, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1038, - "src": "215:1:8", + "referencedDeclaration": 897, + "src": "215:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77,14 +77,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1046, + "id": 905, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "220:1:8", + "src": "220:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -92,33 +92,33 @@ }, "value": "0" }, - "src": "215:6:8", + "src": "215:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1051, + "id": 910, "nodeType": "IfStatement", - "src": "211:35:8", + "src": "211:35:3", "trueBody": { - "id": 1050, + "id": 909, "nodeType": "Block", - "src": "223:23:8", + "src": "223:23:3", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", - "id": 1048, + "id": 907, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "238:1:8", + "src": "238:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -126,26 +126,26 @@ }, "value": "0" }, - "functionReturnParameters": 1044, - "id": 1049, + "functionReturnParameters": 903, + "id": 908, "nodeType": "Return", - "src": "231:8:8" + "src": "231:8:3" } ] } }, { "assignments": [ - 1053 + 912 ], "declarations": [ { "constant": false, - "id": 1053, + "id": 912, "name": "c", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "251:9:8", + "scope": 928, + "src": "251:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -153,10 +153,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1052, + "id": 911, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "251:7:8", + "src": "251:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -166,26 +166,26 @@ "visibility": "internal" } ], - "id": 1057, + "id": 916, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1056, + "id": 915, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1054, + "id": 913, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1038, - "src": "263:1:8", + "referencedDeclaration": 897, + "src": "263:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -195,25 +195,25 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 1055, + "id": 914, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1040, - "src": "267:1:8", + "referencedDeclaration": 899, + "src": "267:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "263:5:8", + "src": "263:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "251:17:8" + "src": "251:17:3" }, { "expression": { @@ -225,7 +225,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1063, + "id": 922, "isConstant": false, "isLValue": false, "isPure": false, @@ -236,19 +236,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1061, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1059, + "id": 918, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1053, - "src": "281:1:8", + "referencedDeclaration": 912, + "src": "281:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -258,18 +258,18 @@ "operator": "/", "rightExpression": { "argumentTypes": null, - "id": 1060, + "id": 919, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1038, - "src": "285:1:8", + "referencedDeclaration": 897, + "src": "285:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "281:5:8", + "src": "281:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -279,18 +279,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1062, + "id": 921, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1040, - "src": "290:1:8", + "referencedDeclaration": 899, + "src": "290:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "281:10:8", + "src": "281:10:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -304,18 +304,18 @@ "typeString": "bool" } ], - "id": 1058, + "id": 917, "name": "assert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "274:6:8", + "referencedDeclaration": 1157, + "src": "274:6:3", "typeDescriptions": { "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1064, + "id": 923, "isConstant": false, "isLValue": false, "isPure": false, @@ -323,39 +323,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "274:18:8", + "src": "274:18:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1065, + "id": 924, "nodeType": "ExpressionStatement", - "src": "274:18:8" + "src": "274:18:3" }, { "expression": { "argumentTypes": null, - "id": 1066, + "id": 925, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1053, - "src": "305:1:8", + "referencedDeclaration": 912, + "src": "305:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1044, - "id": 1067, + "functionReturnParameters": 903, + "id": 926, "nodeType": "Return", - "src": "298:8:8" + "src": "298:8:3" } ] }, "documentation": null, - "id": 1069, + "id": 928, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -363,16 +363,16 @@ "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 1041, + "id": 900, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1038, + "id": 897, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "151:9:8", + "scope": 928, + "src": "151:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -380,10 +380,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1037, + "id": 896, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "151:7:8", + "src": "151:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -394,11 +394,11 @@ }, { "constant": false, - "id": 1040, + "id": 899, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "162:9:8", + "scope": 928, + "src": "162:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -406,10 +406,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1039, + "id": 898, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "162:7:8", + "src": "162:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -419,20 +419,20 @@ "visibility": "internal" } ], - "src": "150:22:8" + "src": "150:22:3" }, "payable": false, "returnParameters": { - "id": 1044, + "id": 903, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 902, "name": "", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "196:7:8", + "scope": 928, + "src": "196:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -440,10 +440,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "196:7:8", + "src": "196:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -453,32 +453,32 @@ "visibility": "internal" } ], - "src": "195:9:8" + "src": "195:9:3" }, - "scope": 1132, - "src": "138:173:8", + "scope": 991, + "src": "138:173:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1086, + "id": 945, "nodeType": "Block", - "src": "382:198:8", + "src": "382:198:3", "statements": [ { "assignments": [ - 1079 + 938 ], "declarations": [ { "constant": false, - "id": 1079, + "id": 938, "name": "c", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "462:9:8", + "scope": 946, + "src": "462:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -486,10 +486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1078, + "id": 937, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "462:7:8", + "src": "462:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -499,26 +499,26 @@ "visibility": "internal" } ], - "id": 1083, + "id": 942, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1082, + "id": 941, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1080, + "id": 939, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1071, - "src": "474:1:8", + "referencedDeclaration": 930, + "src": "474:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -528,49 +528,49 @@ "operator": "/", "rightExpression": { "argumentTypes": null, - "id": 1081, + "id": 940, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1073, - "src": "478:1:8", + "referencedDeclaration": 932, + "src": "478:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "474:5:8", + "src": "474:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "462:17:8" + "src": "462:17:3" }, { "expression": { "argumentTypes": null, - "id": 1084, + "id": 943, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1079, - "src": "574:1:8", + "referencedDeclaration": 938, + "src": "574:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1077, - "id": 1085, + "functionReturnParameters": 936, + "id": 944, "nodeType": "Return", - "src": "567:8:8" + "src": "567:8:3" } ] }, "documentation": null, - "id": 1087, + "id": 946, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -578,16 +578,16 @@ "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1074, + "id": 933, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1071, + "id": 930, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "328:9:8", + "scope": 946, + "src": "328:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -595,10 +595,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1070, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "328:7:8", + "src": "328:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -609,11 +609,11 @@ }, { "constant": false, - "id": 1073, + "id": 932, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "339:9:8", + "scope": 946, + "src": "339:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -621,10 +621,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1072, + "id": 931, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "339:7:8", + "src": "339:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -634,20 +634,20 @@ "visibility": "internal" } ], - "src": "327:22:8" + "src": "327:22:3" }, "payable": false, "returnParameters": { - "id": 1077, + "id": 936, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1076, + "id": 935, "name": "", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "373:7:8", + "scope": 946, + "src": "373:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -655,10 +655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1075, + "id": 934, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "373:7:8", + "src": "373:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -668,19 +668,19 @@ "visibility": "internal" } ], - "src": "372:9:8" + "src": "372:9:3" }, - "scope": 1132, - "src": "315:265:8", + "scope": 991, + "src": "315:265:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1106, + "id": 965, "nodeType": "Block", - "src": "651:43:8", + "src": "651:43:3", "statements": [ { "expression": { @@ -692,19 +692,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1099, + "id": 958, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1097, + "id": 956, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "664:1:8", + "referencedDeclaration": 950, + "src": "664:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -714,18 +714,18 @@ "operator": "<=", "rightExpression": { "argumentTypes": null, - "id": 1098, + "id": 957, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "669:1:8", + "referencedDeclaration": 948, + "src": "669:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "664:6:8", + "src": "664:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -739,18 +739,18 @@ "typeString": "bool" } ], - "id": 1096, + "id": 955, "name": "assert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "657:6:8", + "referencedDeclaration": 1157, + "src": "657:6:3", "typeDescriptions": { "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1100, + "id": 959, "isConstant": false, "isLValue": false, "isPure": false, @@ -758,15 +758,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "657:14:8", + "src": "657:14:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1101, + "id": 960, "nodeType": "ExpressionStatement", - "src": "657:14:8" + "src": "657:14:3" }, { "expression": { @@ -775,19 +775,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1104, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1102, + "id": 961, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "684:1:8", + "referencedDeclaration": 948, + "src": "684:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -797,32 +797,32 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 1103, + "id": 962, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "688:1:8", + "referencedDeclaration": 950, + "src": "688:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "684:5:8", + "src": "684:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1095, - "id": 1105, + "functionReturnParameters": 954, + "id": 964, "nodeType": "Return", - "src": "677:12:8" + "src": "677:12:3" } ] }, "documentation": null, - "id": 1107, + "id": 966, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -830,16 +830,16 @@ "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1092, + "id": 951, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 948, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1107, - "src": "597:9:8", + "scope": 966, + "src": "597:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -847,10 +847,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 947, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "597:7:8", + "src": "597:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -861,11 +861,11 @@ }, { "constant": false, - "id": 1091, + "id": 950, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1107, - "src": "608:9:8", + "scope": 966, + "src": "608:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -873,10 +873,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 949, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "608:7:8", + "src": "608:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -886,20 +886,20 @@ "visibility": "internal" } ], - "src": "596:22:8" + "src": "596:22:3" }, "payable": false, "returnParameters": { - "id": 1095, + "id": 954, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1094, + "id": 953, "name": "", "nodeType": "VariableDeclaration", - "scope": 1107, - "src": "642:7:8", + "scope": 966, + "src": "642:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -907,10 +907,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1093, + "id": 952, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "642:7:8", + "src": "642:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -920,32 +920,32 @@ "visibility": "internal" } ], - "src": "641:9:8" + "src": "641:9:3" }, - "scope": 1132, - "src": "584:110:8", + "scope": 991, + "src": "584:110:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1130, + "id": 989, "nodeType": "Block", - "src": "765:62:8", + "src": "765:62:3", "statements": [ { "assignments": [ - 1117 + 976 ], "declarations": [ { "constant": false, - "id": 1117, + "id": 976, "name": "c", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "771:9:8", + "scope": 990, + "src": "771:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -953,10 +953,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1116, + "id": 975, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "771:7:8", + "src": "771:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -966,26 +966,26 @@ "visibility": "internal" } ], - "id": 1121, + "id": 980, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1120, + "id": 979, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1118, + "id": 977, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1109, - "src": "783:1:8", + "referencedDeclaration": 968, + "src": "783:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -995,25 +995,25 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 1119, + "id": 978, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1111, - "src": "787:1:8", + "referencedDeclaration": 970, + "src": "787:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "783:5:8", + "src": "783:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "771:17:8" + "src": "771:17:3" }, { "expression": { @@ -1025,19 +1025,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1123, + "id": 982, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "801:1:8", + "referencedDeclaration": 976, + "src": "801:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,18 +1047,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 1124, + "id": 983, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1109, - "src": "806:1:8", + "referencedDeclaration": 968, + "src": "806:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "801:6:8", + "src": "801:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1072,18 +1072,18 @@ "typeString": "bool" } ], - "id": 1122, + "id": 981, "name": "assert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "794:6:8", + "referencedDeclaration": 1157, + "src": "794:6:3", "typeDescriptions": { "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1126, + "id": 985, "isConstant": false, "isLValue": false, "isPure": false, @@ -1091,39 +1091,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "794:14:8", + "src": "794:14:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1127, + "id": 986, "nodeType": "ExpressionStatement", - "src": "794:14:8" + "src": "794:14:3" }, { "expression": { "argumentTypes": null, - "id": 1128, + "id": 987, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "821:1:8", + "referencedDeclaration": 976, + "src": "821:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1115, - "id": 1129, + "functionReturnParameters": 974, + "id": 988, "nodeType": "Return", - "src": "814:8:8" + "src": "814:8:3" } ] }, "documentation": null, - "id": 1131, + "id": 990, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1131,16 +1131,16 @@ "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1112, + "id": 971, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1109, + "id": 968, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "711:9:8", + "scope": 990, + "src": "711:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1148,10 +1148,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1108, + "id": 967, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "711:7:8", + "src": "711:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1162,11 +1162,11 @@ }, { "constant": false, - "id": 1111, + "id": 970, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "722:9:8", + "scope": 990, + "src": "722:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1174,10 +1174,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1110, + "id": 969, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "722:7:8", + "src": "722:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1187,20 +1187,20 @@ "visibility": "internal" } ], - "src": "710:22:8" + "src": "710:22:3" }, "payable": false, "returnParameters": { - "id": 1115, + "id": 974, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1114, + "id": 973, "name": "", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "756:7:8", + "scope": 990, + "src": "756:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1208,10 +1208,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1113, + "id": 972, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "756:7:8", + "src": "756:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1221,33 +1221,33 @@ "visibility": "internal" } ], - "src": "755:9:8" + "src": "755:9:3" }, - "scope": 1132, - "src": "698:129:8", + "scope": 991, + "src": "698:129:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1133, - "src": "117:712:8" + "scope": 992, + "src": "117:712:3" } ], - "src": "0:830:8" + "src": "0:830:3" }, "legacyAST": { "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", "exportedSymbols": { "SafeMath": [ - 1132 + 991 ] }, - "id": 1133, + "id": 992, "nodeType": "SourceUnit", "nodes": [ { - "id": 1036, + "id": 895, "literals": [ "solidity", "^", @@ -1255,7 +1255,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:8" + "src": "0:24:3" }, { "baseContracts": [], @@ -1263,18 +1263,18 @@ "contractKind": "library", "documentation": "@title SafeMath\n@dev Math operations with safety checks that throw on error", "fullyImplemented": true, - "id": 1132, + "id": 991, "linearizedBaseContracts": [ - 1132 + 991 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1068, + "id": 927, "nodeType": "Block", - "src": "205:106:8", + "src": "205:106:3", "statements": [ { "condition": { @@ -1283,19 +1283,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1047, + "id": 906, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1045, + "id": 904, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1038, - "src": "215:1:8", + "referencedDeclaration": 897, + "src": "215:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1306,14 +1306,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1046, + "id": 905, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "220:1:8", + "src": "220:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -1321,33 +1321,33 @@ }, "value": "0" }, - "src": "215:6:8", + "src": "215:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1051, + "id": 910, "nodeType": "IfStatement", - "src": "211:35:8", + "src": "211:35:3", "trueBody": { - "id": 1050, + "id": 909, "nodeType": "Block", - "src": "223:23:8", + "src": "223:23:3", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", - "id": 1048, + "id": 907, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "238:1:8", + "src": "238:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -1355,26 +1355,26 @@ }, "value": "0" }, - "functionReturnParameters": 1044, - "id": 1049, + "functionReturnParameters": 903, + "id": 908, "nodeType": "Return", - "src": "231:8:8" + "src": "231:8:3" } ] } }, { "assignments": [ - 1053 + 912 ], "declarations": [ { "constant": false, - "id": 1053, + "id": 912, "name": "c", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "251:9:8", + "scope": 928, + "src": "251:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1382,10 +1382,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1052, + "id": 911, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "251:7:8", + "src": "251:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1395,26 +1395,26 @@ "visibility": "internal" } ], - "id": 1057, + "id": 916, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1056, + "id": 915, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1054, + "id": 913, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1038, - "src": "263:1:8", + "referencedDeclaration": 897, + "src": "263:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1424,25 +1424,25 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 1055, + "id": 914, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1040, - "src": "267:1:8", + "referencedDeclaration": 899, + "src": "267:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "263:5:8", + "src": "263:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "251:17:8" + "src": "251:17:3" }, { "expression": { @@ -1454,7 +1454,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1063, + "id": 922, "isConstant": false, "isLValue": false, "isPure": false, @@ -1465,19 +1465,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1061, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1059, + "id": 918, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1053, - "src": "281:1:8", + "referencedDeclaration": 912, + "src": "281:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1487,18 +1487,18 @@ "operator": "/", "rightExpression": { "argumentTypes": null, - "id": 1060, + "id": 919, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1038, - "src": "285:1:8", + "referencedDeclaration": 897, + "src": "285:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "281:5:8", + "src": "281:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1508,18 +1508,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1062, + "id": 921, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1040, - "src": "290:1:8", + "referencedDeclaration": 899, + "src": "290:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "281:10:8", + "src": "281:10:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1533,18 +1533,18 @@ "typeString": "bool" } ], - "id": 1058, + "id": 917, "name": "assert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "274:6:8", + "referencedDeclaration": 1157, + "src": "274:6:3", "typeDescriptions": { "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1064, + "id": 923, "isConstant": false, "isLValue": false, "isPure": false, @@ -1552,39 +1552,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "274:18:8", + "src": "274:18:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1065, + "id": 924, "nodeType": "ExpressionStatement", - "src": "274:18:8" + "src": "274:18:3" }, { "expression": { "argumentTypes": null, - "id": 1066, + "id": 925, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1053, - "src": "305:1:8", + "referencedDeclaration": 912, + "src": "305:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1044, - "id": 1067, + "functionReturnParameters": 903, + "id": 926, "nodeType": "Return", - "src": "298:8:8" + "src": "298:8:3" } ] }, "documentation": null, - "id": 1069, + "id": 928, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1592,16 +1592,16 @@ "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 1041, + "id": 900, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1038, + "id": 897, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "151:9:8", + "scope": 928, + "src": "151:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1609,10 +1609,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1037, + "id": 896, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "151:7:8", + "src": "151:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1623,11 +1623,11 @@ }, { "constant": false, - "id": 1040, + "id": 899, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "162:9:8", + "scope": 928, + "src": "162:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1635,10 +1635,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1039, + "id": 898, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "162:7:8", + "src": "162:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1648,20 +1648,20 @@ "visibility": "internal" } ], - "src": "150:22:8" + "src": "150:22:3" }, "payable": false, "returnParameters": { - "id": 1044, + "id": 903, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 902, "name": "", "nodeType": "VariableDeclaration", - "scope": 1069, - "src": "196:7:8", + "scope": 928, + "src": "196:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1669,10 +1669,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "196:7:8", + "src": "196:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1682,32 +1682,32 @@ "visibility": "internal" } ], - "src": "195:9:8" + "src": "195:9:3" }, - "scope": 1132, - "src": "138:173:8", + "scope": 991, + "src": "138:173:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1086, + "id": 945, "nodeType": "Block", - "src": "382:198:8", + "src": "382:198:3", "statements": [ { "assignments": [ - 1079 + 938 ], "declarations": [ { "constant": false, - "id": 1079, + "id": 938, "name": "c", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "462:9:8", + "scope": 946, + "src": "462:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1715,10 +1715,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1078, + "id": 937, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "462:7:8", + "src": "462:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1728,26 +1728,26 @@ "visibility": "internal" } ], - "id": 1083, + "id": 942, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1082, + "id": 941, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1080, + "id": 939, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1071, - "src": "474:1:8", + "referencedDeclaration": 930, + "src": "474:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1757,49 +1757,49 @@ "operator": "/", "rightExpression": { "argumentTypes": null, - "id": 1081, + "id": 940, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1073, - "src": "478:1:8", + "referencedDeclaration": 932, + "src": "478:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "474:5:8", + "src": "474:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "462:17:8" + "src": "462:17:3" }, { "expression": { "argumentTypes": null, - "id": 1084, + "id": 943, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1079, - "src": "574:1:8", + "referencedDeclaration": 938, + "src": "574:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1077, - "id": 1085, + "functionReturnParameters": 936, + "id": 944, "nodeType": "Return", - "src": "567:8:8" + "src": "567:8:3" } ] }, "documentation": null, - "id": 1087, + "id": 946, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1807,16 +1807,16 @@ "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1074, + "id": 933, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1071, + "id": 930, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "328:9:8", + "scope": 946, + "src": "328:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1824,10 +1824,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1070, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "328:7:8", + "src": "328:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1838,11 +1838,11 @@ }, { "constant": false, - "id": 1073, + "id": 932, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "339:9:8", + "scope": 946, + "src": "339:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1850,10 +1850,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1072, + "id": 931, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "339:7:8", + "src": "339:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1863,20 +1863,20 @@ "visibility": "internal" } ], - "src": "327:22:8" + "src": "327:22:3" }, "payable": false, "returnParameters": { - "id": 1077, + "id": 936, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1076, + "id": 935, "name": "", "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "373:7:8", + "scope": 946, + "src": "373:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1884,10 +1884,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1075, + "id": 934, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "373:7:8", + "src": "373:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1897,19 +1897,19 @@ "visibility": "internal" } ], - "src": "372:9:8" + "src": "372:9:3" }, - "scope": 1132, - "src": "315:265:8", + "scope": 991, + "src": "315:265:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1106, + "id": 965, "nodeType": "Block", - "src": "651:43:8", + "src": "651:43:3", "statements": [ { "expression": { @@ -1921,19 +1921,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1099, + "id": 958, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1097, + "id": 956, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "664:1:8", + "referencedDeclaration": 950, + "src": "664:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1943,18 +1943,18 @@ "operator": "<=", "rightExpression": { "argumentTypes": null, - "id": 1098, + "id": 957, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "669:1:8", + "referencedDeclaration": 948, + "src": "669:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "664:6:8", + "src": "664:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1968,18 +1968,18 @@ "typeString": "bool" } ], - "id": 1096, + "id": 955, "name": "assert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "657:6:8", + "referencedDeclaration": 1157, + "src": "657:6:3", "typeDescriptions": { "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1100, + "id": 959, "isConstant": false, "isLValue": false, "isPure": false, @@ -1987,15 +1987,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "657:14:8", + "src": "657:14:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1101, + "id": 960, "nodeType": "ExpressionStatement", - "src": "657:14:8" + "src": "657:14:3" }, { "expression": { @@ -2004,19 +2004,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1104, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1102, + "id": 961, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "684:1:8", + "referencedDeclaration": 948, + "src": "684:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2026,32 +2026,32 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 1103, + "id": 962, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "688:1:8", + "referencedDeclaration": 950, + "src": "688:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "684:5:8", + "src": "684:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1095, - "id": 1105, + "functionReturnParameters": 954, + "id": 964, "nodeType": "Return", - "src": "677:12:8" + "src": "677:12:3" } ] }, "documentation": null, - "id": 1107, + "id": 966, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2059,16 +2059,16 @@ "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1092, + "id": 951, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 948, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1107, - "src": "597:9:8", + "scope": 966, + "src": "597:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2076,10 +2076,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 947, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "597:7:8", + "src": "597:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2090,11 +2090,11 @@ }, { "constant": false, - "id": 1091, + "id": 950, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1107, - "src": "608:9:8", + "scope": 966, + "src": "608:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2102,10 +2102,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 949, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "608:7:8", + "src": "608:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2115,20 +2115,20 @@ "visibility": "internal" } ], - "src": "596:22:8" + "src": "596:22:3" }, "payable": false, "returnParameters": { - "id": 1095, + "id": 954, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1094, + "id": 953, "name": "", "nodeType": "VariableDeclaration", - "scope": 1107, - "src": "642:7:8", + "scope": 966, + "src": "642:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2136,10 +2136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1093, + "id": 952, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "642:7:8", + "src": "642:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2149,32 +2149,32 @@ "visibility": "internal" } ], - "src": "641:9:8" + "src": "641:9:3" }, - "scope": 1132, - "src": "584:110:8", + "scope": 991, + "src": "584:110:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1130, + "id": 989, "nodeType": "Block", - "src": "765:62:8", + "src": "765:62:3", "statements": [ { "assignments": [ - 1117 + 976 ], "declarations": [ { "constant": false, - "id": 1117, + "id": 976, "name": "c", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "771:9:8", + "scope": 990, + "src": "771:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2182,10 +2182,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1116, + "id": 975, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "771:7:8", + "src": "771:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2195,26 +2195,26 @@ "visibility": "internal" } ], - "id": 1121, + "id": 980, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1120, + "id": 979, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1118, + "id": 977, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1109, - "src": "783:1:8", + "referencedDeclaration": 968, + "src": "783:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2224,25 +2224,25 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 1119, + "id": 978, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1111, - "src": "787:1:8", + "referencedDeclaration": 970, + "src": "787:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "783:5:8", + "src": "783:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "771:17:8" + "src": "771:17:3" }, { "expression": { @@ -2254,19 +2254,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1123, + "id": 982, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "801:1:8", + "referencedDeclaration": 976, + "src": "801:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2276,18 +2276,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 1124, + "id": 983, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1109, - "src": "806:1:8", + "referencedDeclaration": 968, + "src": "806:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "801:6:8", + "src": "801:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2301,18 +2301,18 @@ "typeString": "bool" } ], - "id": 1122, + "id": 981, "name": "assert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "794:6:8", + "referencedDeclaration": 1157, + "src": "794:6:3", "typeDescriptions": { "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1126, + "id": 985, "isConstant": false, "isLValue": false, "isPure": false, @@ -2320,39 +2320,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "794:14:8", + "src": "794:14:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1127, + "id": 986, "nodeType": "ExpressionStatement", - "src": "794:14:8" + "src": "794:14:3" }, { "expression": { "argumentTypes": null, - "id": 1128, + "id": 987, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "821:1:8", + "referencedDeclaration": 976, + "src": "821:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1115, - "id": 1129, + "functionReturnParameters": 974, + "id": 988, "nodeType": "Return", - "src": "814:8:8" + "src": "814:8:3" } ] }, "documentation": null, - "id": 1131, + "id": 990, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2360,16 +2360,16 @@ "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1112, + "id": 971, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1109, + "id": 968, "name": "a", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "711:9:8", + "scope": 990, + "src": "711:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2377,10 +2377,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1108, + "id": 967, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "711:7:8", + "src": "711:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2391,11 +2391,11 @@ }, { "constant": false, - "id": 1111, + "id": 970, "name": "b", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "722:9:8", + "scope": 990, + "src": "722:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2403,10 +2403,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1110, + "id": 969, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "722:7:8", + "src": "722:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2416,20 +2416,20 @@ "visibility": "internal" } ], - "src": "710:22:8" + "src": "710:22:3" }, "payable": false, "returnParameters": { - "id": 1115, + "id": 974, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1114, + "id": 973, "name": "", "nodeType": "VariableDeclaration", - "scope": 1131, - "src": "756:7:8", + "scope": 990, + "src": "756:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2437,10 +2437,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1113, + "id": 972, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "756:7:8", + "src": "756:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2450,20 +2450,20 @@ "visibility": "internal" } ], - "src": "755:9:8" + "src": "755:9:3" }, - "scope": 1132, - "src": "698:129:8", + "scope": 991, + "src": "698:129:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1133, - "src": "117:712:8" + "scope": 992, + "src": "117:712:3" } ], - "src": "0:830:8" + "src": "0:830:3" }, "compiler": { "name": "solc", @@ -2471,5 +2471,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-10-16T06:55:43.627Z" + "updatedAt": "2018-10-16T07:48:55.563Z" } \ No newline at end of file diff --git a/contracts/interfaces/IBridge.sol b/contracts/interfaces/IBridge.sol index d0e3206..5a9cc7b 100644 --- a/contracts/interfaces/IBridge.sol +++ b/contracts/interfaces/IBridge.sol @@ -84,11 +84,11 @@ contract IBridge is Ownable { DetailedERC20 token; // crowdsale status - bool public completed; - bool public failed; + bool completed; + bool failed; // whether sale results were communicated to crowdsale controller or not - bool public notifiedSale; + bool notifiedSale; function transferManager(address _newManager) public onlyManager() { require(_newManager != address(0)); diff --git a/package.json b/package.json index ea6aea0..667bd94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wings-light-bridge", - "version": "1.2.4", + "version": "1.2.5", "description": "Wings easy integration.", "main": "truffle.js", "directories": {