@verified-network/verified-sdk 0.4.7 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi/accounts/Account.json +68 -68
- package/dist/abi/accounts/Client.json +128 -128
- package/dist/abi/accounts/Holder.json +114 -114
- package/dist/abi/accounts/Kyc.json +12318 -7795
- package/dist/abi/accounts/Ledger.json +67 -67
- package/dist/abi/accounts/System.json +193 -193
- package/dist/abi/securities/Issues.json +3 -3
- package/dist/abi/securities/Products.json +3 -3
- package/dist/abi/trades/OrderPool.json +4 -4
- package/dist/abi/trades/PoolFactory.json +3 -3
- package/dist/abi/trades/PostTrade.json +3 -3
- package/dist/abi/trades/PreTrade.json +4 -4
- package/dist/abi/trades/SecuritiesRegistry.json +4 -4
- package/dist/abi/trades/Security.json +3 -3
- package/dist/abi/trades/Trade.json +4 -4
- package/dist/contract/kyc/index.js +11 -0
- package/dist/contractAddress/index.js +15 -15
- package/package.json +1 -1
|
@@ -323,9 +323,9 @@
|
|
|
323
323
|
"type": "function"
|
|
324
324
|
}
|
|
325
325
|
],
|
|
326
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.7+commit.6da8b019\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getCustody\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_submanager\",\"type\":\"address\"},{\"name\":\"_country\",\"type\":\"bytes32\"},{\"name\":\"_role\",\"type\":\"bytes32\"}],\"name\":\"addRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getAMLStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getAccess\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_role\",\"type\":\"bytes32\"},{\"name\":\"_country\",\"type\":\"bytes32\"}],\"name\":\"getManagers\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getManager\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getRole\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"},{\"name\":\"_account\",\"type\":\"bytes32\"}],\"name\":\"setCustody\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"login\",\"type\":\"bool\"}],\"name\":\"setAccess\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"},{\"name\":\"_manager\",\"type\":\"address\"}],\"name\":\"setManager\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"},{\"name\":\"status\",\"type\":\"bool\"}],\"name\":\"setAMLStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_manager\",\"type\":\"address\"},{\"name\":\"_status\",\"type\":\"bool\"}],\"name\":\"getClients\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_kyc\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAMLManager\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_submanager\",\"type\":\"address\"},{\"name\":\"_country\",\"type\":\"bytes32\"},{\"name\":\"_role\",\"type\":\"bytes32\"}],\"name\":\"removeRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"manager\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"ManagerRole\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/Client.sol\":\"Client\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/upgrades/contracts/Initializable.sol\":{\"keccak256\":\"0x9bfec92e36234ecc99b5d37230acb6cd1f99560233753162204104a4897e8721\",\"urls\":[\"bzzr://f75d88b16fe25a9e19b3512691c496e2bb6d8451bc9a636196c4e17ca9b40201\"]},\"project:/contracts/Client.sol\":{\"keccak256\":\"0x910b8828e9a8bb9bb2e4cf46d636abaed389873ee2064f7b8566ae8597973ac7\",\"urls\":[\"bzzr://24934fa7d215a176b709d5b33998a429abc92d43968ccf625d96244396cde482\"]},\"project:/contracts/interfaces/VerifiedClient.sol\":{\"keccak256\":\"0xd4368b27a696c79928d34a7ac64915f66338c3b962f9a80b99a58c145e0b74fe\",\"urls\":[\"bzzr://3eaf82f4ef876b5b7f3d84441cf60c2e47a152ad0e85e10d1a6b86b1ccdeeb2d\"]},\"project:/contracts/interfaces/VerifiedKYC.sol\":{\"keccak256\":\"
|
|
327
|
-
"bytecode": "0x608060405234801561001057600080fd5b50611803806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806359ce7d4c11610097578063c3c5a54711610066578063c3c5a5471461039a578063c4d66de8146103c0578063dbc4789a146103e6578063e658f229146103ee57610100565b806359ce7d4c146102f15780635df8122f14610310578063685b8fd31461033e5780638b34710d1461036c57610100565b80633c6ff32b116100d35780633c6ff32b146101ea5780633d5840631461025d578063442767331461029f5780634a1f16e0146102c557610100565b806319d7152c14610105578063394357d21461013d5780633a291033146101715780633c33c9ce146101ab575b600080fd5b61012b6004803603602081101561011b57600080fd5b50356001600160a01b0316610420565b60408051918252519081900360200190f35b61016f6004803603606081101561015357600080fd5b506001600160a01b038135169060208101359060400135610517565b005b6101976004803603602081101561018757600080fd5b50356001600160a01b0316610633565b604080519115158252519081900360200190f35b6101d1600480360360208110156101c157600080fd5b50356001600160a01b031661069c565b6040805192835260208301919091528051918290030190f35b61020d6004803603604081101561020057600080fd5b5080359060200135610787565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610249578181015183820152602001610231565b505050509050019250505060405180910390f35b6102836004803603602081101561027357600080fd5b50356001600160a01b0316610914565b604080516001600160a01b039092168252519081900360200190f35b61012b600480360360208110156102b557600080fd5b50356001600160a01b0316610935565b61016f600480360360408110156102db57600080fd5b506001600160a01b0381351690602001356109f1565b61016f6004803603602081101561030757600080fd5b50351515610ae6565b61016f6004803603604081101561032657600080fd5b506001600160a01b0381358116916020013516610b9c565b61016f6004803603604081101561035457600080fd5b506001600160a01b038135169060200135151561128f565b61020d6004803603604081101561038257600080fd5b506001600160a01b0381351690602001351515611316565b610197600480360360208110156103b057600080fd5b50356001600160a01b031661133e565b61016f600480360360208110156103d657600080fd5b50356001600160a01b0316611364565b61028361138f565b61016f6004803603606081101561040457600080fd5b506001600160a01b03813516906020810135906040013561139e565b60006001600160a01b03821633148061045557506001600160a01b038281166000908152603560205260409020600201541633145b8061046a57506039546001600160a01b031633145b61047357600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b1580156104c357600080fd5b505afa1580156104d7573d6000803e3d6000fd5b505050506040513d60208110156104ed57600080fd5b50516003141561051257506001600160a01b0381166000908152603660205260409020545b919050565b80600160b91b6821bab9ba37b234b0b702148061053f575080600160d11b6524b9b9bab2b902145b80610551575080600160f41b61044502145b80610567575080600160d21b6512d650d0535302145b61057057600080fd5b600061057d336001611568565b511161058857600080fd5b6034805460018181019092557f46bddb1178e94d7f2892ff5f366840eb658911794f2c3a44c450aa2c505186c10180546001600160a01b0386166001600160a01b0319918216811790925560008281526033602090815260409182902080549093163317835593820186905560029091018490558051848152905191927f840729a3d88519b773ba67cd0bcd5ecd354b623d44b2ef3ee9000e6adca0778d92918290030190a2505050565b6001600160a01b0381811660009081526035602052604081206002015490911633148061066a57506039546001600160a01b031633145b61067357600080fd5b506001600160a01b0316600090815260356020526040902060020154600160a01b900460ff1690565b6000806001600160a01b0383163314806106d257506001600160a01b038381166000908152603560205260409020600201541633145b6106db57600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038681166004830152915191909216916330ccebb5916024808301926020929190829003018186803b15801561072b57600080fd5b505afa15801561073f573d6000803e3d6000fd5b505050506040513d602081101561075557600080fd5b5051600314156107825750506001600160a01b038116600090815260356020526040902080546001909101545b915091565b606082600160b91b6821bab9ba37b234b0b70214806107b1575082600160d11b6524b9b9bab2b902145b806107c3575082600160f41b61044502145b806107d9575082600160d21b6512d650d0535302145b6107e257600080fd5b6034546040805182815260208084028201019091526060918015610810578160200160208202803883390190505b5090506000805b60345481101561090a5785603360006034848154811061083357fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015414801561089f575084603360006034848154811061087557fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b1561090257603481815481106108b157fe5b9060005260206000200160009054906101000a90046001600160a01b03168383815181106108db57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b600101610817565b5090949350505050565b6001600160a01b039081166000908152603560205260409020600201541690565b6000805b6034548110156109bf57826001600160a01b03166034828154811061095a57fe5b6000918252602090912001546001600160a01b031614156109b757603360006034838154811061098657fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015491506105129050565b600101610939565b506039546001600160a01b03838116911614156109e95750600160d21b6512d650d0535302610512565b506000610512565b6001600160a01b038216331480610a2457506001600160a01b038281166000908152603560205260409020600201541633145b80610a3957506039546001600160a01b031633145b610a4257600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d6020811015610abc57600080fd5b505160031415610ae2576001600160a01b03821660009081526036602052604090208190555b5050565b60385460408051600160e01b6330ccebb502815233600482015290516001600160a01b03909216916330ccebb591602480820192602092909190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d6020811015610b5e57600080fd5b505160031415610b99578015610b8557336000908152603560205260409020429055610b99565b336000908152603560205260408120600101555b50565b6039546000906001600160a01b031633148015610bcb5750816001600160a01b0316836001600160a01b031614155b15610f0e576001600160a01b03838116600090815260356020526040902060020154811690831614610f09576001600160a01b038381166000908152603560205260409020600201541615610e20576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b038216600090815260376020526040902054811015610e19576001600160a01b03828116600090815260376020526040902080549187169183908110610c8557fe5b6000918252602090912001546001600160a01b03161415610ce2576001600160a01b0382166000908152603760205260409020805482908110610cc457fe5b600091825260209091200180546001600160a01b0319169055600192505b828015610d0a57506001600160a01b0382166000908152603760205260409020546000190181105b15610da0576001600160a01b0382166000908152603760205260409020805460018301908110610d3657fe5b60009182526020808320909101546001600160a01b03858116845260379092526040909220805491909216919083908110610d6d57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610e11565b828015610dc857506001600160a01b0382166000908152603760205260409020546000190181145b15610e11576001600160a01b0382166000908152603760205260409020805480610dee57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610c3c565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015610ec4576001600160a01b03838116600090815260376020526040902080549186169183908110610e9c57fe5b6000918252602090912001546001600160a01b03161415610ebc57600191505b600101610e53565b5080610f09576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b61128a565b6001600160a01b038381166000908152603560205260409020600201541633148015610f4c5750816001600160a01b0316836001600160a01b031614155b1561128a576001600160a01b0383811660009081526035602052604090206002015481169083161461128a576001600160a01b0383811660009081526035602052604090206002015416156111a1576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b03821660009081526037602052604090205481101561119a576001600160a01b0382811660009081526037602052604090208054918716918390811061100657fe5b6000918252602090912001546001600160a01b03161415611063576001600160a01b038216600090815260376020526040902080548290811061104557fe5b600091825260209091200180546001600160a01b0319169055600192505b82801561108b57506001600160a01b0382166000908152603760205260409020546000190181105b15611121576001600160a01b03821660009081526037602052604090208054600183019081106110b757fe5b60009182526020808320909101546001600160a01b038581168452603790925260409092208054919092169190839081106110ee57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550611192565b82801561114957506001600160a01b0382166000908152603760205260409020546000190181145b15611192576001600160a01b038216600090815260376020526040902080548061116f57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610fbd565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015611245576001600160a01b0383811660009081526037602052604090208054918616918390811061121d57fe5b6000918252602090912001546001600160a01b0316141561123d57600191505b6001016111d4565b508061128a576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b505050565b6001600160a01b03828116600090815260356020526040902060020154163314806112c457506039546001600160a01b031633145b6112cd57600080fd5b6001600160a01b0390911660009081526035602052604090206002018054911515600160a01b0274ff000000000000000000000000000000000000000019909216919091179055565b6060336001600160a01b0384161461132d57600080fd5b6113378383611568565b9392505050565b6001600160a01b038116600090815260356020526040812054156109e957506001610512565b603880546001600160a01b039092166001600160a01b03199283161790556039805490911633179055565b6039546001600160a01b031690565b80600160b91b6821bab9ba37b234b0b70214806113c6575080600160d11b6524b9b9bab2b902145b806113d8575080600160f41b61044502145b806113ee575080600160d21b6512d650d0535302145b6113f757600080fd5b60005b60345481101561156257836001600160a01b03166034828154811061141b57fe5b6000918252602090912001546001600160a01b0316148015611474575081603360006034848154811061144a57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060020154145b80156114b7575082603360006034848154811061148d57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b80156115065750336001600160a01b031660336000603484815481106114d957fe5b60009182526020808320909101546001600160a01b03908116845290830193909352604090910190205416145b1561155a57603360006034838154811061151c57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001812080546001600160a01b031916815560018101829055600201555b6001016113fa565b50505050565b60608060376000856001600160a01b03166001600160a01b031681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156115e457602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115c6575b5050505050905060608151604051908082528060200260200182016040528015611618578160200160208202803883390190505b5090506000805b83518110156117505785156116bd576035600085838151811061163e57fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600001546000146116b85783818151811061167d57fe5b602002602001015183838151811061169157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b611748565b603560008583815181106116cd57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000154600014156117485783818151811061170d57fe5b602002602001015183838151811061172157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b60010161161f565b5060608160405190808252806020026020018201604052801561177d578160200160208202803883390190505b50905060005b828110156117cb5783818151811061179757fe5b60200260200101518282815181106117ab57fe5b6001600160a01b0390921660209283029190910190910152600101611783565b5092969550505050505056fea165627a7a7230582036bdbfc44e2a4cd727bd09f8d3de56fbc19be23dac0861ac01caff73d7989f850029",
|
|
328
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806359ce7d4c11610097578063c3c5a54711610066578063c3c5a5471461039a578063c4d66de8146103c0578063dbc4789a146103e6578063e658f229146103ee57610100565b806359ce7d4c146102f15780635df8122f14610310578063685b8fd31461033e5780638b34710d1461036c57610100565b80633c6ff32b116100d35780633c6ff32b146101ea5780633d5840631461025d578063442767331461029f5780634a1f16e0146102c557610100565b806319d7152c14610105578063394357d21461013d5780633a291033146101715780633c33c9ce146101ab575b600080fd5b61012b6004803603602081101561011b57600080fd5b50356001600160a01b0316610420565b60408051918252519081900360200190f35b61016f6004803603606081101561015357600080fd5b506001600160a01b038135169060208101359060400135610517565b005b6101976004803603602081101561018757600080fd5b50356001600160a01b0316610633565b604080519115158252519081900360200190f35b6101d1600480360360208110156101c157600080fd5b50356001600160a01b031661069c565b6040805192835260208301919091528051918290030190f35b61020d6004803603604081101561020057600080fd5b5080359060200135610787565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610249578181015183820152602001610231565b505050509050019250505060405180910390f35b6102836004803603602081101561027357600080fd5b50356001600160a01b0316610914565b604080516001600160a01b039092168252519081900360200190f35b61012b600480360360208110156102b557600080fd5b50356001600160a01b0316610935565b61016f600480360360408110156102db57600080fd5b506001600160a01b0381351690602001356109f1565b61016f6004803603602081101561030757600080fd5b50351515610ae6565b61016f6004803603604081101561032657600080fd5b506001600160a01b0381358116916020013516610b9c565b61016f6004803603604081101561035457600080fd5b506001600160a01b038135169060200135151561128f565b61020d6004803603604081101561038257600080fd5b506001600160a01b0381351690602001351515611316565b610197600480360360208110156103b057600080fd5b50356001600160a01b031661133e565b61016f600480360360208110156103d657600080fd5b50356001600160a01b0316611364565b61028361138f565b61016f6004803603606081101561040457600080fd5b506001600160a01b03813516906020810135906040013561139e565b60006001600160a01b03821633148061045557506001600160a01b038281166000908152603560205260409020600201541633145b8061046a57506039546001600160a01b031633145b61047357600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b1580156104c357600080fd5b505afa1580156104d7573d6000803e3d6000fd5b505050506040513d60208110156104ed57600080fd5b50516003141561051257506001600160a01b0381166000908152603660205260409020545b919050565b80600160b91b6821bab9ba37b234b0b702148061053f575080600160d11b6524b9b9bab2b902145b80610551575080600160f41b61044502145b80610567575080600160d21b6512d650d0535302145b61057057600080fd5b600061057d336001611568565b511161058857600080fd5b6034805460018181019092557f46bddb1178e94d7f2892ff5f366840eb658911794f2c3a44c450aa2c505186c10180546001600160a01b0386166001600160a01b0319918216811790925560008281526033602090815260409182902080549093163317835593820186905560029091018490558051848152905191927f840729a3d88519b773ba67cd0bcd5ecd354b623d44b2ef3ee9000e6adca0778d92918290030190a2505050565b6001600160a01b0381811660009081526035602052604081206002015490911633148061066a57506039546001600160a01b031633145b61067357600080fd5b506001600160a01b0316600090815260356020526040902060020154600160a01b900460ff1690565b6000806001600160a01b0383163314806106d257506001600160a01b038381166000908152603560205260409020600201541633145b6106db57600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038681166004830152915191909216916330ccebb5916024808301926020929190829003018186803b15801561072b57600080fd5b505afa15801561073f573d6000803e3d6000fd5b505050506040513d602081101561075557600080fd5b5051600314156107825750506001600160a01b038116600090815260356020526040902080546001909101545b915091565b606082600160b91b6821bab9ba37b234b0b70214806107b1575082600160d11b6524b9b9bab2b902145b806107c3575082600160f41b61044502145b806107d9575082600160d21b6512d650d0535302145b6107e257600080fd5b6034546040805182815260208084028201019091526060918015610810578160200160208202803883390190505b5090506000805b60345481101561090a5785603360006034848154811061083357fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015414801561089f575084603360006034848154811061087557fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b1561090257603481815481106108b157fe5b9060005260206000200160009054906101000a90046001600160a01b03168383815181106108db57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b600101610817565b5090949350505050565b6001600160a01b039081166000908152603560205260409020600201541690565b6000805b6034548110156109bf57826001600160a01b03166034828154811061095a57fe5b6000918252602090912001546001600160a01b031614156109b757603360006034838154811061098657fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015491506105129050565b600101610939565b506039546001600160a01b03838116911614156109e95750600160d21b6512d650d0535302610512565b506000610512565b6001600160a01b038216331480610a2457506001600160a01b038281166000908152603560205260409020600201541633145b80610a3957506039546001600160a01b031633145b610a4257600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d6020811015610abc57600080fd5b505160031415610ae2576001600160a01b03821660009081526036602052604090208190555b5050565b60385460408051600160e01b6330ccebb502815233600482015290516001600160a01b03909216916330ccebb591602480820192602092909190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d6020811015610b5e57600080fd5b505160031415610b99578015610b8557336000908152603560205260409020429055610b99565b336000908152603560205260408120600101555b50565b6039546000906001600160a01b031633148015610bcb5750816001600160a01b0316836001600160a01b031614155b15610f0e576001600160a01b03838116600090815260356020526040902060020154811690831614610f09576001600160a01b038381166000908152603560205260409020600201541615610e20576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b038216600090815260376020526040902054811015610e19576001600160a01b03828116600090815260376020526040902080549187169183908110610c8557fe5b6000918252602090912001546001600160a01b03161415610ce2576001600160a01b0382166000908152603760205260409020805482908110610cc457fe5b600091825260209091200180546001600160a01b0319169055600192505b828015610d0a57506001600160a01b0382166000908152603760205260409020546000190181105b15610da0576001600160a01b0382166000908152603760205260409020805460018301908110610d3657fe5b60009182526020808320909101546001600160a01b03858116845260379092526040909220805491909216919083908110610d6d57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610e11565b828015610dc857506001600160a01b0382166000908152603760205260409020546000190181145b15610e11576001600160a01b0382166000908152603760205260409020805480610dee57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610c3c565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015610ec4576001600160a01b03838116600090815260376020526040902080549186169183908110610e9c57fe5b6000918252602090912001546001600160a01b03161415610ebc57600191505b600101610e53565b5080610f09576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b61128a565b6001600160a01b038381166000908152603560205260409020600201541633148015610f4c5750816001600160a01b0316836001600160a01b031614155b1561128a576001600160a01b0383811660009081526035602052604090206002015481169083161461128a576001600160a01b0383811660009081526035602052604090206002015416156111a1576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b03821660009081526037602052604090205481101561119a576001600160a01b0382811660009081526037602052604090208054918716918390811061100657fe5b6000918252602090912001546001600160a01b03161415611063576001600160a01b038216600090815260376020526040902080548290811061104557fe5b600091825260209091200180546001600160a01b0319169055600192505b82801561108b57506001600160a01b0382166000908152603760205260409020546000190181105b15611121576001600160a01b03821660009081526037602052604090208054600183019081106110b757fe5b60009182526020808320909101546001600160a01b038581168452603790925260409092208054919092169190839081106110ee57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550611192565b82801561114957506001600160a01b0382166000908152603760205260409020546000190181145b15611192576001600160a01b038216600090815260376020526040902080548061116f57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610fbd565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015611245576001600160a01b0383811660009081526037602052604090208054918616918390811061121d57fe5b6000918252602090912001546001600160a01b0316141561123d57600191505b6001016111d4565b508061128a576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b505050565b6001600160a01b03828116600090815260356020526040902060020154163314806112c457506039546001600160a01b031633145b6112cd57600080fd5b6001600160a01b0390911660009081526035602052604090206002018054911515600160a01b0274ff000000000000000000000000000000000000000019909216919091179055565b6060336001600160a01b0384161461132d57600080fd5b6113378383611568565b9392505050565b6001600160a01b038116600090815260356020526040812054156109e957506001610512565b603880546001600160a01b039092166001600160a01b03199283161790556039805490911633179055565b6039546001600160a01b031690565b80600160b91b6821bab9ba37b234b0b70214806113c6575080600160d11b6524b9b9bab2b902145b806113d8575080600160f41b61044502145b806113ee575080600160d21b6512d650d0535302145b6113f757600080fd5b60005b60345481101561156257836001600160a01b03166034828154811061141b57fe5b6000918252602090912001546001600160a01b0316148015611474575081603360006034848154811061144a57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060020154145b80156114b7575082603360006034848154811061148d57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b80156115065750336001600160a01b031660336000603484815481106114d957fe5b60009182526020808320909101546001600160a01b03908116845290830193909352604090910190205416145b1561155a57603360006034838154811061151c57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001812080546001600160a01b031916815560018101829055600201555b6001016113fa565b50505050565b60608060376000856001600160a01b03166001600160a01b031681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156115e457602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115c6575b5050505050905060608151604051908082528060200260200182016040528015611618578160200160208202803883390190505b5090506000805b83518110156117505785156116bd576035600085838151811061163e57fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600001546000146116b85783818151811061167d57fe5b602002602001015183838151811061169157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b611748565b603560008583815181106116cd57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000154600014156117485783818151811061170d57fe5b602002602001015183838151811061172157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b60010161161f565b5060608160405190808252806020026020018201604052801561177d578160200160208202803883390190505b50905060005b828110156117cb5783818151811061179757fe5b60200260200101518282815181106117ab57fe5b6001600160a01b0390921660209283029190910190910152600101611783565b5092969550505050505056fea165627a7a7230582036bdbfc44e2a4cd727bd09f8d3de56fbc19be23dac0861ac01caff73d7989f850029",
|
|
326
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.7+commit.6da8b019\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getCustody\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_submanager\",\"type\":\"address\"},{\"name\":\"_country\",\"type\":\"bytes32\"},{\"name\":\"_role\",\"type\":\"bytes32\"}],\"name\":\"addRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getAMLStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getAccess\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_role\",\"type\":\"bytes32\"},{\"name\":\"_country\",\"type\":\"bytes32\"}],\"name\":\"getManagers\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"getManager\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getRole\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"},{\"name\":\"_account\",\"type\":\"bytes32\"}],\"name\":\"setCustody\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"login\",\"type\":\"bool\"}],\"name\":\"setAccess\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"},{\"name\":\"_manager\",\"type\":\"address\"}],\"name\":\"setManager\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"},{\"name\":\"status\",\"type\":\"bool\"}],\"name\":\"setAMLStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_manager\",\"type\":\"address\"},{\"name\":\"_status\",\"type\":\"bool\"}],\"name\":\"getClients\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_client\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_kyc\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAMLManager\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_submanager\",\"type\":\"address\"},{\"name\":\"_country\",\"type\":\"bytes32\"},{\"name\":\"_role\",\"type\":\"bytes32\"}],\"name\":\"removeRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"manager\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"ManagerRole\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/Client.sol\":\"Client\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/upgrades/contracts/Initializable.sol\":{\"keccak256\":\"0x9bfec92e36234ecc99b5d37230acb6cd1f99560233753162204104a4897e8721\",\"urls\":[\"bzzr://f75d88b16fe25a9e19b3512691c496e2bb6d8451bc9a636196c4e17ca9b40201\"]},\"project:/contracts/Client.sol\":{\"keccak256\":\"0x910b8828e9a8bb9bb2e4cf46d636abaed389873ee2064f7b8566ae8597973ac7\",\"urls\":[\"bzzr://24934fa7d215a176b709d5b33998a429abc92d43968ccf625d96244396cde482\"]},\"project:/contracts/interfaces/VerifiedClient.sol\":{\"keccak256\":\"0xd4368b27a696c79928d34a7ac64915f66338c3b962f9a80b99a58c145e0b74fe\",\"urls\":[\"bzzr://3eaf82f4ef876b5b7f3d84441cf60c2e47a152ad0e85e10d1a6b86b1ccdeeb2d\"]},\"project:/contracts/interfaces/VerifiedKYC.sol\":{\"keccak256\":\"0x7836dff3c103410cbaae46c5e6f4942032add19ebc134d5bec0b5efe1e25aa56\",\"urls\":[\"bzzr://039a3dd081feb4b4aa908e51d65a0e262aa1ceda9f6e6f84bfbfe57aedc065ea\"]}},\"version\":1}",
|
|
327
|
+
"bytecode": "0x608060405234801561001057600080fd5b50611803806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806359ce7d4c11610097578063c3c5a54711610066578063c3c5a5471461039a578063c4d66de8146103c0578063dbc4789a146103e6578063e658f229146103ee57610100565b806359ce7d4c146102f15780635df8122f14610310578063685b8fd31461033e5780638b34710d1461036c57610100565b80633c6ff32b116100d35780633c6ff32b146101ea5780633d5840631461025d578063442767331461029f5780634a1f16e0146102c557610100565b806319d7152c14610105578063394357d21461013d5780633a291033146101715780633c33c9ce146101ab575b600080fd5b61012b6004803603602081101561011b57600080fd5b50356001600160a01b0316610420565b60408051918252519081900360200190f35b61016f6004803603606081101561015357600080fd5b506001600160a01b038135169060208101359060400135610517565b005b6101976004803603602081101561018757600080fd5b50356001600160a01b0316610633565b604080519115158252519081900360200190f35b6101d1600480360360208110156101c157600080fd5b50356001600160a01b031661069c565b6040805192835260208301919091528051918290030190f35b61020d6004803603604081101561020057600080fd5b5080359060200135610787565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610249578181015183820152602001610231565b505050509050019250505060405180910390f35b6102836004803603602081101561027357600080fd5b50356001600160a01b0316610914565b604080516001600160a01b039092168252519081900360200190f35b61012b600480360360208110156102b557600080fd5b50356001600160a01b0316610935565b61016f600480360360408110156102db57600080fd5b506001600160a01b0381351690602001356109f1565b61016f6004803603602081101561030757600080fd5b50351515610ae6565b61016f6004803603604081101561032657600080fd5b506001600160a01b0381358116916020013516610b9c565b61016f6004803603604081101561035457600080fd5b506001600160a01b038135169060200135151561128f565b61020d6004803603604081101561038257600080fd5b506001600160a01b0381351690602001351515611316565b610197600480360360208110156103b057600080fd5b50356001600160a01b031661133e565b61016f600480360360208110156103d657600080fd5b50356001600160a01b0316611364565b61028361138f565b61016f6004803603606081101561040457600080fd5b506001600160a01b03813516906020810135906040013561139e565b60006001600160a01b03821633148061045557506001600160a01b038281166000908152603560205260409020600201541633145b8061046a57506039546001600160a01b031633145b61047357600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b1580156104c357600080fd5b505afa1580156104d7573d6000803e3d6000fd5b505050506040513d60208110156104ed57600080fd5b50516003141561051257506001600160a01b0381166000908152603660205260409020545b919050565b80600160b91b6821bab9ba37b234b0b702148061053f575080600160d11b6524b9b9bab2b902145b80610551575080600160f41b61044502145b80610567575080600160d21b6512d650d0535302145b61057057600080fd5b600061057d336001611568565b511161058857600080fd5b6034805460018181019092557f46bddb1178e94d7f2892ff5f366840eb658911794f2c3a44c450aa2c505186c10180546001600160a01b0386166001600160a01b0319918216811790925560008281526033602090815260409182902080549093163317835593820186905560029091018490558051848152905191927f840729a3d88519b773ba67cd0bcd5ecd354b623d44b2ef3ee9000e6adca0778d92918290030190a2505050565b6001600160a01b0381811660009081526035602052604081206002015490911633148061066a57506039546001600160a01b031633145b61067357600080fd5b506001600160a01b0316600090815260356020526040902060020154600160a01b900460ff1690565b6000806001600160a01b0383163314806106d257506001600160a01b038381166000908152603560205260409020600201541633145b6106db57600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038681166004830152915191909216916330ccebb5916024808301926020929190829003018186803b15801561072b57600080fd5b505afa15801561073f573d6000803e3d6000fd5b505050506040513d602081101561075557600080fd5b5051600314156107825750506001600160a01b038116600090815260356020526040902080546001909101545b915091565b606082600160b91b6821bab9ba37b234b0b70214806107b1575082600160d11b6524b9b9bab2b902145b806107c3575082600160f41b61044502145b806107d9575082600160d21b6512d650d0535302145b6107e257600080fd5b6034546040805182815260208084028201019091526060918015610810578160200160208202803883390190505b5090506000805b60345481101561090a5785603360006034848154811061083357fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015414801561089f575084603360006034848154811061087557fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b1561090257603481815481106108b157fe5b9060005260206000200160009054906101000a90046001600160a01b03168383815181106108db57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b600101610817565b5090949350505050565b6001600160a01b039081166000908152603560205260409020600201541690565b6000805b6034548110156109bf57826001600160a01b03166034828154811061095a57fe5b6000918252602090912001546001600160a01b031614156109b757603360006034838154811061098657fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015491506105129050565b600101610939565b506039546001600160a01b03838116911614156109e95750600160d21b6512d650d0535302610512565b506000610512565b6001600160a01b038216331480610a2457506001600160a01b038281166000908152603560205260409020600201541633145b80610a3957506039546001600160a01b031633145b610a4257600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d6020811015610abc57600080fd5b505160031415610ae2576001600160a01b03821660009081526036602052604090208190555b5050565b60385460408051600160e01b6330ccebb502815233600482015290516001600160a01b03909216916330ccebb591602480820192602092909190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d6020811015610b5e57600080fd5b505160031415610b99578015610b8557336000908152603560205260409020429055610b99565b336000908152603560205260408120600101555b50565b6039546000906001600160a01b031633148015610bcb5750816001600160a01b0316836001600160a01b031614155b15610f0e576001600160a01b03838116600090815260356020526040902060020154811690831614610f09576001600160a01b038381166000908152603560205260409020600201541615610e20576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b038216600090815260376020526040902054811015610e19576001600160a01b03828116600090815260376020526040902080549187169183908110610c8557fe5b6000918252602090912001546001600160a01b03161415610ce2576001600160a01b0382166000908152603760205260409020805482908110610cc457fe5b600091825260209091200180546001600160a01b0319169055600192505b828015610d0a57506001600160a01b0382166000908152603760205260409020546000190181105b15610da0576001600160a01b0382166000908152603760205260409020805460018301908110610d3657fe5b60009182526020808320909101546001600160a01b03858116845260379092526040909220805491909216919083908110610d6d57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610e11565b828015610dc857506001600160a01b0382166000908152603760205260409020546000190181145b15610e11576001600160a01b0382166000908152603760205260409020805480610dee57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610c3c565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015610ec4576001600160a01b03838116600090815260376020526040902080549186169183908110610e9c57fe5b6000918252602090912001546001600160a01b03161415610ebc57600191505b600101610e53565b5080610f09576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b61128a565b6001600160a01b038381166000908152603560205260409020600201541633148015610f4c5750816001600160a01b0316836001600160a01b031614155b1561128a576001600160a01b0383811660009081526035602052604090206002015481169083161461128a576001600160a01b0383811660009081526035602052604090206002015416156111a1576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b03821660009081526037602052604090205481101561119a576001600160a01b0382811660009081526037602052604090208054918716918390811061100657fe5b6000918252602090912001546001600160a01b03161415611063576001600160a01b038216600090815260376020526040902080548290811061104557fe5b600091825260209091200180546001600160a01b0319169055600192505b82801561108b57506001600160a01b0382166000908152603760205260409020546000190181105b15611121576001600160a01b03821660009081526037602052604090208054600183019081106110b757fe5b60009182526020808320909101546001600160a01b038581168452603790925260409092208054919092169190839081106110ee57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550611192565b82801561114957506001600160a01b0382166000908152603760205260409020546000190181145b15611192576001600160a01b038216600090815260376020526040902080548061116f57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610fbd565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015611245576001600160a01b0383811660009081526037602052604090208054918616918390811061121d57fe5b6000918252602090912001546001600160a01b0316141561123d57600191505b6001016111d4565b508061128a576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b505050565b6001600160a01b03828116600090815260356020526040902060020154163314806112c457506039546001600160a01b031633145b6112cd57600080fd5b6001600160a01b0390911660009081526035602052604090206002018054911515600160a01b0274ff000000000000000000000000000000000000000019909216919091179055565b6060336001600160a01b0384161461132d57600080fd5b6113378383611568565b9392505050565b6001600160a01b038116600090815260356020526040812054156109e957506001610512565b603880546001600160a01b039092166001600160a01b03199283161790556039805490911633179055565b6039546001600160a01b031690565b80600160b91b6821bab9ba37b234b0b70214806113c6575080600160d11b6524b9b9bab2b902145b806113d8575080600160f41b61044502145b806113ee575080600160d21b6512d650d0535302145b6113f757600080fd5b60005b60345481101561156257836001600160a01b03166034828154811061141b57fe5b6000918252602090912001546001600160a01b0316148015611474575081603360006034848154811061144a57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060020154145b80156114b7575082603360006034848154811061148d57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b80156115065750336001600160a01b031660336000603484815481106114d957fe5b60009182526020808320909101546001600160a01b03908116845290830193909352604090910190205416145b1561155a57603360006034838154811061151c57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001812080546001600160a01b031916815560018101829055600201555b6001016113fa565b50505050565b60608060376000856001600160a01b03166001600160a01b031681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156115e457602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115c6575b5050505050905060608151604051908082528060200260200182016040528015611618578160200160208202803883390190505b5090506000805b83518110156117505785156116bd576035600085838151811061163e57fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600001546000146116b85783818151811061167d57fe5b602002602001015183838151811061169157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b611748565b603560008583815181106116cd57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000154600014156117485783818151811061170d57fe5b602002602001015183838151811061172157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b60010161161f565b5060608160405190808252806020026020018201604052801561177d578160200160208202803883390190505b50905060005b828110156117cb5783818151811061179757fe5b60200260200101518282815181106117ab57fe5b6001600160a01b0390921660209283029190910190910152600101611783565b5092969550505050505056fea165627a7a7230582078478d0b24538d2d22bbea1df44d3968797710aa120d09c8e12be4aeefe7c51c0029",
|
|
328
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806359ce7d4c11610097578063c3c5a54711610066578063c3c5a5471461039a578063c4d66de8146103c0578063dbc4789a146103e6578063e658f229146103ee57610100565b806359ce7d4c146102f15780635df8122f14610310578063685b8fd31461033e5780638b34710d1461036c57610100565b80633c6ff32b116100d35780633c6ff32b146101ea5780633d5840631461025d578063442767331461029f5780634a1f16e0146102c557610100565b806319d7152c14610105578063394357d21461013d5780633a291033146101715780633c33c9ce146101ab575b600080fd5b61012b6004803603602081101561011b57600080fd5b50356001600160a01b0316610420565b60408051918252519081900360200190f35b61016f6004803603606081101561015357600080fd5b506001600160a01b038135169060208101359060400135610517565b005b6101976004803603602081101561018757600080fd5b50356001600160a01b0316610633565b604080519115158252519081900360200190f35b6101d1600480360360208110156101c157600080fd5b50356001600160a01b031661069c565b6040805192835260208301919091528051918290030190f35b61020d6004803603604081101561020057600080fd5b5080359060200135610787565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610249578181015183820152602001610231565b505050509050019250505060405180910390f35b6102836004803603602081101561027357600080fd5b50356001600160a01b0316610914565b604080516001600160a01b039092168252519081900360200190f35b61012b600480360360208110156102b557600080fd5b50356001600160a01b0316610935565b61016f600480360360408110156102db57600080fd5b506001600160a01b0381351690602001356109f1565b61016f6004803603602081101561030757600080fd5b50351515610ae6565b61016f6004803603604081101561032657600080fd5b506001600160a01b0381358116916020013516610b9c565b61016f6004803603604081101561035457600080fd5b506001600160a01b038135169060200135151561128f565b61020d6004803603604081101561038257600080fd5b506001600160a01b0381351690602001351515611316565b610197600480360360208110156103b057600080fd5b50356001600160a01b031661133e565b61016f600480360360208110156103d657600080fd5b50356001600160a01b0316611364565b61028361138f565b61016f6004803603606081101561040457600080fd5b506001600160a01b03813516906020810135906040013561139e565b60006001600160a01b03821633148061045557506001600160a01b038281166000908152603560205260409020600201541633145b8061046a57506039546001600160a01b031633145b61047357600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b1580156104c357600080fd5b505afa1580156104d7573d6000803e3d6000fd5b505050506040513d60208110156104ed57600080fd5b50516003141561051257506001600160a01b0381166000908152603660205260409020545b919050565b80600160b91b6821bab9ba37b234b0b702148061053f575080600160d11b6524b9b9bab2b902145b80610551575080600160f41b61044502145b80610567575080600160d21b6512d650d0535302145b61057057600080fd5b600061057d336001611568565b511161058857600080fd5b6034805460018181019092557f46bddb1178e94d7f2892ff5f366840eb658911794f2c3a44c450aa2c505186c10180546001600160a01b0386166001600160a01b0319918216811790925560008281526033602090815260409182902080549093163317835593820186905560029091018490558051848152905191927f840729a3d88519b773ba67cd0bcd5ecd354b623d44b2ef3ee9000e6adca0778d92918290030190a2505050565b6001600160a01b0381811660009081526035602052604081206002015490911633148061066a57506039546001600160a01b031633145b61067357600080fd5b506001600160a01b0316600090815260356020526040902060020154600160a01b900460ff1690565b6000806001600160a01b0383163314806106d257506001600160a01b038381166000908152603560205260409020600201541633145b6106db57600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038681166004830152915191909216916330ccebb5916024808301926020929190829003018186803b15801561072b57600080fd5b505afa15801561073f573d6000803e3d6000fd5b505050506040513d602081101561075557600080fd5b5051600314156107825750506001600160a01b038116600090815260356020526040902080546001909101545b915091565b606082600160b91b6821bab9ba37b234b0b70214806107b1575082600160d11b6524b9b9bab2b902145b806107c3575082600160f41b61044502145b806107d9575082600160d21b6512d650d0535302145b6107e257600080fd5b6034546040805182815260208084028201019091526060918015610810578160200160208202803883390190505b5090506000805b60345481101561090a5785603360006034848154811061083357fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015414801561089f575084603360006034848154811061087557fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b1561090257603481815481106108b157fe5b9060005260206000200160009054906101000a90046001600160a01b03168383815181106108db57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b600101610817565b5090949350505050565b6001600160a01b039081166000908152603560205260409020600201541690565b6000805b6034548110156109bf57826001600160a01b03166034828154811061095a57fe5b6000918252602090912001546001600160a01b031614156109b757603360006034838154811061098657fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206002015491506105129050565b600101610939565b506039546001600160a01b03838116911614156109e95750600160d21b6512d650d0535302610512565b506000610512565b6001600160a01b038216331480610a2457506001600160a01b038281166000908152603560205260409020600201541633145b80610a3957506039546001600160a01b031633145b610a4257600080fd5b60385460408051600160e01b6330ccebb50281526001600160a01b038581166004830152915191909216916330ccebb5916024808301926020929190829003018186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d6020811015610abc57600080fd5b505160031415610ae2576001600160a01b03821660009081526036602052604090208190555b5050565b60385460408051600160e01b6330ccebb502815233600482015290516001600160a01b03909216916330ccebb591602480820192602092909190829003018186803b158015610b3457600080fd5b505afa158015610b48573d6000803e3d6000fd5b505050506040513d6020811015610b5e57600080fd5b505160031415610b99578015610b8557336000908152603560205260409020429055610b99565b336000908152603560205260408120600101555b50565b6039546000906001600160a01b031633148015610bcb5750816001600160a01b0316836001600160a01b031614155b15610f0e576001600160a01b03838116600090815260356020526040902060020154811690831614610f09576001600160a01b038381166000908152603560205260409020600201541615610e20576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b038216600090815260376020526040902054811015610e19576001600160a01b03828116600090815260376020526040902080549187169183908110610c8557fe5b6000918252602090912001546001600160a01b03161415610ce2576001600160a01b0382166000908152603760205260409020805482908110610cc457fe5b600091825260209091200180546001600160a01b0319169055600192505b828015610d0a57506001600160a01b0382166000908152603760205260409020546000190181105b15610da0576001600160a01b0382166000908152603760205260409020805460018301908110610d3657fe5b60009182526020808320909101546001600160a01b03858116845260379092526040909220805491909216919083908110610d6d57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610e11565b828015610dc857506001600160a01b0382166000908152603760205260409020546000190181145b15610e11576001600160a01b0382166000908152603760205260409020805480610dee57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610c3c565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015610ec4576001600160a01b03838116600090815260376020526040902080549186169183908110610e9c57fe5b6000918252602090912001546001600160a01b03161415610ebc57600191505b600101610e53565b5080610f09576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b61128a565b6001600160a01b038381166000908152603560205260409020600201541633148015610f4c5750816001600160a01b0316836001600160a01b031614155b1561128a576001600160a01b0383811660009081526035602052604090206002015481169083161461128a576001600160a01b0383811660009081526035602052604090206002015416156111a1576001600160a01b03808416600090815260356020526040812060020154909116905b6001600160a01b03821660009081526037602052604090205481101561119a576001600160a01b0382811660009081526037602052604090208054918716918390811061100657fe5b6000918252602090912001546001600160a01b03161415611063576001600160a01b038216600090815260376020526040902080548290811061104557fe5b600091825260209091200180546001600160a01b0319169055600192505b82801561108b57506001600160a01b0382166000908152603760205260409020546000190181105b15611121576001600160a01b03821660009081526037602052604090208054600183019081106110b757fe5b60009182526020808320909101546001600160a01b038581168452603790925260409092208054919092169190839081106110ee57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550611192565b82801561114957506001600160a01b0382166000908152603760205260409020546000190181145b15611192576001600160a01b038216600090815260376020526040902080548061116f57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b600101610fbd565b5060009150505b6001600160a01b03838116600090815260356020526040812060020180546001600160a01b031916928516929092179091555b6001600160a01b038316600090815260376020526040902054811015611245576001600160a01b0383811660009081526037602052604090208054918616918390811061121d57fe5b6000918252602090912001546001600160a01b0316141561123d57600191505b6001016111d4565b508061128a576001600160a01b0382811660009081526037602090815260408220805460018101825590835291200180546001600160a01b0319169185169190911790555b505050565b6001600160a01b03828116600090815260356020526040902060020154163314806112c457506039546001600160a01b031633145b6112cd57600080fd5b6001600160a01b0390911660009081526035602052604090206002018054911515600160a01b0274ff000000000000000000000000000000000000000019909216919091179055565b6060336001600160a01b0384161461132d57600080fd5b6113378383611568565b9392505050565b6001600160a01b038116600090815260356020526040812054156109e957506001610512565b603880546001600160a01b039092166001600160a01b03199283161790556039805490911633179055565b6039546001600160a01b031690565b80600160b91b6821bab9ba37b234b0b70214806113c6575080600160d11b6524b9b9bab2b902145b806113d8575080600160f41b61044502145b806113ee575080600160d21b6512d650d0535302145b6113f757600080fd5b60005b60345481101561156257836001600160a01b03166034828154811061141b57fe5b6000918252602090912001546001600160a01b0316148015611474575081603360006034848154811061144a57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060020154145b80156114b7575082603360006034848154811061148d57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154145b80156115065750336001600160a01b031660336000603484815481106114d957fe5b60009182526020808320909101546001600160a01b03908116845290830193909352604090910190205416145b1561155a57603360006034838154811061151c57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001812080546001600160a01b031916815560018101829055600201555b6001016113fa565b50505050565b60608060376000856001600160a01b03166001600160a01b031681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156115e457602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115c6575b5050505050905060608151604051908082528060200260200182016040528015611618578160200160208202803883390190505b5090506000805b83518110156117505785156116bd576035600085838151811061163e57fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600001546000146116b85783818151811061167d57fe5b602002602001015183838151811061169157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b611748565b603560008583815181106116cd57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000154600014156117485783818151811061170d57fe5b602002602001015183838151811061172157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508160010191505b60010161161f565b5060608160405190808252806020026020018201604052801561177d578160200160208202803883390190505b50905060005b828110156117cb5783818151811061179757fe5b60200260200101518282815181106117ab57fe5b6001600160a01b0390921660209283029190910190910152600101611783565b5092969550505050505056fea165627a7a7230582078478d0b24538d2d22bbea1df44d3968797710aa120d09c8e12be4aeefe7c51c0029",
|
|
329
329
|
"sourceMap": "242:9280:13:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;242:9280:13;;;;;;;",
|
|
330
330
|
"deployedSourceMap": "242:9280:13:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;242:9280:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1865:266;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1865:266:13;-1:-1:-1;;;;;1865:266:13;;:::i;:::-;;;;;;;;;;;;;;;;7558:472;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7558:472:13;;;;;;;;;;;;;:::i;:::-;;6225:190;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6225:190:13;-1:-1:-1;;;;;6225:190:13;;:::i;:::-;;;;;;;;;;;;;;;;;;2498:275;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2498:275:13;-1:-1:-1;;;;;2498:275:13;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;8970:544;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8970:544:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8970:544:13;;;;;;;;;;;;;;;;;5632:114;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5632:114:13;-1:-1:-1;;;;;5632:114:13;;:::i;:::-;;;;-1:-1:-1;;;;;5632:114:13;;;;;;;;;;;;;;8067:338;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8067:338:13;-1:-1:-1;;;;;8067:338:13;;:::i;1518:267::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1518:267:13;;;;;;;;:::i;2182:231::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2182:231:13;;;;:::i;2980:2574::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2980:2574:13;;;;;;;;;;:::i;6007:187::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6007:187:13;;;;;;;;;;:::i;6510:196::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6510:196:13;;;;;;;;;;:::i;5799:177::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5799:177:13;-1:-1:-1;;;;;5799:177:13;;:::i;1221:117::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1221:117:13;-1:-1:-1;;;;;1221:117:13;;:::i;1346:92::-;;;:::i;8432:530::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8432:530:13;;;;;;;;;;;;;:::i;1865:266::-;1924:7;-1:-1:-1;;;;;1951:19:13;;1960:10;1951:19;;:56;;-1:-1:-1;;;;;;1974:13:13;;;;;;;:4;:13;;;;;:21;;;;1997:10;1974:33;1951:56;:82;;;-1:-1:-1;2023:10:13;;-1:-1:-1;;;;;2023:10:13;2011;:22;1951:82;1943:91;;;;;;2048:3;;:22;;;-1:-1:-1;;;;;2048:22:13;;-1:-1:-1;;;;;2048:22:13;;;;;;;;;:3;;;;;:13;;:22;;;;;;;;;;;;;;:3;:22;;;5:2:-1;;;;30:1;27;20:12;5:2;2048:22:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2048:22:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2048:22:13;2072:1;2048:25;2045:79;;;-1:-1:-1;;;;;;2096:16:13;;;;;;:7;:16;;;;;;2045:79;1865:266;;;:::o;7558:472::-;7656:5;-1:-1:-1;;;;;7656:18:13;:37;;;;7678:5;-1:-1:-1;;;;;7678:15:13;7656:37;:52;;;;7697:5;-1:-1:-1;;;;;7697:11:13;7656:52;:71;;;;7712:5;-1:-1:-1;;;;;7712:15:13;7656:71;7648:80;;;;;;7793:1;7747:38;7768:10;7780:4;7747:20;:38::i;:::-;:45;:47;7739:56;;;;;;7806:11;27:10:-1;;39:1;23:18;;;45:23;;;7806:29:13;;;;-1:-1:-1;;;;;7806:29:13;;-1:-1:-1;;;;;;7806:29:13;;;;;;;;-1:-1:-1;7846:18:13;;;:5;7806:29;7846:18;;;;;;;;:39;;;;;7875:10;7846:39;;;7896:26;;;:37;;;7944:23;;;;:31;;;7991;;;;;;;7806:29;;7991:31;;;;;;;;;7558:472;;;:::o;6225:190::-;-1:-1:-1;;;;;6322:13:13;;;6286:4;6322:13;;;:4;:13;;;;;:21;;;6286:4;;6322:21;6310:10;:33;;:59;;-1:-1:-1;6359:10:13;;-1:-1:-1;;;;;6359:10:13;6347;:22;6310:59;6302:68;;;;;;-1:-1:-1;;;;;;6390:13:13;;;;;:4;:13;;;;;:17;;;-1:-1:-1;;;6390:17:13;;;;;6225:190::o;2498:275::-;2556:7;;-1:-1:-1;;;;;2592:19:13;;2601:10;2592:19;;:56;;-1:-1:-1;;;;;;2615:13:13;;;;;;;:4;:13;;;;;:21;;;;2638:10;2615:33;2592:56;2584:65;;;;;;2663:3;;:22;;;-1:-1:-1;;;;;2663:22:13;;-1:-1:-1;;;;;2663:22:13;;;;;;;;;:3;;;;;:13;;:22;;;;;;;;;;;;;;:3;:22;;;5:2:-1;;;;30:1;27;20:12;5:2;2663:22:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2663:22:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2663:22:13;2687:1;2663:25;2660:106;;;-1:-1:-1;;;;;;;2712:13:13;;;;;;:4;:13;;;;;:19;;2733:20;;;;;2660:106;2498:275;;;:::o;8970:544::-;9046:16;9082:5;-1:-1:-1;;;;;9082:18:13;:37;;;;9104:5;-1:-1:-1;;;;;9104:15:13;9082:37;:52;;;;9123:5;-1:-1:-1;;;;;9123:11:13;9082:52;:71;;;;9138:5;-1:-1:-1;;;;;9138:15:13;9082:71;9074:80;;;;;;9203:11;:18;9189:33;;;;;;;;;;;;;;;;9165:21;;9189:33;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;9189:33:13;-1:-1:-1;9165:57:13;-1:-1:-1;9233:6:13;;9254:231;9270:11;:18;9268:20;;9254:231;;;9340:5;9312;:21;9318:11;9330:1;9318:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9318:14:13;9312:21;;;;;;;;;;;;:26;;;:33;:76;;;;;9380:8;9349:5;:21;9355:11;9367:1;9355:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9355:14:13;9349:21;;;;;;;;;;;;9355:14;9349:29;;:39;9312:76;9309:165;;;9418:11;9430:1;9418:14;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9418:14:13;9408:4;9413:1;9408:7;;;;;;;;;;;;;:24;-1:-1:-1;;;;;9408:24:13;;;-1:-1:-1;;;;;9408:24:13;;;;;9455:1;9457;9455:3;9451:7;;9309:165;9290:3;;9254:231;;;-1:-1:-1;9502:4:13;;8970:544;-1:-1:-1;;;;8970:544:13:o;5632:114::-;-1:-1:-1;;;;;5717:13:13;;;5691:7;5717:13;;;:4;:13;;;;;:21;;;;;5632:114::o;8067:338::-;8121:7;;8140:159;8156:11;:18;8154:20;;8140:159;;;8214:5;-1:-1:-1;;;;;8198:21:13;:11;8210:1;8198:14;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8198:14:13;:21;8195:93;;;8246:5;:21;8252:11;8264:1;8252:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8252:14:13;8246:21;;;;;;;;;;;;:26;;;;-1:-1:-1;8239:33:13;;-1:-1:-1;8239:33:13;8195:93;8176:3;;8140:159;;;-1:-1:-1;8319:10:13;;-1:-1:-1;;;;;8312:17:13;;;8319:10;;8312:17;8309:88;;;-1:-1:-1;;;;;;8344:15:13;;8309:88;-1:-1:-1;8388:9:13;;;1518:267;-1:-1:-1;;;;;1601:19:13;;1610:10;1601:19;;:56;;-1:-1:-1;;;;;;1624:13:13;;;;;;;:4;:13;;;;;:21;;;;1647:10;1624:33;1601:56;:82;;;-1:-1:-1;1673:10:13;;-1:-1:-1;;;;;1673:10:13;1661;:22;1601:82;1593:91;;;;;;1698:3;;:22;;;-1:-1:-1;;;;;1698:22:13;;-1:-1:-1;;;;;1698:22:13;;;;;;;;;:3;;;;;:13;;:22;;;;;;;;;;;;;;:3;:22;;;5:2:-1;;;;30:1;27;20:12;5:2;1698:22:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1698:22:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1698:22:13;1722:1;1698:25;1695:83;;;-1:-1:-1;;;;;1739:16:13;;;;;;:7;:16;;;;;:27;;;1695:83;1518:267;;:::o;2182:231::-;2235:3;;:25;;;-1:-1:-1;;;;;2235:25:13;;2249:10;2235:25;;;;;;-1:-1:-1;;;;;2235:3:13;;;;:13;;:25;;;;;;;;;;;;;;;:3;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;2235:25:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2235:25:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2235:25:13;2262:1;2235:28;2232:174;;;2282:5;2279:115;;;2311:10;2306:16;;;;:4;:16;;;;;2329:3;2306:26;;2279:115;;;2374:10;2393:1;2369:16;;;:4;:16;;;;;:23;;:25;2279:115;2182:231;:::o;2980:2574::-;3086:10;;3054;;-1:-1:-1;;;;;3086:10:13;3098;3086:22;:43;;;;;3121:8;-1:-1:-1;;;;;3112:17:13;:7;-1:-1:-1;;;;;3112:17:13;;;3086:43;3083:2464;;;-1:-1:-1;;;;;3148:13:13;;;;;;;:4;:13;;;;;:21;;;;;:31;;;;3145:1146;;-1:-1:-1;;;;;3202:13:13;;;3233:3;3202:13;;;:4;:13;;;;;:21;;;;:35;3199:766;;-1:-1:-1;;;;;3286:13:13;;;3261:22;3286:13;;;:4;:13;;;;;:21;;;;;;;3330:580;-1:-1:-1;;;;;3346:23:13;;;;;;:7;:23;;;;;:30;3344:32;;3330:580;;;-1:-1:-1;;;;;3412:23:13;;;;;;;:7;:23;;;;;:26;;:35;;;;3436:1;;3412:26;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3412:26:13;:35;3409:174;;;-1:-1:-1;;;;;3486:23:13;;;;;;:7;:23;;;;;:26;;3510:1;;3486:26;;;;;;;;;;;;;;;3479:33;;-1:-1:-1;;;;;;3479:33:13;;;;;-1:-1:-1;3409:174:13;3612:5;:45;;;;-1:-1:-1;;;;;;3622:23:13;;;;;;:7;:23;;;;;:30;-1:-1:-1;;3622:32:13;3621:36;-1:-1:-1;3612:45:13;3609:277;;;-1:-1:-1;;;;;3717:23:13;;;;;;:7;:23;;;;;:28;;3743:1;3741:3;;;3717:28;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3688:23:13;;;;;:7;:23;;;;;;;:26;;3717:28;;;;;3688:23;3712:1;;3688:26;;;;;;;;;;;;;;:57;;;;;-1:-1:-1;;;;;3688:57:13;;;;;-1:-1:-1;;;;;3688:57:13;;;;;;3609:277;;;3780:5;:46;;;;-1:-1:-1;;;;;;3790:23:13;;;;;;:7;:23;;;;;:30;-1:-1:-1;;3790:32:13;3789:37;;3780:46;3777:109;;;-1:-1:-1;;;;;3857:23:13;;;;;;:7;:23;;;;;:29;;;;;;;;;;;;;;;;-1:-1:-1;;3857:29:13;;;;;-1:-1:-1;;;;;;3857:29:13;;;;;;3777:109;3378:3;;3330:580;;;;3940:5;3932:13;;3199:766;;-1:-1:-1;;;;;3983:13:13;;;;;;;:4;:13;;;;;:21;;:32;;-1:-1:-1;;;;;;3983:32:13;;;;;;;;;;;4034:160;-1:-1:-1;;;;;4050:17:13;;;;;;:7;:17;;;;;:24;4048:26;;4034:160;;;-1:-1:-1;;;;;4106:17:13;;;;;;;:7;:17;;;;;:20;;:29;;;;4124:1;;4106:20;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4106:20:13;:29;4103:71;;;4170:4;4162:12;;4103:71;4076:3;;4034:160;;;;4216:5;4212:63;;-1:-1:-1;;;;;4244:17:13;;;;;;;:7;:17;;;;;;;27:10:-1;;39:1;23:18;;45:23;;4244:31:13;;;;;;;;-1:-1:-1;;;;;;4244:31:13;;;;;;;;;;4212:63;3083:2464;;;-1:-1:-1;;;;;4320:13:13;;;;;;;:4;:13;;;;;:21;;;;4343:10;4320:33;:54;;;;;4366:8;-1:-1:-1;;;;;4357:17:13;:7;-1:-1:-1;;;;;4357:17:13;;;4320:54;4317:1230;;;-1:-1:-1;;;;;4393:13:13;;;;;;;:4;:13;;;;;:21;;;;;:31;;;;4390:1146;;-1:-1:-1;;;;;4447:13:13;;;4478:3;4447:13;;;:4;:13;;;;;:21;;;;:35;4444:766;;-1:-1:-1;;;;;4531:13:13;;;4506:22;4531:13;;;:4;:13;;;;;:21;;;;;;;4575:580;-1:-1:-1;;;;;4591:23:13;;;;;;:7;:23;;;;;:30;4589:32;;4575:580;;;-1:-1:-1;;;;;4657:23:13;;;;;;;:7;:23;;;;;:26;;:35;;;;4681:1;;4657:26;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4657:26:13;:35;4654:174;;;-1:-1:-1;;;;;4731:23:13;;;;;;:7;:23;;;;;:26;;4755:1;;4731:26;;;;;;;;;;;;;;;4724:33;;-1:-1:-1;;;;;;4724:33:13;;;;;-1:-1:-1;4654:174:13;4857:5;:45;;;;-1:-1:-1;;;;;;4867:23:13;;;;;;:7;:23;;;;;:30;-1:-1:-1;;4867:32:13;4866:36;-1:-1:-1;4857:45:13;4854:277;;;-1:-1:-1;;;;;4962:23:13;;;;;;:7;:23;;;;;:28;;4988:1;4986:3;;;4962:28;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4933:23:13;;;;;:7;:23;;;;;;;:26;;4962:28;;;;;4933:23;4957:1;;4933:26;;;;;;;;;;;;;;:57;;;;;-1:-1:-1;;;;;4933:57:13;;;;;-1:-1:-1;;;;;4933:57:13;;;;;;4854:277;;;5025:5;:46;;;;-1:-1:-1;;;;;;5035:23:13;;;;;;:7;:23;;;;;:30;-1:-1:-1;;5035:32:13;5034:37;;5025:46;5022:109;;;-1:-1:-1;;;;;5102:23:13;;;;;;:7;:23;;;;;:29;;;;;;;;;;;;;;;;-1:-1:-1;;5102:29:13;;;;;-1:-1:-1;;;;;;5102:29:13;;;;;;5022:109;4623:3;;4575:580;;;;5185:5;5177:13;;4444:766;;-1:-1:-1;;;;;5228:13:13;;;;;;;:4;:13;;;;;:21;;:32;;-1:-1:-1;;;;;;5228:32:13;;;;;;;;;;;5279:160;-1:-1:-1;;;;;5295:17:13;;;;;;:7;:17;;;;;:24;5293:26;;5279:160;;;-1:-1:-1;;;;;5351:17:13;;;;;;;:7;:17;;;;;:20;;:29;;;;5369:1;;5351:20;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5351:20:13;:29;5348:71;;;5415:4;5407:12;;5348:71;5321:3;;5279:160;;;;5461:5;5457:63;;-1:-1:-1;;;;;5489:17:13;;;;;;;:7;:17;;;;;;;27:10:-1;;39:1;23:18;;45:23;;5489:31:13;;;;;;;;-1:-1:-1;;;;;;5489:31:13;;;;;;;;;;5457:63;2980:2574;;;:::o;6007:187::-;-1:-1:-1;;;;;6099:13:13;;;;;;;:4;:13;;;;;:21;;;;6087:10;:33;;:59;;-1:-1:-1;6136:10:13;;-1:-1:-1;;;;;6136:10:13;6124;:22;6087:59;6079:68;;;;;;-1:-1:-1;;;;;6160:13:13;;;;;;;:4;:13;;;;;:17;;:26;;;;;-1:-1:-1;;;6160:26:13;-1:-1:-1;;6160:26:13;;;;;;;;;6007:187::o;6510:196::-;6584:16;6620:10;-1:-1:-1;;;;;6620:20:13;;;6612:29;;;;;;6659:39;6680:8;6690:7;6659:20;:39::i;:::-;6652:46;6510:196;-1:-1:-1;;;6510:196:13:o;5799:177::-;-1:-1:-1;;;;;5879:13:13;;5860:4;5879:13;;;:4;:13;;;;;:19;:22;5876:92;;-1:-1:-1;5923:4:13;5916:11;;1221:117;1273:3;:23;;-1:-1:-1;;;;;1273:23:13;;;-1:-1:-1;;;;;;1273:23:13;;;;;;1307:10;:23;;;;;1320:10;1307:23;;;1221:117::o;1346:92::-;1420:10;;-1:-1:-1;;;;;1420:10:13;1346:92;:::o;8432:530::-;8533:5;-1:-1:-1;;;;;8533:18:13;:37;;;;8555:5;-1:-1:-1;;;;;8555:15:13;8533:37;:52;;;;8574:5;-1:-1:-1;;;;;8574:11:13;8533:52;:71;;;;8589:5;-1:-1:-1;;;;;8589:15:13;8533:71;8525:80;;;;;;8620:6;8616:339;8632:11;:18;8630:20;;8616:339;;;8691:11;-1:-1:-1;;;;;8675:27:13;:11;8687:1;8675:14;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8675:14:13;:27;:81;;;;;8751:5;8723;:21;8729:11;8741:1;8729:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8729:14:13;8723:21;;;;;;;;;;;;:26;;;:33;8675:81;:142;;;;;8809:8;8778:5;:21;8784:11;8796:1;8784:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8784:14:13;8778:21;;;;;;;;;;;;8784:14;8778:29;;:39;8675:142;:204;;;;;8869:10;-1:-1:-1;;;;;8838:41:13;:5;:21;8844:11;8856:1;8844:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8844:14:13;;;8838:21;;;;;;;;;;;;;;;:29;;:41;8675:204;8671:273;;;8906:5;:21;8912:11;8924:1;8912:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8912:14:13;8906:21;;;;;;;;;;;;8899:29;;-1:-1:-1;;;;;;8899:29:13;;;8912:14;8899:29;;;;;;;;8671:273;8652:3;;8616:339;;;;8432:530;;;:::o;6714:820::-;6797:16;6825:25;6853:7;:17;6861:8;-1:-1:-1;;;;;6853:17:13;-1:-1:-1;;;;;6853:17:13;;;;;;;;;;;;6825:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6825:45:13;;;;;;;;;;;;;;;;;;;;;;;6881:21;6919:8;:15;6905:30;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;6905:30:13;-1:-1:-1;6881:54:13;-1:-1:-1;6946:6:13;;6967:404;6983:8;:15;6981:1;:17;6967:404;;;7022:7;7019:341;;;7052:4;:17;7057:8;7066:1;7057:11;;;;;;;;;;;;;;-1:-1:-1;;;;;7052:17:13;-1:-1:-1;;;;;7052:17:13;;;;;;;;;;;;:23;;;7077:1;7052:26;7049:122;;7112:8;7121:1;7112:11;;;;;;;;;;;;;;7102:4;7107:1;7102:7;;;;;;;;;;;;;:21;-1:-1:-1;;;;;7102:21:13;;;-1:-1:-1;;;;;7102:21:13;;;;;7148:1;7150;7148:3;7146:5;;7049:122;7019:341;;;7226:4;:17;7231:8;7240:1;7231:11;;;;;;;;;;;;;;-1:-1:-1;;;;;7226:17:13;-1:-1:-1;;;;;7226:17:13;;;;;;;;;;;;:23;;;7251:1;7226:26;7223:122;;;7286:8;7295:1;7286:11;;;;;;;;;;;;;;7276:4;7281:1;7276:7;;;;;;;;;;;;;:21;-1:-1:-1;;;;;7276:21:13;;;-1:-1:-1;;;;;7276:21:13;;;;;7322:1;7324;7322:3;7320:5;;7223:122;7000:3;;6967:404;;;;7381:23;7421:1;7407:16;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;7407:16:13;-1:-1:-1;7381:42:13;-1:-1:-1;7438:6:13;7434:67;7450:1;7448;:3;7434:67;;;7482:4;7487:1;7482:7;;;;;;;;;;;;;;7472:6;7479:1;7472:9;;;;;;;;-1:-1:-1;;;;;7472:17:13;;;:9;;;;;;;;;;;:17;7453:3;;7434:67;;;-1:-1:-1;7518:8:13;;6714:820;-1:-1:-1;;;;;;6714:820:13:o",
|
|
331
331
|
"source": "// (c) Kallol Borah, 2020\r\n// Sets up account and manages custody\r\n\r\npragma solidity 0.5.7;\r\n\r\nimport \"./interfaces/VerifiedKYC.sol\";\r\nimport \"./interfaces/VerifiedClient.sol\";\r\nimport \"@openzeppelin/upgrades/contracts/Initializable.sol\";\r\n\r\ncontract Client is VerifiedClient, Initializable{\r\n\r\n struct access{\r\n uint256 login;\r\n uint256 logout; \r\n address manager;\r\n bool aml; \r\n }\r\n\r\n struct role{\r\n address manager;\r\n bytes32 country;\r\n bytes32 role;\r\n }\r\n\r\n //mapping of a manager to its sub managers\r\n mapping(address=> role) private roles;\r\n\r\n //storing submanagers\r\n address[] submanagers;\r\n\r\n //mapping of a client to login info\r\n mapping(address=> access) private info;\r\n\r\n //mapping of a client to its custody account\r\n mapping(address => bytes32) private custody;\r\n\r\n //mapping of a manager to its clients\r\n mapping(address => address[]) private clients;\r\n\r\n //kyc contract\r\n VerifiedKYC private Kyc;\r\n\r\n //aml manager\r\n address private amlManager;\r\n\r\n //event for managers\r\n event ManagerRole(address indexed manager, bytes32 role);\r\n\r\n //owner is someone who can upgrade this contract\r\n function initialize(address _kyc) public {\r\n Kyc = VerifiedKYC(_kyc);\r\n amlManager = msg.sender;\r\n }\r\n\r\n function getAMLManager() external view returns(address) {\r\n return amlManager;\r\n }\r\n\r\n //only the user or its manager can set the custody account address\r\n function setCustody(address _client, bytes32 _account) external {\r\n require(_client==msg.sender || info[_client].manager==msg.sender || msg.sender==amlManager);\r\n if(Kyc.getStatus(_client)==3){\r\n custody[_client] = _account;\r\n }\r\n }\r\n\r\n //only the user or its manager can get the custody account address\r\n function getCustody(address _client) external view returns(bytes32){\r\n require(_client==msg.sender || info[_client].manager==msg.sender || msg.sender==amlManager);\r\n if(Kyc.getStatus(_client)==3){\r\n return custody[_client];\r\n }\r\n }\r\n\r\n //access info can only be set by user\r\n function setAccess(bool login) external{\r\n if(Kyc.getStatus(msg.sender)==3){\r\n if(login)\r\n info[msg.sender].login=now;\r\n else\r\n info[msg.sender].logout=0;\r\n }\r\n }\r\n\r\n //access data for a user can only be retrieved by itself or its manager\r\n function getAccess(address _client) external view returns(uint256, uint256){\r\n require(_client==msg.sender || info[_client].manager==msg.sender);\r\n if(Kyc.getStatus(_client)==3){\r\n return (info[_client].login, info[_client].logout);\r\n }\r\n }\r\n\r\n //when a user is not registered, the AML manager can set the user's KYC manager\r\n //when a user is registered or KYC passed, both the AML manager and KYC manager can reset the user's manager\r\n function setManager(address _client, address _manager) external{\r\n bool found = false;\r\n if(amlManager==msg.sender && _client!=_manager){\r\n if(info[_client].manager!=_manager){\r\n if(info[_client].manager!=address(0x0)){\r\n address currentManager = info[_client].manager;\r\n for(uint j=0; j<clients[currentManager].length; j++){\r\n if(clients[currentManager][j]==_client){\r\n delete clients[currentManager][j];\r\n found = true;\r\n }\r\n if(found && (clients[currentManager].length-1)>j)\r\n clients[currentManager][j] = clients[currentManager][j+1];\r\n else if(found && (clients[currentManager].length-1)==j)\r\n clients[currentManager].pop();\r\n }\r\n found = false;\r\n }\r\n info[_client].manager = _manager;\r\n for(uint i=0; i<clients[_manager].length; i++){\r\n if(clients[_manager][i]==_client)\r\n found = true;\r\n }\r\n if(!found)\r\n clients[_manager].push(_client);\r\n }\r\n }\r\n else if(info[_client].manager==msg.sender && _client!=_manager){\r\n if(info[_client].manager!=_manager){\r\n if(info[_client].manager!=address(0x0)){\r\n address currentManager = info[_client].manager;\r\n for(uint j=0; j<clients[currentManager].length; j++){\r\n if(clients[currentManager][j]==_client){\r\n delete clients[currentManager][j];\r\n found = true;\r\n }\r\n if(found && (clients[currentManager].length-1)>j)\r\n clients[currentManager][j] = clients[currentManager][j+1];\r\n else if(found && (clients[currentManager].length-1)==j)\r\n clients[currentManager].pop();\r\n }\r\n found = false;\r\n }\r\n info[_client].manager = _manager;\r\n for(uint i=0; i<clients[_manager].length; i++){\r\n if(clients[_manager][i]==_client)\r\n found = true;\r\n }\r\n if(!found)\r\n clients[_manager].push(_client);\r\n }\r\n }\r\n }\r\n\r\n // manager identity can be retrieved by user or its manager only\r\n function getManager(address _client) external view returns(address){\r\n return info[_client].manager;\r\n }\r\n\r\n //checks if client is registered or not\r\n function isRegistered(address _client) external view returns(bool){\r\n if(info[_client].login!=0)\r\n return true;\r\n else\r\n return false;\r\n }\r\n\r\n //sets AML status\r\n function setAMLStatus(address _client, bool status) external {\r\n require(msg.sender==info[_client].manager || msg.sender==amlManager); \r\n info[_client].aml = status;\r\n }\r\n\r\n //gets AML status\r\n function getAMLStatus(address _client) external view returns(bool){\r\n require(msg.sender==info[_client].manager || msg.sender==amlManager); \r\n return info[_client].aml;\r\n }\r\n\r\n //get clients for specified manager with registration status set to true or false\r\n function getClients(address _manager, bool _status) external view returns(address[] memory){\r\n require(msg.sender==_manager);\r\n return getClientsForManager(_manager, _status);\r\n }\r\n\r\n function getClientsForManager(address _manager, bool _status) private view returns(address[] memory){\r\n address[] memory _clients = clients[_manager];\r\n address[] memory resp = new address[](_clients.length);\r\n uint j = 0;\r\n for(uint i=0; i<_clients.length; i++){\r\n if(_status){\r\n if(info[_clients[i]].login!=0){\r\n resp[j] = _clients[i];\r\n j=j+1;\r\n }\r\n }\r\n else{\r\n if(info[_clients[i]].login==0){\r\n resp[j] = _clients[i];\r\n j=j+1;\r\n }\r\n }\r\n }\r\n address[] memory result = new address[](j);\r\n for(uint i=0; i<j; i++){\r\n result[i]=resp[i];\r\n }\r\n return _clients;\r\n }\r\n\r\n //add role\r\n function addRole(address _submanager, bytes32 _country, bytes32 _role) external{\r\n require(_role==\"Custodian\" || _role==\"Issuer\" || _role==\"DP\" || _role==\"KYCAML\");\r\n require(getClientsForManager(msg.sender, true).length>0);\r\n submanagers.push(_submanager);\r\n roles[_submanager].manager = msg.sender;\r\n roles[_submanager].country = _country;\r\n roles[_submanager].role = _role;\r\n emit ManagerRole(_submanager, _role);\r\n }\r\n\r\n //get roles for manager\r\n function getRole(address _user) external view returns(bytes32){\r\n for(uint i=0; i<submanagers.length; i++){\r\n if(submanagers[i]==_user){\r\n return roles[submanagers[i]].role;\r\n }\r\n }\r\n if(_user==amlManager)\r\n return \"KYCAML\";\r\n else\r\n return \"\";\r\n }\r\n\r\n //remove role\r\n function removeRole(address _submanager, bytes32 _country, bytes32 _role) external{\r\n require(_role==\"Custodian\" || _role==\"Issuer\" || _role==\"DP\" || _role==\"KYCAML\");\r\n for(uint i=0; i<submanagers.length; i++){\r\n if( submanagers[i]==_submanager &&\r\n roles[submanagers[i]].role==_role && \r\n roles[submanagers[i]].country==_country &&\r\n roles[submanagers[i]].manager==msg.sender){\r\n delete(roles[submanagers[i]]);\r\n }\r\n }\r\n }\r\n\r\n function getManagers(bytes32 _role, bytes32 _country) external view returns(address[] memory){\r\n require(_role==\"Custodian\" || _role==\"Issuer\" || _role==\"DP\" || _role==\"KYCAML\");\r\n address[] memory resp = new address[](submanagers.length);\r\n uint j = 0;\r\n for(uint i=0; i<submanagers.length; i++){\r\n if(roles[submanagers[i]].role==_role && roles[submanagers[i]].country==_country){\r\n resp[j] = submanagers[i];\r\n j = j+1;\r\n }\r\n }\r\n return resp;\r\n } \r\n\r\n}",
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
"id": 6051,
|
|
357
357
|
"nodeType": "ImportDirective",
|
|
358
358
|
"scope": 7162,
|
|
359
|
-
"sourceUnit":
|
|
359
|
+
"sourceUnit": 10003,
|
|
360
360
|
"src": "95:38:13",
|
|
361
361
|
"symbolAliases": [],
|
|
362
362
|
"unitAlias": ""
|
|
@@ -886,7 +886,7 @@
|
|
|
886
886
|
"stateVariable": true,
|
|
887
887
|
"storageLocation": "default",
|
|
888
888
|
"typeDescriptions": {
|
|
889
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
889
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
890
890
|
"typeString": "contract VerifiedKYC"
|
|
891
891
|
},
|
|
892
892
|
"typeName": {
|
|
@@ -894,10 +894,10 @@
|
|
|
894
894
|
"id": 6094,
|
|
895
895
|
"name": "VerifiedKYC",
|
|
896
896
|
"nodeType": "UserDefinedTypeName",
|
|
897
|
-
"referencedDeclaration":
|
|
897
|
+
"referencedDeclaration": 10002,
|
|
898
898
|
"src": "990:11:13",
|
|
899
899
|
"typeDescriptions": {
|
|
900
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
900
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
901
901
|
"typeString": "contract VerifiedKYC"
|
|
902
902
|
}
|
|
903
903
|
},
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
"referencedDeclaration": 6095,
|
|
1025
1025
|
"src": "1273:3:13",
|
|
1026
1026
|
"typeDescriptions": {
|
|
1027
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
1027
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
1028
1028
|
"typeString": "contract VerifiedKYC"
|
|
1029
1029
|
}
|
|
1030
1030
|
},
|
|
@@ -1058,10 +1058,10 @@
|
|
|
1058
1058
|
"name": "VerifiedKYC",
|
|
1059
1059
|
"nodeType": "Identifier",
|
|
1060
1060
|
"overloadedDeclarations": [],
|
|
1061
|
-
"referencedDeclaration":
|
|
1061
|
+
"referencedDeclaration": 10002,
|
|
1062
1062
|
"src": "1279:11:13",
|
|
1063
1063
|
"typeDescriptions": {
|
|
1064
|
-
"typeIdentifier": "t_type$_t_contract$_VerifiedKYC_$
|
|
1064
|
+
"typeIdentifier": "t_type$_t_contract$_VerifiedKYC_$10002_$",
|
|
1065
1065
|
"typeString": "type(contract VerifiedKYC)"
|
|
1066
1066
|
}
|
|
1067
1067
|
},
|
|
@@ -1075,13 +1075,13 @@
|
|
|
1075
1075
|
"nodeType": "FunctionCall",
|
|
1076
1076
|
"src": "1279:17:13",
|
|
1077
1077
|
"typeDescriptions": {
|
|
1078
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
1078
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
1079
1079
|
"typeString": "contract VerifiedKYC"
|
|
1080
1080
|
}
|
|
1081
1081
|
},
|
|
1082
1082
|
"src": "1273:23:13",
|
|
1083
1083
|
"typeDescriptions": {
|
|
1084
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
1084
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
1085
1085
|
"typeString": "contract VerifiedKYC"
|
|
1086
1086
|
}
|
|
1087
1087
|
},
|
|
@@ -1120,7 +1120,7 @@
|
|
|
1120
1120
|
"name": "msg",
|
|
1121
1121
|
"nodeType": "Identifier",
|
|
1122
1122
|
"overloadedDeclarations": [],
|
|
1123
|
-
"referencedDeclaration":
|
|
1123
|
+
"referencedDeclaration": 11541,
|
|
1124
1124
|
"src": "1320:3:13",
|
|
1125
1125
|
"typeDescriptions": {
|
|
1126
1126
|
"typeIdentifier": "t_magic_message",
|
|
@@ -1352,7 +1352,7 @@
|
|
|
1352
1352
|
"name": "msg",
|
|
1353
1353
|
"nodeType": "Identifier",
|
|
1354
1354
|
"overloadedDeclarations": [],
|
|
1355
|
-
"referencedDeclaration":
|
|
1355
|
+
"referencedDeclaration": 11541,
|
|
1356
1356
|
"src": "1610:3:13",
|
|
1357
1357
|
"typeDescriptions": {
|
|
1358
1358
|
"typeIdentifier": "t_magic_message",
|
|
@@ -1458,7 +1458,7 @@
|
|
|
1458
1458
|
"name": "msg",
|
|
1459
1459
|
"nodeType": "Identifier",
|
|
1460
1460
|
"overloadedDeclarations": [],
|
|
1461
|
-
"referencedDeclaration":
|
|
1461
|
+
"referencedDeclaration": 11541,
|
|
1462
1462
|
"src": "1647:3:13",
|
|
1463
1463
|
"typeDescriptions": {
|
|
1464
1464
|
"typeIdentifier": "t_magic_message",
|
|
@@ -1512,7 +1512,7 @@
|
|
|
1512
1512
|
"name": "msg",
|
|
1513
1513
|
"nodeType": "Identifier",
|
|
1514
1514
|
"overloadedDeclarations": [],
|
|
1515
|
-
"referencedDeclaration":
|
|
1515
|
+
"referencedDeclaration": 11541,
|
|
1516
1516
|
"src": "1661:3:13",
|
|
1517
1517
|
"typeDescriptions": {
|
|
1518
1518
|
"typeIdentifier": "t_magic_message",
|
|
@@ -1572,10 +1572,10 @@
|
|
|
1572
1572
|
"name": "require",
|
|
1573
1573
|
"nodeType": "Identifier",
|
|
1574
1574
|
"overloadedDeclarations": [
|
|
1575
|
-
|
|
1576
|
-
|
|
1575
|
+
11544,
|
|
1576
|
+
11545
|
|
1577
1577
|
],
|
|
1578
|
-
"referencedDeclaration":
|
|
1578
|
+
"referencedDeclaration": 11544,
|
|
1579
1579
|
"src": "1593:7:13",
|
|
1580
1580
|
"typeDescriptions": {
|
|
1581
1581
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -1645,7 +1645,7 @@
|
|
|
1645
1645
|
"referencedDeclaration": 6095,
|
|
1646
1646
|
"src": "1698:3:13",
|
|
1647
1647
|
"typeDescriptions": {
|
|
1648
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
1648
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
1649
1649
|
"typeString": "contract VerifiedKYC"
|
|
1650
1650
|
}
|
|
1651
1651
|
},
|
|
@@ -1935,7 +1935,7 @@
|
|
|
1935
1935
|
"name": "msg",
|
|
1936
1936
|
"nodeType": "Identifier",
|
|
1937
1937
|
"overloadedDeclarations": [],
|
|
1938
|
-
"referencedDeclaration":
|
|
1938
|
+
"referencedDeclaration": 11541,
|
|
1939
1939
|
"src": "1960:3:13",
|
|
1940
1940
|
"typeDescriptions": {
|
|
1941
1941
|
"typeIdentifier": "t_magic_message",
|
|
@@ -2041,7 +2041,7 @@
|
|
|
2041
2041
|
"name": "msg",
|
|
2042
2042
|
"nodeType": "Identifier",
|
|
2043
2043
|
"overloadedDeclarations": [],
|
|
2044
|
-
"referencedDeclaration":
|
|
2044
|
+
"referencedDeclaration": 11541,
|
|
2045
2045
|
"src": "1997:3:13",
|
|
2046
2046
|
"typeDescriptions": {
|
|
2047
2047
|
"typeIdentifier": "t_magic_message",
|
|
@@ -2095,7 +2095,7 @@
|
|
|
2095
2095
|
"name": "msg",
|
|
2096
2096
|
"nodeType": "Identifier",
|
|
2097
2097
|
"overloadedDeclarations": [],
|
|
2098
|
-
"referencedDeclaration":
|
|
2098
|
+
"referencedDeclaration": 11541,
|
|
2099
2099
|
"src": "2011:3:13",
|
|
2100
2100
|
"typeDescriptions": {
|
|
2101
2101
|
"typeIdentifier": "t_magic_message",
|
|
@@ -2155,10 +2155,10 @@
|
|
|
2155
2155
|
"name": "require",
|
|
2156
2156
|
"nodeType": "Identifier",
|
|
2157
2157
|
"overloadedDeclarations": [
|
|
2158
|
-
|
|
2159
|
-
|
|
2158
|
+
11544,
|
|
2159
|
+
11545
|
|
2160
2160
|
],
|
|
2161
|
-
"referencedDeclaration":
|
|
2161
|
+
"referencedDeclaration": 11544,
|
|
2162
2162
|
"src": "1943:7:13",
|
|
2163
2163
|
"typeDescriptions": {
|
|
2164
2164
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -2228,7 +2228,7 @@
|
|
|
2228
2228
|
"referencedDeclaration": 6095,
|
|
2229
2229
|
"src": "2048:3:13",
|
|
2230
2230
|
"typeDescriptions": {
|
|
2231
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
2231
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
2232
2232
|
"typeString": "contract VerifiedKYC"
|
|
2233
2233
|
}
|
|
2234
2234
|
},
|
|
@@ -2455,7 +2455,7 @@
|
|
|
2455
2455
|
"name": "msg",
|
|
2456
2456
|
"nodeType": "Identifier",
|
|
2457
2457
|
"overloadedDeclarations": [],
|
|
2458
|
-
"referencedDeclaration":
|
|
2458
|
+
"referencedDeclaration": 11541,
|
|
2459
2459
|
"src": "2249:3:13",
|
|
2460
2460
|
"typeDescriptions": {
|
|
2461
2461
|
"typeIdentifier": "t_magic_message",
|
|
@@ -2493,7 +2493,7 @@
|
|
|
2493
2493
|
"referencedDeclaration": 6095,
|
|
2494
2494
|
"src": "2235:3:13",
|
|
2495
2495
|
"typeDescriptions": {
|
|
2496
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
2496
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
2497
2497
|
"typeString": "contract VerifiedKYC"
|
|
2498
2498
|
}
|
|
2499
2499
|
},
|
|
@@ -2608,7 +2608,7 @@
|
|
|
2608
2608
|
"name": "msg",
|
|
2609
2609
|
"nodeType": "Identifier",
|
|
2610
2610
|
"overloadedDeclarations": [],
|
|
2611
|
-
"referencedDeclaration":
|
|
2611
|
+
"referencedDeclaration": 11541,
|
|
2612
2612
|
"src": "2374:3:13",
|
|
2613
2613
|
"typeDescriptions": {
|
|
2614
2614
|
"typeIdentifier": "t_magic_message",
|
|
@@ -2721,7 +2721,7 @@
|
|
|
2721
2721
|
"name": "msg",
|
|
2722
2722
|
"nodeType": "Identifier",
|
|
2723
2723
|
"overloadedDeclarations": [],
|
|
2724
|
-
"referencedDeclaration":
|
|
2724
|
+
"referencedDeclaration": 11541,
|
|
2725
2725
|
"src": "2311:3:13",
|
|
2726
2726
|
"typeDescriptions": {
|
|
2727
2727
|
"typeIdentifier": "t_magic_message",
|
|
@@ -2775,7 +2775,7 @@
|
|
|
2775
2775
|
"name": "now",
|
|
2776
2776
|
"nodeType": "Identifier",
|
|
2777
2777
|
"overloadedDeclarations": [],
|
|
2778
|
-
"referencedDeclaration":
|
|
2778
|
+
"referencedDeclaration": 11543,
|
|
2779
2779
|
"src": "2329:3:13",
|
|
2780
2780
|
"typeDescriptions": {
|
|
2781
2781
|
"typeIdentifier": "t_uint256",
|
|
@@ -2905,7 +2905,7 @@
|
|
|
2905
2905
|
"name": "msg",
|
|
2906
2906
|
"nodeType": "Identifier",
|
|
2907
2907
|
"overloadedDeclarations": [],
|
|
2908
|
-
"referencedDeclaration":
|
|
2908
|
+
"referencedDeclaration": 11541,
|
|
2909
2909
|
"src": "2601:3:13",
|
|
2910
2910
|
"typeDescriptions": {
|
|
2911
2911
|
"typeIdentifier": "t_magic_message",
|
|
@@ -3011,7 +3011,7 @@
|
|
|
3011
3011
|
"name": "msg",
|
|
3012
3012
|
"nodeType": "Identifier",
|
|
3013
3013
|
"overloadedDeclarations": [],
|
|
3014
|
-
"referencedDeclaration":
|
|
3014
|
+
"referencedDeclaration": 11541,
|
|
3015
3015
|
"src": "2638:3:13",
|
|
3016
3016
|
"typeDescriptions": {
|
|
3017
3017
|
"typeIdentifier": "t_magic_message",
|
|
@@ -3056,10 +3056,10 @@
|
|
|
3056
3056
|
"name": "require",
|
|
3057
3057
|
"nodeType": "Identifier",
|
|
3058
3058
|
"overloadedDeclarations": [
|
|
3059
|
-
|
|
3060
|
-
|
|
3059
|
+
11544,
|
|
3060
|
+
11545
|
|
3061
3061
|
],
|
|
3062
|
-
"referencedDeclaration":
|
|
3062
|
+
"referencedDeclaration": 11544,
|
|
3063
3063
|
"src": "2584:7:13",
|
|
3064
3064
|
"typeDescriptions": {
|
|
3065
3065
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -3129,7 +3129,7 @@
|
|
|
3129
3129
|
"referencedDeclaration": 6095,
|
|
3130
3130
|
"src": "2663:3:13",
|
|
3131
3131
|
"typeDescriptions": {
|
|
3132
|
-
"typeIdentifier": "t_contract$_VerifiedKYC_$
|
|
3132
|
+
"typeIdentifier": "t_contract$_VerifiedKYC_$10002",
|
|
3133
3133
|
"typeString": "contract VerifiedKYC"
|
|
3134
3134
|
}
|
|
3135
3135
|
},
|
|
@@ -3548,7 +3548,7 @@
|
|
|
3548
3548
|
"name": "msg",
|
|
3549
3549
|
"nodeType": "Identifier",
|
|
3550
3550
|
"overloadedDeclarations": [],
|
|
3551
|
-
"referencedDeclaration":
|
|
3551
|
+
"referencedDeclaration": 11541,
|
|
3552
3552
|
"src": "3098:3:13",
|
|
3553
3553
|
"typeDescriptions": {
|
|
3554
3554
|
"typeIdentifier": "t_magic_message",
|
|
@@ -3717,7 +3717,7 @@
|
|
|
3717
3717
|
"name": "msg",
|
|
3718
3718
|
"nodeType": "Identifier",
|
|
3719
3719
|
"overloadedDeclarations": [],
|
|
3720
|
-
"referencedDeclaration":
|
|
3720
|
+
"referencedDeclaration": 11541,
|
|
3721
3721
|
"src": "4343:3:13",
|
|
3722
3722
|
"typeDescriptions": {
|
|
3723
3723
|
"typeIdentifier": "t_magic_message",
|
|
@@ -8369,7 +8369,7 @@
|
|
|
8369
8369
|
"name": "msg",
|
|
8370
8370
|
"nodeType": "Identifier",
|
|
8371
8371
|
"overloadedDeclarations": [],
|
|
8372
|
-
"referencedDeclaration":
|
|
8372
|
+
"referencedDeclaration": 11541,
|
|
8373
8373
|
"src": "6087:3:13",
|
|
8374
8374
|
"typeDescriptions": {
|
|
8375
8375
|
"typeIdentifier": "t_magic_message",
|
|
@@ -8475,7 +8475,7 @@
|
|
|
8475
8475
|
"name": "msg",
|
|
8476
8476
|
"nodeType": "Identifier",
|
|
8477
8477
|
"overloadedDeclarations": [],
|
|
8478
|
-
"referencedDeclaration":
|
|
8478
|
+
"referencedDeclaration": 11541,
|
|
8479
8479
|
"src": "6124:3:13",
|
|
8480
8480
|
"typeDescriptions": {
|
|
8481
8481
|
"typeIdentifier": "t_magic_message",
|
|
@@ -8535,10 +8535,10 @@
|
|
|
8535
8535
|
"name": "require",
|
|
8536
8536
|
"nodeType": "Identifier",
|
|
8537
8537
|
"overloadedDeclarations": [
|
|
8538
|
-
|
|
8539
|
-
|
|
8538
|
+
11544,
|
|
8539
|
+
11545
|
|
8540
8540
|
],
|
|
8541
|
-
"referencedDeclaration":
|
|
8541
|
+
"referencedDeclaration": 11544,
|
|
8542
8542
|
"src": "6079:7:13",
|
|
8543
8543
|
"typeDescriptions": {
|
|
8544
8544
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -8773,7 +8773,7 @@
|
|
|
8773
8773
|
"name": "msg",
|
|
8774
8774
|
"nodeType": "Identifier",
|
|
8775
8775
|
"overloadedDeclarations": [],
|
|
8776
|
-
"referencedDeclaration":
|
|
8776
|
+
"referencedDeclaration": 11541,
|
|
8777
8777
|
"src": "6310:3:13",
|
|
8778
8778
|
"typeDescriptions": {
|
|
8779
8779
|
"typeIdentifier": "t_magic_message",
|
|
@@ -8879,7 +8879,7 @@
|
|
|
8879
8879
|
"name": "msg",
|
|
8880
8880
|
"nodeType": "Identifier",
|
|
8881
8881
|
"overloadedDeclarations": [],
|
|
8882
|
-
"referencedDeclaration":
|
|
8882
|
+
"referencedDeclaration": 11541,
|
|
8883
8883
|
"src": "6347:3:13",
|
|
8884
8884
|
"typeDescriptions": {
|
|
8885
8885
|
"typeIdentifier": "t_magic_message",
|
|
@@ -8939,10 +8939,10 @@
|
|
|
8939
8939
|
"name": "require",
|
|
8940
8940
|
"nodeType": "Identifier",
|
|
8941
8941
|
"overloadedDeclarations": [
|
|
8942
|
-
|
|
8943
|
-
|
|
8942
|
+
11544,
|
|
8943
|
+
11545
|
|
8944
8944
|
],
|
|
8945
|
-
"referencedDeclaration":
|
|
8945
|
+
"referencedDeclaration": 11544,
|
|
8946
8946
|
"src": "6302:7:13",
|
|
8947
8947
|
"typeDescriptions": {
|
|
8948
8948
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -9140,7 +9140,7 @@
|
|
|
9140
9140
|
"name": "msg",
|
|
9141
9141
|
"nodeType": "Identifier",
|
|
9142
9142
|
"overloadedDeclarations": [],
|
|
9143
|
-
"referencedDeclaration":
|
|
9143
|
+
"referencedDeclaration": 11541,
|
|
9144
9144
|
"src": "6620:3:13",
|
|
9145
9145
|
"typeDescriptions": {
|
|
9146
9146
|
"typeIdentifier": "t_magic_message",
|
|
@@ -9194,10 +9194,10 @@
|
|
|
9194
9194
|
"name": "require",
|
|
9195
9195
|
"nodeType": "Identifier",
|
|
9196
9196
|
"overloadedDeclarations": [
|
|
9197
|
-
|
|
9198
|
-
|
|
9197
|
+
11544,
|
|
9198
|
+
11545
|
|
9199
9199
|
],
|
|
9200
|
-
"referencedDeclaration":
|
|
9200
|
+
"referencedDeclaration": 11544,
|
|
9201
9201
|
"src": "6612:7:13",
|
|
9202
9202
|
"typeDescriptions": {
|
|
9203
9203
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -11296,10 +11296,10 @@
|
|
|
11296
11296
|
"name": "require",
|
|
11297
11297
|
"nodeType": "Identifier",
|
|
11298
11298
|
"overloadedDeclarations": [
|
|
11299
|
-
|
|
11300
|
-
|
|
11299
|
+
11544,
|
|
11300
|
+
11545
|
|
11301
11301
|
],
|
|
11302
|
-
"referencedDeclaration":
|
|
11302
|
+
"referencedDeclaration": 11544,
|
|
11303
11303
|
"src": "7648:7:13",
|
|
11304
11304
|
"typeDescriptions": {
|
|
11305
11305
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -11352,7 +11352,7 @@
|
|
|
11352
11352
|
"name": "msg",
|
|
11353
11353
|
"nodeType": "Identifier",
|
|
11354
11354
|
"overloadedDeclarations": [],
|
|
11355
|
-
"referencedDeclaration":
|
|
11355
|
+
"referencedDeclaration": 11541,
|
|
11356
11356
|
"src": "7768:3:13",
|
|
11357
11357
|
"typeDescriptions": {
|
|
11358
11358
|
"typeIdentifier": "t_magic_message",
|
|
@@ -11480,10 +11480,10 @@
|
|
|
11480
11480
|
"name": "require",
|
|
11481
11481
|
"nodeType": "Identifier",
|
|
11482
11482
|
"overloadedDeclarations": [
|
|
11483
|
-
|
|
11484
|
-
|
|
11483
|
+
11544,
|
|
11484
|
+
11545
|
|
11485
11485
|
],
|
|
11486
|
-
"referencedDeclaration":
|
|
11486
|
+
"referencedDeclaration": 11544,
|
|
11487
11487
|
"src": "7739:7:13",
|
|
11488
11488
|
"typeDescriptions": {
|
|
11489
11489
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -11652,7 +11652,7 @@
|
|
|
11652
11652
|
"name": "msg",
|
|
11653
11653
|
"nodeType": "Identifier",
|
|
11654
11654
|
"overloadedDeclarations": [],
|
|
11655
|
-
"referencedDeclaration":
|
|
11655
|
+
"referencedDeclaration": 11541,
|
|
11656
11656
|
"src": "7875:3:13",
|
|
11657
11657
|
"typeDescriptions": {
|
|
11658
11658
|
"typeIdentifier": "t_magic_message",
|
|
@@ -12839,10 +12839,10 @@
|
|
|
12839
12839
|
"name": "require",
|
|
12840
12840
|
"nodeType": "Identifier",
|
|
12841
12841
|
"overloadedDeclarations": [
|
|
12842
|
-
|
|
12843
|
-
|
|
12842
|
+
11544,
|
|
12843
|
+
11545
|
|
12844
12844
|
],
|
|
12845
|
-
"referencedDeclaration":
|
|
12845
|
+
"referencedDeclaration": 11544,
|
|
12846
12846
|
"src": "8525:7:13",
|
|
12847
12847
|
"typeDescriptions": {
|
|
12848
12848
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -13331,7 +13331,7 @@
|
|
|
13331
13331
|
"name": "msg",
|
|
13332
13332
|
"nodeType": "Identifier",
|
|
13333
13333
|
"overloadedDeclarations": [],
|
|
13334
|
-
"referencedDeclaration":
|
|
13334
|
+
"referencedDeclaration": 11541,
|
|
13335
13335
|
"src": "8869:3:13",
|
|
13336
13336
|
"typeDescriptions": {
|
|
13337
13337
|
"typeIdentifier": "t_magic_message",
|
|
@@ -14022,10 +14022,10 @@
|
|
|
14022
14022
|
"name": "require",
|
|
14023
14023
|
"nodeType": "Identifier",
|
|
14024
14024
|
"overloadedDeclarations": [
|
|
14025
|
-
|
|
14026
|
-
|
|
14025
|
+
11544,
|
|
14026
|
+
11545
|
|
14027
14027
|
],
|
|
14028
|
-
"referencedDeclaration":
|
|
14028
|
+
"referencedDeclaration": 11544,
|
|
14029
14029
|
"src": "9074:7:13",
|
|
14030
14030
|
"typeDescriptions": {
|
|
14031
14031
|
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
@@ -15011,7 +15011,7 @@
|
|
|
15011
15011
|
},
|
|
15012
15012
|
{
|
|
15013
15013
|
"attributes": {
|
|
15014
|
-
"SourceUnit":
|
|
15014
|
+
"SourceUnit": 10003,
|
|
15015
15015
|
"absolutePath": "project:/contracts/interfaces/VerifiedKYC.sol",
|
|
15016
15016
|
"file": "./interfaces/VerifiedKYC.sol",
|
|
15017
15017
|
"scope": 7162,
|
|
@@ -15574,7 +15574,7 @@
|
|
|
15574
15574
|
"attributes": {
|
|
15575
15575
|
"contractScope": null,
|
|
15576
15576
|
"name": "VerifiedKYC",
|
|
15577
|
-
"referencedDeclaration":
|
|
15577
|
+
"referencedDeclaration": 10002,
|
|
15578
15578
|
"type": "contract VerifiedKYC"
|
|
15579
15579
|
},
|
|
15580
15580
|
"id": 6094,
|
|
@@ -15803,7 +15803,7 @@
|
|
|
15803
15803
|
"overloadedDeclarations": [
|
|
15804
15804
|
null
|
|
15805
15805
|
],
|
|
15806
|
-
"referencedDeclaration":
|
|
15806
|
+
"referencedDeclaration": 10002,
|
|
15807
15807
|
"type": "type(contract VerifiedKYC)",
|
|
15808
15808
|
"value": "VerifiedKYC"
|
|
15809
15809
|
},
|
|
@@ -15885,7 +15885,7 @@
|
|
|
15885
15885
|
"overloadedDeclarations": [
|
|
15886
15886
|
null
|
|
15887
15887
|
],
|
|
15888
|
-
"referencedDeclaration":
|
|
15888
|
+
"referencedDeclaration": 11541,
|
|
15889
15889
|
"type": "msg",
|
|
15890
15890
|
"value": "msg"
|
|
15891
15891
|
},
|
|
@@ -16130,10 +16130,10 @@
|
|
|
16130
16130
|
}
|
|
16131
16131
|
],
|
|
16132
16132
|
"overloadedDeclarations": [
|
|
16133
|
-
|
|
16134
|
-
|
|
16133
|
+
11544,
|
|
16134
|
+
11545
|
|
16135
16135
|
],
|
|
16136
|
-
"referencedDeclaration":
|
|
16136
|
+
"referencedDeclaration": 11544,
|
|
16137
16137
|
"type": "function (bool) pure",
|
|
16138
16138
|
"value": "require"
|
|
16139
16139
|
},
|
|
@@ -16218,7 +16218,7 @@
|
|
|
16218
16218
|
"overloadedDeclarations": [
|
|
16219
16219
|
null
|
|
16220
16220
|
],
|
|
16221
|
-
"referencedDeclaration":
|
|
16221
|
+
"referencedDeclaration": 11541,
|
|
16222
16222
|
"type": "msg",
|
|
16223
16223
|
"value": "msg"
|
|
16224
16224
|
},
|
|
@@ -16329,7 +16329,7 @@
|
|
|
16329
16329
|
"overloadedDeclarations": [
|
|
16330
16330
|
null
|
|
16331
16331
|
],
|
|
16332
|
-
"referencedDeclaration":
|
|
16332
|
+
"referencedDeclaration": 11541,
|
|
16333
16333
|
"type": "msg",
|
|
16334
16334
|
"value": "msg"
|
|
16335
16335
|
},
|
|
@@ -16385,7 +16385,7 @@
|
|
|
16385
16385
|
"overloadedDeclarations": [
|
|
16386
16386
|
null
|
|
16387
16387
|
],
|
|
16388
|
-
"referencedDeclaration":
|
|
16388
|
+
"referencedDeclaration": 11541,
|
|
16389
16389
|
"type": "msg",
|
|
16390
16390
|
"value": "msg"
|
|
16391
16391
|
},
|
|
@@ -16757,10 +16757,10 @@
|
|
|
16757
16757
|
}
|
|
16758
16758
|
],
|
|
16759
16759
|
"overloadedDeclarations": [
|
|
16760
|
-
|
|
16761
|
-
|
|
16760
|
+
11544,
|
|
16761
|
+
11545
|
|
16762
16762
|
],
|
|
16763
|
-
"referencedDeclaration":
|
|
16763
|
+
"referencedDeclaration": 11544,
|
|
16764
16764
|
"type": "function (bool) pure",
|
|
16765
16765
|
"value": "require"
|
|
16766
16766
|
},
|
|
@@ -16845,7 +16845,7 @@
|
|
|
16845
16845
|
"overloadedDeclarations": [
|
|
16846
16846
|
null
|
|
16847
16847
|
],
|
|
16848
|
-
"referencedDeclaration":
|
|
16848
|
+
"referencedDeclaration": 11541,
|
|
16849
16849
|
"type": "msg",
|
|
16850
16850
|
"value": "msg"
|
|
16851
16851
|
},
|
|
@@ -16956,7 +16956,7 @@
|
|
|
16956
16956
|
"overloadedDeclarations": [
|
|
16957
16957
|
null
|
|
16958
16958
|
],
|
|
16959
|
-
"referencedDeclaration":
|
|
16959
|
+
"referencedDeclaration": 11541,
|
|
16960
16960
|
"type": "msg",
|
|
16961
16961
|
"value": "msg"
|
|
16962
16962
|
},
|
|
@@ -17012,7 +17012,7 @@
|
|
|
17012
17012
|
"overloadedDeclarations": [
|
|
17013
17013
|
null
|
|
17014
17014
|
],
|
|
17015
|
-
"referencedDeclaration":
|
|
17015
|
+
"referencedDeclaration": 11541,
|
|
17016
17016
|
"type": "msg",
|
|
17017
17017
|
"value": "msg"
|
|
17018
17018
|
},
|
|
@@ -17397,7 +17397,7 @@
|
|
|
17397
17397
|
"overloadedDeclarations": [
|
|
17398
17398
|
null
|
|
17399
17399
|
],
|
|
17400
|
-
"referencedDeclaration":
|
|
17400
|
+
"referencedDeclaration": 11541,
|
|
17401
17401
|
"type": "msg",
|
|
17402
17402
|
"value": "msg"
|
|
17403
17403
|
},
|
|
@@ -17522,7 +17522,7 @@
|
|
|
17522
17522
|
"overloadedDeclarations": [
|
|
17523
17523
|
null
|
|
17524
17524
|
],
|
|
17525
|
-
"referencedDeclaration":
|
|
17525
|
+
"referencedDeclaration": 11541,
|
|
17526
17526
|
"type": "msg",
|
|
17527
17527
|
"value": "msg"
|
|
17528
17528
|
},
|
|
@@ -17551,7 +17551,7 @@
|
|
|
17551
17551
|
"overloadedDeclarations": [
|
|
17552
17552
|
null
|
|
17553
17553
|
],
|
|
17554
|
-
"referencedDeclaration":
|
|
17554
|
+
"referencedDeclaration": 11543,
|
|
17555
17555
|
"type": "uint256",
|
|
17556
17556
|
"value": "now"
|
|
17557
17557
|
},
|
|
@@ -17636,7 +17636,7 @@
|
|
|
17636
17636
|
"overloadedDeclarations": [
|
|
17637
17637
|
null
|
|
17638
17638
|
],
|
|
17639
|
-
"referencedDeclaration":
|
|
17639
|
+
"referencedDeclaration": 11541,
|
|
17640
17640
|
"type": "msg",
|
|
17641
17641
|
"value": "msg"
|
|
17642
17642
|
},
|
|
@@ -17848,10 +17848,10 @@
|
|
|
17848
17848
|
}
|
|
17849
17849
|
],
|
|
17850
17850
|
"overloadedDeclarations": [
|
|
17851
|
-
|
|
17852
|
-
|
|
17851
|
+
11544,
|
|
17852
|
+
11545
|
|
17853
17853
|
],
|
|
17854
|
-
"referencedDeclaration":
|
|
17854
|
+
"referencedDeclaration": 11544,
|
|
17855
17855
|
"type": "function (bool) pure",
|
|
17856
17856
|
"value": "require"
|
|
17857
17857
|
},
|
|
@@ -17921,7 +17921,7 @@
|
|
|
17921
17921
|
"overloadedDeclarations": [
|
|
17922
17922
|
null
|
|
17923
17923
|
],
|
|
17924
|
-
"referencedDeclaration":
|
|
17924
|
+
"referencedDeclaration": 11541,
|
|
17925
17925
|
"type": "msg",
|
|
17926
17926
|
"value": "msg"
|
|
17927
17927
|
},
|
|
@@ -18032,7 +18032,7 @@
|
|
|
18032
18032
|
"overloadedDeclarations": [
|
|
18033
18033
|
null
|
|
18034
18034
|
],
|
|
18035
|
-
"referencedDeclaration":
|
|
18035
|
+
"referencedDeclaration": 11541,
|
|
18036
18036
|
"type": "msg",
|
|
18037
18037
|
"value": "msg"
|
|
18038
18038
|
},
|
|
@@ -18554,7 +18554,7 @@
|
|
|
18554
18554
|
"overloadedDeclarations": [
|
|
18555
18555
|
null
|
|
18556
18556
|
],
|
|
18557
|
-
"referencedDeclaration":
|
|
18557
|
+
"referencedDeclaration": 11541,
|
|
18558
18558
|
"type": "msg",
|
|
18559
18559
|
"value": "msg"
|
|
18560
18560
|
},
|
|
@@ -20926,7 +20926,7 @@
|
|
|
20926
20926
|
"overloadedDeclarations": [
|
|
20927
20927
|
null
|
|
20928
20928
|
],
|
|
20929
|
-
"referencedDeclaration":
|
|
20929
|
+
"referencedDeclaration": 11541,
|
|
20930
20930
|
"type": "msg",
|
|
20931
20931
|
"value": "msg"
|
|
20932
20932
|
},
|
|
@@ -23739,10 +23739,10 @@
|
|
|
23739
23739
|
}
|
|
23740
23740
|
],
|
|
23741
23741
|
"overloadedDeclarations": [
|
|
23742
|
-
|
|
23743
|
-
|
|
23742
|
+
11544,
|
|
23743
|
+
11545
|
|
23744
23744
|
],
|
|
23745
|
-
"referencedDeclaration":
|
|
23745
|
+
"referencedDeclaration": 11544,
|
|
23746
23746
|
"type": "function (bool) pure",
|
|
23747
23747
|
"value": "require"
|
|
23748
23748
|
},
|
|
@@ -23798,7 +23798,7 @@
|
|
|
23798
23798
|
"overloadedDeclarations": [
|
|
23799
23799
|
null
|
|
23800
23800
|
],
|
|
23801
|
-
"referencedDeclaration":
|
|
23801
|
+
"referencedDeclaration": 11541,
|
|
23802
23802
|
"type": "msg",
|
|
23803
23803
|
"value": "msg"
|
|
23804
23804
|
},
|
|
@@ -23909,7 +23909,7 @@
|
|
|
23909
23909
|
"overloadedDeclarations": [
|
|
23910
23910
|
null
|
|
23911
23911
|
],
|
|
23912
|
-
"referencedDeclaration":
|
|
23912
|
+
"referencedDeclaration": 11541,
|
|
23913
23913
|
"type": "msg",
|
|
23914
23914
|
"value": "msg"
|
|
23915
23915
|
},
|
|
@@ -24174,10 +24174,10 @@
|
|
|
24174
24174
|
}
|
|
24175
24175
|
],
|
|
24176
24176
|
"overloadedDeclarations": [
|
|
24177
|
-
|
|
24178
|
-
|
|
24177
|
+
11544,
|
|
24178
|
+
11545
|
|
24179
24179
|
],
|
|
24180
|
-
"referencedDeclaration":
|
|
24180
|
+
"referencedDeclaration": 11544,
|
|
24181
24181
|
"type": "function (bool) pure",
|
|
24182
24182
|
"value": "require"
|
|
24183
24183
|
},
|
|
@@ -24233,7 +24233,7 @@
|
|
|
24233
24233
|
"overloadedDeclarations": [
|
|
24234
24234
|
null
|
|
24235
24235
|
],
|
|
24236
|
-
"referencedDeclaration":
|
|
24236
|
+
"referencedDeclaration": 11541,
|
|
24237
24237
|
"type": "msg",
|
|
24238
24238
|
"value": "msg"
|
|
24239
24239
|
},
|
|
@@ -24344,7 +24344,7 @@
|
|
|
24344
24344
|
"overloadedDeclarations": [
|
|
24345
24345
|
null
|
|
24346
24346
|
],
|
|
24347
|
-
"referencedDeclaration":
|
|
24347
|
+
"referencedDeclaration": 11541,
|
|
24348
24348
|
"type": "msg",
|
|
24349
24349
|
"value": "msg"
|
|
24350
24350
|
},
|
|
@@ -24620,10 +24620,10 @@
|
|
|
24620
24620
|
}
|
|
24621
24621
|
],
|
|
24622
24622
|
"overloadedDeclarations": [
|
|
24623
|
-
|
|
24624
|
-
|
|
24623
|
+
11544,
|
|
24624
|
+
11545
|
|
24625
24625
|
],
|
|
24626
|
-
"referencedDeclaration":
|
|
24626
|
+
"referencedDeclaration": 11544,
|
|
24627
24627
|
"type": "function (bool) pure",
|
|
24628
24628
|
"value": "require"
|
|
24629
24629
|
},
|
|
@@ -24664,7 +24664,7 @@
|
|
|
24664
24664
|
"overloadedDeclarations": [
|
|
24665
24665
|
null
|
|
24666
24666
|
],
|
|
24667
|
-
"referencedDeclaration":
|
|
24667
|
+
"referencedDeclaration": 11541,
|
|
24668
24668
|
"type": "msg",
|
|
24669
24669
|
"value": "msg"
|
|
24670
24670
|
},
|
|
@@ -26658,10 +26658,10 @@
|
|
|
26658
26658
|
}
|
|
26659
26659
|
],
|
|
26660
26660
|
"overloadedDeclarations": [
|
|
26661
|
-
|
|
26662
|
-
|
|
26661
|
+
11544,
|
|
26662
|
+
11545
|
|
26663
26663
|
],
|
|
26664
|
-
"referencedDeclaration":
|
|
26664
|
+
"referencedDeclaration": 11544,
|
|
26665
26665
|
"type": "function (bool) pure",
|
|
26666
26666
|
"value": "require"
|
|
26667
26667
|
},
|
|
@@ -26969,10 +26969,10 @@
|
|
|
26969
26969
|
}
|
|
26970
26970
|
],
|
|
26971
26971
|
"overloadedDeclarations": [
|
|
26972
|
-
|
|
26973
|
-
|
|
26972
|
+
11544,
|
|
26973
|
+
11545
|
|
26974
26974
|
],
|
|
26975
|
-
"referencedDeclaration":
|
|
26975
|
+
"referencedDeclaration": 11544,
|
|
26976
26976
|
"type": "function (bool) pure",
|
|
26977
26977
|
"value": "require"
|
|
26978
26978
|
},
|
|
@@ -27063,7 +27063,7 @@
|
|
|
27063
27063
|
"overloadedDeclarations": [
|
|
27064
27064
|
null
|
|
27065
27065
|
],
|
|
27066
|
-
"referencedDeclaration":
|
|
27066
|
+
"referencedDeclaration": 11541,
|
|
27067
27067
|
"type": "msg",
|
|
27068
27068
|
"value": "msg"
|
|
27069
27069
|
},
|
|
@@ -27303,7 +27303,7 @@
|
|
|
27303
27303
|
"overloadedDeclarations": [
|
|
27304
27304
|
null
|
|
27305
27305
|
],
|
|
27306
|
-
"referencedDeclaration":
|
|
27306
|
+
"referencedDeclaration": 11541,
|
|
27307
27307
|
"type": "msg",
|
|
27308
27308
|
"value": "msg"
|
|
27309
27309
|
},
|
|
@@ -28318,10 +28318,10 @@
|
|
|
28318
28318
|
}
|
|
28319
28319
|
],
|
|
28320
28320
|
"overloadedDeclarations": [
|
|
28321
|
-
|
|
28322
|
-
|
|
28321
|
+
11544,
|
|
28322
|
+
11545
|
|
28323
28323
|
],
|
|
28324
|
-
"referencedDeclaration":
|
|
28324
|
+
"referencedDeclaration": 11544,
|
|
28325
28325
|
"type": "function (bool) pure",
|
|
28326
28326
|
"value": "require"
|
|
28327
28327
|
},
|
|
@@ -29270,7 +29270,7 @@
|
|
|
29270
29270
|
"overloadedDeclarations": [
|
|
29271
29271
|
null
|
|
29272
29272
|
],
|
|
29273
|
-
"referencedDeclaration":
|
|
29273
|
+
"referencedDeclaration": 11541,
|
|
29274
29274
|
"type": "msg",
|
|
29275
29275
|
"value": "msg"
|
|
29276
29276
|
},
|
|
@@ -29585,10 +29585,10 @@
|
|
|
29585
29585
|
}
|
|
29586
29586
|
],
|
|
29587
29587
|
"overloadedDeclarations": [
|
|
29588
|
-
|
|
29589
|
-
|
|
29588
|
+
11544,
|
|
29589
|
+
11545
|
|
29590
29590
|
],
|
|
29591
|
-
"referencedDeclaration":
|
|
29591
|
+
"referencedDeclaration": 11544,
|
|
29592
29592
|
"type": "function (bool) pure",
|
|
29593
29593
|
"value": "require"
|
|
29594
29594
|
},
|
|
@@ -30770,12 +30770,12 @@
|
|
|
30770
30770
|
"3": {
|
|
30771
30771
|
"events": {},
|
|
30772
30772
|
"links": {},
|
|
30773
|
-
"address": "
|
|
30774
|
-
"transactionHash": "
|
|
30773
|
+
"address": "0xA085ea50293c9Cb49f661769A034AD891917b800",
|
|
30774
|
+
"transactionHash": "0xfdbfcecd2d98d016cf3f5af29e10e37d83bd116e99b185a33a49ffd26cd40fc2"
|
|
30775
30775
|
}
|
|
30776
30776
|
},
|
|
30777
30777
|
"schemaVersion": "3.4.3",
|
|
30778
|
-
"updatedAt": "2021-12-
|
|
30778
|
+
"updatedAt": "2021-12-30T16:47:41.019Z",
|
|
30779
30779
|
"networkType": "ethereum",
|
|
30780
30780
|
"devdoc": {
|
|
30781
30781
|
"methods": {}
|