{"matchId":"42751666","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-07-22T19:49:00Z","creationBytecode":{"onchainBytecode":"0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516113586100fd60003960008181610be501528181610c0e0152610d7f01526113586000f3fe6080604052600436106100f35760003560e01c8063571c3e601161008a578063ad3cb1cc11610059578063ad3cb1cc14610286578063b3c65015146102c4578063b50e44b8146102f2578063e7692ee51461030757600080fd5b8063571c3e60146102275780636a4141d8146102475780638129fc1c1461025c578063835253941461027157600080fd5b8063471aedc2116100c6578063471aedc2146101ba5780634762155d146101cf5780634f1ef286146101ef57806352d1902d1461020457600080fd5b80630cbcae70146100f857806326f2f9cb1461012a5780634339b4211461015a5780634427673314610181575b600080fd5b34801561010457600080fd5b5061010d610327565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013657600080fd5b5061014a610145366004610fe0565b61034d565b6040519015158152602001610121565b34801561016657600080fd5b5061016f600281565b60405160ff9091168152602001610121565b34801561018d57600080fd5b5061016f61019c366004611063565b6001600160a01b031660009081526001602052604090205460ff1690565b3480156101c657600080fd5b5061016f600181565b3480156101db57600080fd5b5061014a6101ea366004611063565b6104f7565b6102026101fd366004611094565b610696565b005b34801561021057600080fd5b506102196106b5565b604051908152602001610121565b34801561023357600080fd5b5061014a610242366004611167565b6106d2565b34801561025357600080fd5b5061016f600881565b34801561026857600080fd5b50610202610851565b34801561027d57600080fd5b5061016f600081565b34801561029257600080fd5b506102b7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161012191906111be565b3480156102d057600080fd5b506102d961098c565b60405167ffffffffffffffff9091168152602001610121565b3480156102fe57600080fd5b5061016f600481565b34801561031357600080fd5b5061014a610322366004611063565b6109c0565b6000610348600080516020611303833981519152546001600160a01b031690565b905090565b33600090815260016020819052604082205460ff16148061038057503360009081526001602052604090205460ff166002145b8061039d57503360009081526001602052604090205460ff166008145b6103c25760405162461bcd60e51b81526004016103b9906111f1565b60405180910390fd5b601e8411156104245760405162461bcd60e51b815260206004820152602860248201527f457863656564656420746865206d6178696d756d206e756d626572206f662061604482015267646472657373657360c01b60648201526084016103b9565b8382146104735760405162461bcd60e51b815260206004820152601a60248201527f57726f6e67206c656e677468206f6620706172616d657465727300000000000060448201526064016103b9565b60005b60ff81168511156104eb576104d886868360ff1681811061049957610499611221565b90506020020160208101906104ae9190611063565b85858460ff168181106104c3576104c3611221565b90506020020160208101906102429190611237565b50806104e381611252565b915050610476565b50600195945050505050565b33600090815260016020819052604082205460ff16148061052a57503360009081526001602052604090205460ff166002145b8061054757503360009081526001602052604090205460ff166008145b6105635760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff9091161461061d576001600160a01b0381166000908152600160205260408082205433835291205460ff9182169116600119016105e75760ff8116600214806105c6575060ff81166004145b6105e25760405162461bcd60e51b81526004016103b99061127f565b61061b565b3360009081526001602052604090205460ff82811691161461061b5760405162461bcd60e51b81526004016103b99061127f565b505b6001600160a01b03831660009081526001602052604090205460ff1660001981016106815760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b6b7bb329036b0b9ba32b960611b60448201526064016103b9565b61068c846000610a90565b5060019392505050565b61069e610bda565b6106a782610c81565b6106b18282610cb7565b5050565b60006106bf610d74565b5060008051602061130383398151915290565b33600090815260016020819052604082205460ff16148061070557503360009081526001602052604090205460ff166002145b8061072257503360009081526001602052604090205460ff166008145b61073e5760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff909116146107e2573360009081526001602052604090205460ff16600119016107ae5760ff81166002148061078d575060ff81166004145b6107a95760405162461bcd60e51b81526004016103b99061127f565b6107e2565b3360009081526001602052604090205460ff8281169116146107e25760405162461bcd60e51b81526004016103b99061127f565b60ff8316600214806107f7575060ff83166004145b80610805575060ff83166008145b6108475760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642074617267657420726f6c6560681b60448201526064016103b9565b61068c8484610a90565b610859610bda565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561089f5750825b905060008267ffffffffffffffff1660011480156108bc5750303b155b9050811580156108ca575080155b156108e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561091257845460ff60401b1916600160401b1785555b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff19169091179055831561098557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b60006103487ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b33600090815260016020819052604082205460ff16146109f25760405162461bcd60e51b81526004016103b9906111f1565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152601d60248201527f4f776e65722063616e206e6f74206265207a65726f206164647265737300000060448201526064016103b9565b60008054610a61916001600160a01b0390911690610a90565b600080546001600160a01b0319166001600160a01b038416179055610a87826001610a90565b5060015b919050565b6001600160a01b03821660009081526001602052604090205460ff16801580610aba575060ff8216155b610b065760405162461bcd60e51b815260206004820152601d60248201527f4e6f2064697265637420726f6c652d746f2d726f6c65206368616e676500000060448201526064016103b9565b6001600160a01b0383166000908152600160205260409020805460ff191660ff848116919091179091558116610b8a57604080516001600160a01b038516815260ff8416602082015233918101919091527f2697af88d2f0a6794bada87955958248eb8cdeb5a15f2fd02ca2ea0ca62752ce906060015b60405180910390a1505050565b604080516001600160a01b038516815260ff8316602082015233918101919091527f2dbc4aa05d692485497a03e4dd3c1943ac72af21831c50458e95403ed774571e90606001610b7d565b505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610c6157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c55600080516020611303833981519152546001600160a01b031690565b6001600160a01b031614155b15610c7f5760405163703e46dd60e11b815260040160405180910390fd5b565b3360009081526001602081905260409091205460ff1614610cb45760405162461bcd60e51b81526004016103b9906111f1565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d11575060408051601f3d908101601f19168201909252610d0e918101906112cd565b60015b610d3957604051634c9c8ce360e01b81526001600160a01b03831660048201526024016103b9565b6000805160206113038339815191528114610d6a57604051632a87526960e21b8152600481018290526024016103b9565b610bd58383610dbd565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c7f5760405163703e46dd60e11b815260040160405180910390fd5b610dc682610e13565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610e0b57610bd58282610e78565b6106b1610eee565b806001600160a01b03163b600003610e4957604051634c9c8ce360e01b81526001600160a01b03821660048201526024016103b9565b60008051602061130383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051610e9591906112e6565b600060405180830381855af49150503d8060008114610ed0576040519150601f19603f3d011682016040523d82523d6000602084013e610ed5565b606091505b5091509150610ee5858383610f0d565b95945050505050565b3415610c7f5760405163b398979f60e01b815260040160405180910390fd5b606082610f2257610f1d82610f6c565b610f65565b8151158015610f3957506001600160a01b0384163b155b15610f6257604051639996b31560e01b81526001600160a01b03851660048201526024016103b9565b50805b9392505050565b805115610f7b57805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b60008083601f840112610fa657600080fd5b50813567ffffffffffffffff811115610fbe57600080fd5b6020830191508360208260051b8501011115610fd957600080fd5b9250929050565b60008060008060408587031215610ff657600080fd5b843567ffffffffffffffff8082111561100e57600080fd5b61101a88838901610f94565b9096509450602087013591508082111561103357600080fd5b5061104087828801610f94565b95989497509550505050565b80356001600160a01b0381168114610a8b57600080fd5b60006020828403121561107557600080fd5b610f658261104c565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156110a757600080fd5b6110b08361104c565b9150602083013567ffffffffffffffff808211156110cd57600080fd5b818501915085601f8301126110e157600080fd5b8135818111156110f3576110f361107e565b604051601f8201601f19908116603f0116810190838211818310171561111b5761111b61107e565b8160405282815288602084870101111561113457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803560ff81168114610a8b57600080fd5b6000806040838503121561117a57600080fd5b6111838361104c565b915061119160208401611156565b90509250929050565b60005b838110156111b557818101518382015260200161119d565b50506000910152565b60208152600082518060208401526111dd81604085016020870161119a565b601f01601f19169190910160400192915050565b6020808252601690820152754e6f7420656e6f756768207065726d697373696f6e7360501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561124957600080fd5b610f6582611156565b600060ff821660ff810361127657634e487b7160e01b600052601160045260246000fd5b60010192915050565b6020808252602e908201527f4e6f7420656e6f756768207065726d697373696f6e732e204f6e6c792073616d60408201526d19481c9bdb1948185b1b1bddd95960921b606082015260800190565b6000602082840312156112df57600080fd5b5051919050565b600082516112f881846020870161119a565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","recompiledBytecode":"0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516113586100fd60003960008181610be501528181610c0e0152610d7f01526113586000f3fe6080604052600436106100f35760003560e01c8063571c3e601161008a578063ad3cb1cc11610059578063ad3cb1cc14610286578063b3c65015146102c4578063b50e44b8146102f2578063e7692ee51461030757600080fd5b8063571c3e60146102275780636a4141d8146102475780638129fc1c1461025c578063835253941461027157600080fd5b8063471aedc2116100c6578063471aedc2146101ba5780634762155d146101cf5780634f1ef286146101ef57806352d1902d1461020457600080fd5b80630cbcae70146100f857806326f2f9cb1461012a5780634339b4211461015a5780634427673314610181575b600080fd5b34801561010457600080fd5b5061010d610327565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013657600080fd5b5061014a610145366004610fe0565b61034d565b6040519015158152602001610121565b34801561016657600080fd5b5061016f600281565b60405160ff9091168152602001610121565b34801561018d57600080fd5b5061016f61019c366004611063565b6001600160a01b031660009081526001602052604090205460ff1690565b3480156101c657600080fd5b5061016f600181565b3480156101db57600080fd5b5061014a6101ea366004611063565b6104f7565b6102026101fd366004611094565b610696565b005b34801561021057600080fd5b506102196106b5565b604051908152602001610121565b34801561023357600080fd5b5061014a610242366004611167565b6106d2565b34801561025357600080fd5b5061016f600881565b34801561026857600080fd5b50610202610851565b34801561027d57600080fd5b5061016f600081565b34801561029257600080fd5b506102b7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161012191906111be565b3480156102d057600080fd5b506102d961098c565b60405167ffffffffffffffff9091168152602001610121565b3480156102fe57600080fd5b5061016f600481565b34801561031357600080fd5b5061014a610322366004611063565b6109c0565b6000610348600080516020611303833981519152546001600160a01b031690565b905090565b33600090815260016020819052604082205460ff16148061038057503360009081526001602052604090205460ff166002145b8061039d57503360009081526001602052604090205460ff166008145b6103c25760405162461bcd60e51b81526004016103b9906111f1565b60405180910390fd5b601e8411156104245760405162461bcd60e51b815260206004820152602860248201527f457863656564656420746865206d6178696d756d206e756d626572206f662061604482015267646472657373657360c01b60648201526084016103b9565b8382146104735760405162461bcd60e51b815260206004820152601a60248201527f57726f6e67206c656e677468206f6620706172616d657465727300000000000060448201526064016103b9565b60005b60ff81168511156104eb576104d886868360ff1681811061049957610499611221565b90506020020160208101906104ae9190611063565b85858460ff168181106104c3576104c3611221565b90506020020160208101906102429190611237565b50806104e381611252565b915050610476565b50600195945050505050565b33600090815260016020819052604082205460ff16148061052a57503360009081526001602052604090205460ff166002145b8061054757503360009081526001602052604090205460ff166008145b6105635760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff9091161461061d576001600160a01b0381166000908152600160205260408082205433835291205460ff9182169116600119016105e75760ff8116600214806105c6575060ff81166004145b6105e25760405162461bcd60e51b81526004016103b99061127f565b61061b565b3360009081526001602052604090205460ff82811691161461061b5760405162461bcd60e51b81526004016103b99061127f565b505b6001600160a01b03831660009081526001602052604090205460ff1660001981016106815760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b6b7bb329036b0b9ba32b960611b60448201526064016103b9565b61068c846000610a90565b5060019392505050565b61069e610bda565b6106a782610c81565b6106b18282610cb7565b5050565b60006106bf610d74565b5060008051602061130383398151915290565b33600090815260016020819052604082205460ff16148061070557503360009081526001602052604090205460ff166002145b8061072257503360009081526001602052604090205460ff166008145b61073e5760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff909116146107e2573360009081526001602052604090205460ff16600119016107ae5760ff81166002148061078d575060ff81166004145b6107a95760405162461bcd60e51b81526004016103b99061127f565b6107e2565b3360009081526001602052604090205460ff8281169116146107e25760405162461bcd60e51b81526004016103b99061127f565b60ff8316600214806107f7575060ff83166004145b80610805575060ff83166008145b6108475760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642074617267657420726f6c6560681b60448201526064016103b9565b61068c8484610a90565b610859610bda565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561089f5750825b905060008267ffffffffffffffff1660011480156108bc5750303b155b9050811580156108ca575080155b156108e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561091257845460ff60401b1916600160401b1785555b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff19169091179055831561098557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b60006103487ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b33600090815260016020819052604082205460ff16146109f25760405162461bcd60e51b81526004016103b9906111f1565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152601d60248201527f4f776e65722063616e206e6f74206265207a65726f206164647265737300000060448201526064016103b9565b60008054610a61916001600160a01b0390911690610a90565b600080546001600160a01b0319166001600160a01b038416179055610a87826001610a90565b5060015b919050565b6001600160a01b03821660009081526001602052604090205460ff16801580610aba575060ff8216155b610b065760405162461bcd60e51b815260206004820152601d60248201527f4e6f2064697265637420726f6c652d746f2d726f6c65206368616e676500000060448201526064016103b9565b6001600160a01b0383166000908152600160205260409020805460ff191660ff848116919091179091558116610b8a57604080516001600160a01b038516815260ff8416602082015233918101919091527f2697af88d2f0a6794bada87955958248eb8cdeb5a15f2fd02ca2ea0ca62752ce906060015b60405180910390a1505050565b604080516001600160a01b038516815260ff8316602082015233918101919091527f2dbc4aa05d692485497a03e4dd3c1943ac72af21831c50458e95403ed774571e90606001610b7d565b505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610c6157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c55600080516020611303833981519152546001600160a01b031690565b6001600160a01b031614155b15610c7f5760405163703e46dd60e11b815260040160405180910390fd5b565b3360009081526001602081905260409091205460ff1614610cb45760405162461bcd60e51b81526004016103b9906111f1565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d11575060408051601f3d908101601f19168201909252610d0e918101906112cd565b60015b610d3957604051634c9c8ce360e01b81526001600160a01b03831660048201526024016103b9565b6000805160206113038339815191528114610d6a57604051632a87526960e21b8152600481018290526024016103b9565b610bd58383610dbd565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c7f5760405163703e46dd60e11b815260040160405180910390fd5b610dc682610e13565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610e0b57610bd58282610e78565b6106b1610eee565b806001600160a01b03163b600003610e4957604051634c9c8ce360e01b81526001600160a01b03821660048201526024016103b9565b60008051602061130383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051610e9591906112e6565b600060405180830381855af49150503d8060008114610ed0576040519150601f19603f3d011682016040523d82523d6000602084013e610ed5565b606091505b5091509150610ee5858383610f0d565b95945050505050565b3415610c7f5760405163b398979f60e01b815260040160405180910390fd5b606082610f2257610f1d82610f6c565b610f65565b8151158015610f3957506001600160a01b0384163b155b15610f6257604051639996b31560e01b81526001600160a01b03851660048201526024016103b9565b50805b9392505050565b805115610f7b57805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b60008083601f840112610fa657600080fd5b50813567ffffffffffffffff811115610fbe57600080fd5b6020830191508360208260051b8501011115610fd957600080fd5b9250929050565b60008060008060408587031215610ff657600080fd5b843567ffffffffffffffff8082111561100e57600080fd5b61101a88838901610f94565b9096509450602087013591508082111561103357600080fd5b5061104087828801610f94565b95989497509550505050565b80356001600160a01b0381168114610a8b57600080fd5b60006020828403121561107557600080fd5b610f658261104c565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156110a757600080fd5b6110b08361104c565b9150602083013567ffffffffffffffff808211156110cd57600080fd5b818501915085601f8301126110e157600080fd5b8135818111156110f3576110f361107e565b604051601f8201601f19908116603f0116810190838211818310171561111b5761111b61107e565b8160405282815288602084870101111561113457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803560ff81168114610a8b57600080fd5b6000806040838503121561117a57600080fd5b6111838361104c565b915061119160208401611156565b90509250929050565b60005b838110156111b557818101518382015260200161119d565b50506000910152565b60208152600082518060208401526111dd81604085016020870161119a565b601f01601f19169190910160400192915050565b6020808252601690820152754e6f7420656e6f756768207065726d697373696f6e7360501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561124957600080fd5b610f6582611156565b600060ff821660ff810361127657634e487b7160e01b600052601160045260246000fd5b60010192915050565b6020808252602e908201527f4e6f7420656e6f756768207065726d697373696f6e732e204f6e6c792073616d60408201526d19481c9bdb1948185b1b1bddd95960921b606082015260800190565b6000602082840312156112df57600080fd5b5051919050565b600082516112f881846020870161119a565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","sourceMap":"1217:6303:11:-:0;;;1171:4:1;1128:48;;1358:53:11;;;;;;;;;-1:-1:-1;1382:22:11;:20;:22::i;:::-;1217:6303;;7709:422:0;3147:66;7898:15;;;;;;;7894:76;;;7936:23;;-1:-1:-1;;;7936:23:0;;;;;;;;;;;7894:76;7983:14;;-1:-1:-1;;;;;7983:14:0;;;:34;7979:146;;8033:33;;-1:-1:-1;;;;;;8033:33:0;-1:-1:-1;;;;;8033:33:0;;;;;8085:29;;158:50:13;;;8085:29:0;;146:2:13;131:18;8085:29:0;;;;;;;7979:146;7758:373;7709:422::o;14:200:13:-;1217:6303:11;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","offset":5152}},"transformations":[],"transformationValues":{}},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436106100f35760003560e01c8063571c3e601161008a578063ad3cb1cc11610059578063ad3cb1cc14610286578063b3c65015146102c4578063b50e44b8146102f2578063e7692ee51461030757600080fd5b8063571c3e60146102275780636a4141d8146102475780638129fc1c1461025c578063835253941461027157600080fd5b8063471aedc2116100c6578063471aedc2146101ba5780634762155d146101cf5780634f1ef286146101ef57806352d1902d1461020457600080fd5b80630cbcae70146100f857806326f2f9cb1461012a5780634339b4211461015a5780634427673314610181575b600080fd5b34801561010457600080fd5b5061010d610327565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013657600080fd5b5061014a610145366004610fe0565b61034d565b6040519015158152602001610121565b34801561016657600080fd5b5061016f600281565b60405160ff9091168152602001610121565b34801561018d57600080fd5b5061016f61019c366004611063565b6001600160a01b031660009081526001602052604090205460ff1690565b3480156101c657600080fd5b5061016f600181565b3480156101db57600080fd5b5061014a6101ea366004611063565b6104f7565b6102026101fd366004611094565b610696565b005b34801561021057600080fd5b506102196106b5565b604051908152602001610121565b34801561023357600080fd5b5061014a610242366004611167565b6106d2565b34801561025357600080fd5b5061016f600881565b34801561026857600080fd5b50610202610851565b34801561027d57600080fd5b5061016f600081565b34801561029257600080fd5b506102b7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161012191906111be565b3480156102d057600080fd5b506102d961098c565b60405167ffffffffffffffff9091168152602001610121565b3480156102fe57600080fd5b5061016f600481565b34801561031357600080fd5b5061014a610322366004611063565b6109c0565b6000610348600080516020611303833981519152546001600160a01b031690565b905090565b33600090815260016020819052604082205460ff16148061038057503360009081526001602052604090205460ff166002145b8061039d57503360009081526001602052604090205460ff166008145b6103c25760405162461bcd60e51b81526004016103b9906111f1565b60405180910390fd5b601e8411156104245760405162461bcd60e51b815260206004820152602860248201527f457863656564656420746865206d6178696d756d206e756d626572206f662061604482015267646472657373657360c01b60648201526084016103b9565b8382146104735760405162461bcd60e51b815260206004820152601a60248201527f57726f6e67206c656e677468206f6620706172616d657465727300000000000060448201526064016103b9565b60005b60ff81168511156104eb576104d886868360ff1681811061049957610499611221565b90506020020160208101906104ae9190611063565b85858460ff168181106104c3576104c3611221565b90506020020160208101906102429190611237565b50806104e381611252565b915050610476565b50600195945050505050565b33600090815260016020819052604082205460ff16148061052a57503360009081526001602052604090205460ff166002145b8061054757503360009081526001602052604090205460ff166008145b6105635760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff9091161461061d576001600160a01b0381166000908152600160205260408082205433835291205460ff9182169116600119016105e75760ff8116600214806105c6575060ff81166004145b6105e25760405162461bcd60e51b81526004016103b99061127f565b61061b565b3360009081526001602052604090205460ff82811691161461061b5760405162461bcd60e51b81526004016103b99061127f565b505b6001600160a01b03831660009081526001602052604090205460ff1660001981016106815760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b6b7bb329036b0b9ba32b960611b60448201526064016103b9565b61068c846000610a90565b5060019392505050565b61069e610bda565b6106a782610c81565b6106b18282610cb7565b5050565b60006106bf610d74565b5060008051602061130383398151915290565b33600090815260016020819052604082205460ff16148061070557503360009081526001602052604090205460ff166002145b8061072257503360009081526001602052604090205460ff166008145b61073e5760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff909116146107e2573360009081526001602052604090205460ff16600119016107ae5760ff81166002148061078d575060ff81166004145b6107a95760405162461bcd60e51b81526004016103b99061127f565b6107e2565b3360009081526001602052604090205460ff8281169116146107e25760405162461bcd60e51b81526004016103b99061127f565b60ff8316600214806107f7575060ff83166004145b80610805575060ff83166008145b6108475760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642074617267657420726f6c6560681b60448201526064016103b9565b61068c8484610a90565b610859610bda565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561089f5750825b905060008267ffffffffffffffff1660011480156108bc5750303b155b9050811580156108ca575080155b156108e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561091257845460ff60401b1916600160401b1785555b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff19169091179055831561098557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b60006103487ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b33600090815260016020819052604082205460ff16146109f25760405162461bcd60e51b81526004016103b9906111f1565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152601d60248201527f4f776e65722063616e206e6f74206265207a65726f206164647265737300000060448201526064016103b9565b60008054610a61916001600160a01b0390911690610a90565b600080546001600160a01b0319166001600160a01b038416179055610a87826001610a90565b5060015b919050565b6001600160a01b03821660009081526001602052604090205460ff16801580610aba575060ff8216155b610b065760405162461bcd60e51b815260206004820152601d60248201527f4e6f2064697265637420726f6c652d746f2d726f6c65206368616e676500000060448201526064016103b9565b6001600160a01b0383166000908152600160205260409020805460ff191660ff848116919091179091558116610b8a57604080516001600160a01b038516815260ff8416602082015233918101919091527f2697af88d2f0a6794bada87955958248eb8cdeb5a15f2fd02ca2ea0ca62752ce906060015b60405180910390a1505050565b604080516001600160a01b038516815260ff8316602082015233918101919091527f2dbc4aa05d692485497a03e4dd3c1943ac72af21831c50458e95403ed774571e90606001610b7d565b505050565b306001600160a01b037f000000000000000000000000cf5f7cec13168144b82ef83fda638e81938c218b161480610c6157507f000000000000000000000000cf5f7cec13168144b82ef83fda638e81938c218b6001600160a01b0316610c55600080516020611303833981519152546001600160a01b031690565b6001600160a01b031614155b15610c7f5760405163703e46dd60e11b815260040160405180910390fd5b565b3360009081526001602081905260409091205460ff1614610cb45760405162461bcd60e51b81526004016103b9906111f1565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d11575060408051601f3d908101601f19168201909252610d0e918101906112cd565b60015b610d3957604051634c9c8ce360e01b81526001600160a01b03831660048201526024016103b9565b6000805160206113038339815191528114610d6a57604051632a87526960e21b8152600481018290526024016103b9565b610bd58383610dbd565b306001600160a01b037f000000000000000000000000cf5f7cec13168144b82ef83fda638e81938c218b1614610c7f5760405163703e46dd60e11b815260040160405180910390fd5b610dc682610e13565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610e0b57610bd58282610e78565b6106b1610eee565b806001600160a01b03163b600003610e4957604051634c9c8ce360e01b81526001600160a01b03821660048201526024016103b9565b60008051602061130383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051610e9591906112e6565b600060405180830381855af49150503d8060008114610ed0576040519150601f19603f3d011682016040523d82523d6000602084013e610ed5565b606091505b5091509150610ee5858383610f0d565b95945050505050565b3415610c7f5760405163b398979f60e01b815260040160405180910390fd5b606082610f2257610f1d82610f6c565b610f65565b8151158015610f3957506001600160a01b0384163b155b15610f6257604051639996b31560e01b81526001600160a01b03851660048201526024016103b9565b50805b9392505050565b805115610f7b57805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b60008083601f840112610fa657600080fd5b50813567ffffffffffffffff811115610fbe57600080fd5b6020830191508360208260051b8501011115610fd957600080fd5b9250929050565b60008060008060408587031215610ff657600080fd5b843567ffffffffffffffff8082111561100e57600080fd5b61101a88838901610f94565b9096509450602087013591508082111561103357600080fd5b5061104087828801610f94565b95989497509550505050565b80356001600160a01b0381168114610a8b57600080fd5b60006020828403121561107557600080fd5b610f658261104c565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156110a757600080fd5b6110b08361104c565b9150602083013567ffffffffffffffff808211156110cd57600080fd5b818501915085601f8301126110e157600080fd5b8135818111156110f3576110f361107e565b604051601f8201601f19908116603f0116810190838211818310171561111b5761111b61107e565b8160405282815288602084870101111561113457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803560ff81168114610a8b57600080fd5b6000806040838503121561117a57600080fd5b6111838361104c565b915061119160208401611156565b90509250929050565b60005b838110156111b557818101518382015260200161119d565b50506000910152565b60208152600082518060208401526111dd81604085016020870161119a565b601f01601f19169190910160400192915050565b6020808252601690820152754e6f7420656e6f756768207065726d697373696f6e7360501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561124957600080fd5b610f6582611156565b600060ff821660ff810361127657634e487b7160e01b600052601160045260246000fd5b60010192915050565b6020808252602e908201527f4e6f7420656e6f756768207065726d697373696f6e732e204f6e6c792073616d60408201526d19481c9bdb1948185b1b1bddd95960921b606082015260800190565b6000602082840312156112df57600080fd5b5051919050565b600082516112f881846020870161119a565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","recompiledBytecode":"0x6080604052600436106100f35760003560e01c8063571c3e601161008a578063ad3cb1cc11610059578063ad3cb1cc14610286578063b3c65015146102c4578063b50e44b8146102f2578063e7692ee51461030757600080fd5b8063571c3e60146102275780636a4141d8146102475780638129fc1c1461025c578063835253941461027157600080fd5b8063471aedc2116100c6578063471aedc2146101ba5780634762155d146101cf5780634f1ef286146101ef57806352d1902d1461020457600080fd5b80630cbcae70146100f857806326f2f9cb1461012a5780634339b4211461015a5780634427673314610181575b600080fd5b34801561010457600080fd5b5061010d610327565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013657600080fd5b5061014a610145366004610fe0565b61034d565b6040519015158152602001610121565b34801561016657600080fd5b5061016f600281565b60405160ff9091168152602001610121565b34801561018d57600080fd5b5061016f61019c366004611063565b6001600160a01b031660009081526001602052604090205460ff1690565b3480156101c657600080fd5b5061016f600181565b3480156101db57600080fd5b5061014a6101ea366004611063565b6104f7565b6102026101fd366004611094565b610696565b005b34801561021057600080fd5b506102196106b5565b604051908152602001610121565b34801561023357600080fd5b5061014a610242366004611167565b6106d2565b34801561025357600080fd5b5061016f600881565b34801561026857600080fd5b50610202610851565b34801561027d57600080fd5b5061016f600081565b34801561029257600080fd5b506102b7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161012191906111be565b3480156102d057600080fd5b506102d961098c565b60405167ffffffffffffffff9091168152602001610121565b3480156102fe57600080fd5b5061016f600481565b34801561031357600080fd5b5061014a610322366004611063565b6109c0565b6000610348600080516020611303833981519152546001600160a01b031690565b905090565b33600090815260016020819052604082205460ff16148061038057503360009081526001602052604090205460ff166002145b8061039d57503360009081526001602052604090205460ff166008145b6103c25760405162461bcd60e51b81526004016103b9906111f1565b60405180910390fd5b601e8411156104245760405162461bcd60e51b815260206004820152602860248201527f457863656564656420746865206d6178696d756d206e756d626572206f662061604482015267646472657373657360c01b60648201526084016103b9565b8382146104735760405162461bcd60e51b815260206004820152601a60248201527f57726f6e67206c656e677468206f6620706172616d657465727300000000000060448201526064016103b9565b60005b60ff81168511156104eb576104d886868360ff1681811061049957610499611221565b90506020020160208101906104ae9190611063565b85858460ff168181106104c3576104c3611221565b90506020020160208101906102429190611237565b50806104e381611252565b915050610476565b50600195945050505050565b33600090815260016020819052604082205460ff16148061052a57503360009081526001602052604090205460ff166002145b8061054757503360009081526001602052604090205460ff166008145b6105635760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff9091161461061d576001600160a01b0381166000908152600160205260408082205433835291205460ff9182169116600119016105e75760ff8116600214806105c6575060ff81166004145b6105e25760405162461bcd60e51b81526004016103b99061127f565b61061b565b3360009081526001602052604090205460ff82811691161461061b5760405162461bcd60e51b81526004016103b99061127f565b505b6001600160a01b03831660009081526001602052604090205460ff1660001981016106815760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b6b7bb329036b0b9ba32b960611b60448201526064016103b9565b61068c846000610a90565b5060019392505050565b61069e610bda565b6106a782610c81565b6106b18282610cb7565b5050565b60006106bf610d74565b5060008051602061130383398151915290565b33600090815260016020819052604082205460ff16148061070557503360009081526001602052604090205460ff166002145b8061072257503360009081526001602052604090205460ff166008145b61073e5760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff909116146107e2573360009081526001602052604090205460ff16600119016107ae5760ff81166002148061078d575060ff81166004145b6107a95760405162461bcd60e51b81526004016103b99061127f565b6107e2565b3360009081526001602052604090205460ff8281169116146107e25760405162461bcd60e51b81526004016103b99061127f565b60ff8316600214806107f7575060ff83166004145b80610805575060ff83166008145b6108475760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642074617267657420726f6c6560681b60448201526064016103b9565b61068c8484610a90565b610859610bda565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561089f5750825b905060008267ffffffffffffffff1660011480156108bc5750303b155b9050811580156108ca575080155b156108e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561091257845460ff60401b1916600160401b1785555b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff19169091179055831561098557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b60006103487ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b33600090815260016020819052604082205460ff16146109f25760405162461bcd60e51b81526004016103b9906111f1565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152601d60248201527f4f776e65722063616e206e6f74206265207a65726f206164647265737300000060448201526064016103b9565b60008054610a61916001600160a01b0390911690610a90565b600080546001600160a01b0319166001600160a01b038416179055610a87826001610a90565b5060015b919050565b6001600160a01b03821660009081526001602052604090205460ff16801580610aba575060ff8216155b610b065760405162461bcd60e51b815260206004820152601d60248201527f4e6f2064697265637420726f6c652d746f2d726f6c65206368616e676500000060448201526064016103b9565b6001600160a01b0383166000908152600160205260409020805460ff191660ff848116919091179091558116610b8a57604080516001600160a01b038516815260ff8416602082015233918101919091527f2697af88d2f0a6794bada87955958248eb8cdeb5a15f2fd02ca2ea0ca62752ce906060015b60405180910390a1505050565b604080516001600160a01b038516815260ff8316602082015233918101919091527f2dbc4aa05d692485497a03e4dd3c1943ac72af21831c50458e95403ed774571e90606001610b7d565b505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610c6157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c55600080516020611303833981519152546001600160a01b031690565b6001600160a01b031614155b15610c7f5760405163703e46dd60e11b815260040160405180910390fd5b565b3360009081526001602081905260409091205460ff1614610cb45760405162461bcd60e51b81526004016103b9906111f1565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d11575060408051601f3d908101601f19168201909252610d0e918101906112cd565b60015b610d3957604051634c9c8ce360e01b81526001600160a01b03831660048201526024016103b9565b6000805160206113038339815191528114610d6a57604051632a87526960e21b8152600481018290526024016103b9565b610bd58383610dbd565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c7f5760405163703e46dd60e11b815260040160405180910390fd5b610dc682610e13565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610e0b57610bd58282610e78565b6106b1610eee565b806001600160a01b03163b600003610e4957604051634c9c8ce360e01b81526001600160a01b03821660048201526024016103b9565b60008051602061130383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051610e9591906112e6565b600060405180830381855af49150503d8060008114610ed0576040519150601f19603f3d011682016040523d82523d6000602084013e610ed5565b606091505b5091509150610ee5858383610f0d565b95945050505050565b3415610c7f5760405163b398979f60e01b815260040160405180910390fd5b606082610f2257610f1d82610f6c565b610f65565b8151158015610f3957506001600160a01b0384163b155b15610f6257604051639996b31560e01b81526001600160a01b03851660048201526024016103b9565b50805b9392505050565b805115610f7b57805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b60008083601f840112610fa657600080fd5b50813567ffffffffffffffff811115610fbe57600080fd5b6020830191508360208260051b8501011115610fd957600080fd5b9250929050565b60008060008060408587031215610ff657600080fd5b843567ffffffffffffffff8082111561100e57600080fd5b61101a88838901610f94565b9096509450602087013591508082111561103357600080fd5b5061104087828801610f94565b95989497509550505050565b80356001600160a01b0381168114610a8b57600080fd5b60006020828403121561107557600080fd5b610f658261104c565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156110a757600080fd5b6110b08361104c565b9150602083013567ffffffffffffffff808211156110cd57600080fd5b818501915085601f8301126110e157600080fd5b8135818111156110f3576110f361107e565b604051601f8201601f19908116603f0116810190838211818310171561111b5761111b61107e565b8160405282815288602084870101111561113457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803560ff81168114610a8b57600080fd5b6000806040838503121561117a57600080fd5b6111838361104c565b915061119160208401611156565b90509250929050565b60005b838110156111b557818101518382015260200161119d565b50506000910152565b60208152600082518060208401526111dd81604085016020870161119a565b601f01601f19169190910160400192915050565b6020808252601690820152754e6f7420656e6f756768207065726d697373696f6e7360501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561124957600080fd5b610f6582611156565b600060ff821660ff810361127657634e487b7160e01b600052601160045260246000fd5b60010192915050565b6020808252602e908201527f4e6f7420656e6f756768207065726d697373696f6e732e204f6e6c792073616d60408201526d19481c9bdb1948185b1b1bddd95960921b606082015260800190565b6000602082840312156112df57600080fd5b5051919050565b600082516112f881846020870161119a565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","sourceMap":"1217:6303:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1759:124;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;178:32:13;;;160:51;;148:2;133:18;1759:124:11;;;;;;;;5566:449;;;;;;;;;;-1:-1:-1;5566:449:11;;;;;:::i;:::-;;:::i;:::-;;;1535:14:13;;1528:22;1510:41;;1498:2;1483:18;5566:449:11;1370:187:13;1338:32:10;;;;;;;;;;;;1369:1;1338:32;;;;;1734:4:13;1722:17;;;1704:36;;1692:2;1677:18;1338:32:10;1562:184:13;7406:111:11;;;;;;;;;;-1:-1:-1;7406:111:11;;;;;:::i;:::-;-1:-1:-1;;;;;7495:15:11;7471:5;7495:15;;;:5;:15;;;;;;;;;7406:111;1300:32:10;;;;;;;;;;;;1331:1;1300:32;;6915:298:11;;;;;;;;;;-1:-1:-1;6915:298:11;;;;;:::i;:::-;;:::i;4161:214:1:-;;;;;;:::i;:::-;;:::i;:::-;;3708:134;;;;;;;;;;;;;:::i;:::-;;;3398:25:13;;;3386:2;3371:18;3708:134:1;3252:177:13;6344:306:11;;;;;;;;;;-1:-1:-1;6344:306:11;;;;;:::i;:::-;;:::i;1416:40:10:-;;;;;;;;;;;;1455:1;1416:40;;1417:131:11;;;;;;;;;;;;;:::i;1264:30:10:-;;;;;;;;;;;;1293:1;1264:30;;1819:58:1;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1819:58:1;;;;;;;;;;;;:::i;1993:112:11:-;;;;;;;;;;;;;:::i;:::-;;;4686:18:13;4674:31;;;4656:50;;4644:2;4629:18;1993:112:11;4512:200:13;1376:34:10;;;;;;;;;;;;1409:1;1376:34;;4879:287:11;;;;;;;;;;-1:-1:-1;4879:287:11;;;;;:::i;:::-;;:::i;1759:124::-;1818:7;1844:32;-1:-1:-1;;;;;;;;;;;1519:53:4;-1:-1:-1;;;;;1519:53:4;;1441:138;1844:32:11;1837:39;;1759:124;:::o;5566:449::-;2806:10;5699:4;2800:17;;;1331:1:10;2800:17:11;;;;;;;;:27;:17;:27;;:58;;-1:-1:-1;2837:10:11;2831:17;;;;:5;:17;;;;;;:27;:17;1369:1:10;2831:27:11;2800:58;:97;;;-1:-1:-1;2868:10:11;2862:17;;;;:5;:17;;;;;;:35;:17;1455:1:10;2862:35:11;2800:97;2792:132;;;;-1:-1:-1;;;2792:132:11;;;;;;;:::i;:::-;;;;;;;;;5744:2:::1;5723:23:::0;::::1;;5715:76;;;::::0;-1:-1:-1;;;5715:76:11;;5270:2:13;5715:76:11::1;::::0;::::1;5252:21:13::0;5309:2;5289:18;;;5282:30;5348:34;5328:18;;;5321:62;-1:-1:-1;;;5399:18:13;;;5392:38;5447:19;;5715:76:11::1;5068:404:13::0;5715:76:11::1;5809:34:::0;;::::1;5801:73;;;::::0;-1:-1:-1;;;5801:73:11;;5679:2:13;5801:73:11::1;::::0;::::1;5661:21:13::0;5718:2;5698:18;;;5691:30;5757:28;5737:18;;;5730:56;5803:18;;5801:73:11::1;5477:350:13::0;5801:73:11::1;5889:7;5884:104;5902:21;::::0;::::1;::::0;-1:-1:-1;5884:104:11::1;;;5944:33;5952:10;;5963:1;5952:13;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;5967:6;;5974:1;5967:9;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;5944:33::-;-1:-1:-1::0;5925:3:11;::::1;::::0;::::1;:::i;:::-;;;;5884:104;;;-1:-1:-1::0;6004:4:11::1;::::0;5566:449;-1:-1:-1;;;;;5566:449:11:o;6915:298::-;2806:10;7045:4;2800:17;;;1331:1:10;2800:17:11;;;;;;;;:27;:17;:27;;:58;;-1:-1:-1;2837:10:11;2831:17;;;;:5;:17;;;;;;:27;:17;1369:1:10;2831:27:11;2800:58;:97;;;-1:-1:-1;2868:10:11;2862:17;;;;:5;:17;;;;;;:35;:17;1455:1:10;2862:35:11;2800:97;2792:132;;;;-1:-1:-1;;;2792:132:11;;;;;;;:::i;:::-;3596:10:::1;3590:17;::::0;;;1331:1:10::1;3590:17:11;::::0;;;;;;;;7026:8;;3590:27:::1;:17:::0;;::::1;:27;3586:381;;-1:-1:-1::0;;;;;3646:15:11;::::1;3633:10;3646:15:::0;;;:5:::1;:15;::::0;;;;;;3685:10:::1;3679:17:::0;;;;;3646:15:::1;::::0;;::::1;::::0;3679:17:::1;-1:-1:-1::0;;3679:27:11;3675:282:::1;;3734:14;::::0;::::1;1369:1:10;3734:14:11;::::0;:34:::1;;-1:-1:-1::0;3752:16:11::1;::::0;::::1;1409:1:10;3752:16:11;3734:34;3726:93;;;;-1:-1:-1::0;;;3726:93:11::1;;;;;;;:::i;:::-;3675:282;;;3872:10;3866:17;::::0;;;:5:::1;:17;::::0;;;;;:25:::1;::::0;;::::1;:17:::0;::::1;:25;3858:84;;;;-1:-1:-1::0;;;3858:84:11::1;;;;;;;:::i;:::-;3619:348;3586:381;-1:-1:-1::0;;;;;7074:15:11;::::2;7061:10;7074:15:::0;;;:5:::2;:15;::::0;;;;;::::2;;-1:-1:-1::0;;7107:14:11;;7099:47:::2;;;::::0;-1:-1:-1;;;7099:47:11;;7045:2:13;7099:47:11::2;::::0;::::2;7027:21:13::0;7084:2;7064:18;;;7057:30;-1:-1:-1;;;7103:18:13;;;7096:50;7163:18;;7099:47:11::2;6843:344:13::0;7099:47:11::2;7157:27;7169:8;1293:1:10;7157:11:11;:27::i;:::-;-1:-1:-1::0;7202:4:11::2;::::0;6915:298;-1:-1:-1;;;6915:298:11:o;4161:214:1:-;2655:13;:11;:13::i;:::-;4276:36:::1;4294:17;4276;:36::i;:::-;4322:46;4344:17;4363:4;4322:21;:46::i;:::-;4161:214:::0;;:::o;3708:134::-;3777:7;2926:20;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;;3708:134:1;:::o;6344:306:11:-;2806:10;6471:4;2800:17;;;1331:1:10;2800:17:11;;;;;;;;:27;:17;:27;;:58;;-1:-1:-1;2837:10:11;2831:17;;;;:5;:17;;;;;;:27;:17;1369:1:10;2831:27:11;2800:58;:97;;;-1:-1:-1;2868:10:11;2862:17;;;;:5;:17;;;;;;:35;:17;1455:1:10;2862:35:11;2800:97;2792:132;;;;-1:-1:-1;;;2792:132:11;;;;;;;:::i;:::-;3087:10:::1;3081:17;::::0;;;1331:1:10::1;3081:17:11;::::0;;;;;;;;6455:5;;3081:27:::1;:17:::0;;::::1;:27;3077:342;;3134:10;3128:17;::::0;;;:5:::1;:17;::::0;;;;;:27:::1;:17;-1:-1:-1::0;;3128:27:11;3124:285:::1;;3183:15;::::0;::::1;1369:1:10;3183:15:11;::::0;:36:::1;;-1:-1:-1::0;3202:17:11::1;::::0;::::1;1409:1:10;3202:17:11;3183:36;3175:95;;;;-1:-1:-1::0;;;3175:95:11::1;;;;;;;:::i;:::-;3124:285;;;3323:10;3317:17;::::0;;;:5:::1;:17;::::0;;;;;:26:::1;::::0;;::::1;:17:::0;::::1;:26;3309:85;;;;-1:-1:-1::0;;;3309:85:11::1;;;;;;;:::i;:::-;6495:15:::2;::::0;::::2;1369:1:10;6495:15:11;::::0;:36:::2;;-1:-1:-1::0;6514:17:11::2;::::0;::::2;1409:1:10;6514:17:11;6495:36;:63;;;-1:-1:-1::0;6535:23:11::2;::::0;::::2;1455:1:10;6535:23:11;6495:63;6487:95;;;::::0;-1:-1:-1;;;6487:95:11;;7394:2:13;6487:95:11::2;::::0;::::2;7376:21:13::0;7433:2;7413:18;;;7406:30;-1:-1:-1;;;7452:18:13;;;7445:49;7511:18;;6487:95:11::2;7192:343:13::0;6487:95:11::2;6593:28;6605:8;6615:5;6593:11;:28::i;1417:131::-:0;2655:13:1;:11;:13::i;:::-;3147:66:0;4302:15;;-1:-1:-1;;;4302:15:0;::::1;;;4301:16;::::0;4348:14:::1;;4158:30;4724:16:::0;;:34;::::1;;;;4744:14;4724:34;4704:54;;4768:17;4788:11;:16;;4803:1;4788:16;:50;;;;-1:-1:-1::0;4816:4:0::1;4808:25;:30:::0;4788:50:::1;4768:70;;4854:12;4853:13;:30;;;;;4871:12;4870:13;4853:30;4849:91;;;4906:23;;-1:-1:-1::0;;;4906:23:0::1;;;;;;;;;;;4849:91;4949:18:::0;;-1:-1:-1;;4949:18:0::1;4966:1;4949:18;::::0;;4977:67;::::1;;;5011:22:::0;;-1:-1:-1;;;;5011:22:0::1;-1:-1:-1::0;;;5011:22:0::1;::::0;;4977:67:::1;1487:5:11::2;:18:::0;;-1:-1:-1;;;;;;1487:18:11::2;1495:10;1487:18:::0;;::::2;::::0;;1515:17;;1487:18;1515:17:::2;::::0;;;;;;;:26;;-1:-1:-1;;1515:26:11::2;::::0;;::::2;::::0;;5064:101:0;::::1;;;5098:23:::0;;-1:-1:-1;;;;5098:23:0::1;::::0;;5140:14:::1;::::0;-1:-1:-1;4656:50:13;;5140:14:0::1;::::0;4644:2:13;4629:18;5140:14:0::1;;;;;;;5064:101;4092:1079;;;;;1417:131:11:o:0;1993:112::-;2049:6;2074:24;3147:66:0;8323:39;;;;8241:128;4879:287:11;2251:10;4958:4;2245:17;;;1331:1:10;2245:17:11;;;;;;;;:27;:17;:27;2237:62;;;;-1:-1:-1;;;2237:62:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;4982:22:11;::::1;4974:64;;;::::0;-1:-1:-1;;;4974:64:11;;7956:2:13;4974:64:11::1;::::0;::::1;7938:21:13::0;7995:2;7975:18;;;7968:30;8034:31;8014:18;;;8007:59;8083:18;;4974:64:11::1;7754:353:13::0;4974:64:11::1;5060:5;::::0;;5048:24:::1;::::0;-1:-1:-1;;;;;5060:5:11;;::::1;::::0;5048:11:::1;:24::i;:::-;5082:5;:16:::0;;-1:-1:-1;;;;;;5082:16:11::1;-1:-1:-1::0;;;;;5082:16:11;::::1;;::::0;;5108:29:::1;5082:16:::0;-1:-1:-1;5108:11:11::1;:29::i;:::-;-1:-1:-1::0;5155:4:11::1;2309:1;4879:287:::0;;;:::o;4205:437::-;-1:-1:-1;;;;;4293:15:11;;4276:14;4293:15;;;:5;:15;;;;;;;;4327:16;;;:33;;-1:-1:-1;4347:13:11;;;;4327:33;4319:75;;;;-1:-1:-1;;;4319:75:11;;8314:2:13;4319:75:11;;;8296:21:13;8353:2;8333:18;;;8326:30;8392:31;8372:18;;;8365:59;8441:18;;4319:75:11;8112:353:13;4319:75:11;-1:-1:-1;;;;;4405:15:11;;;;;;:5;:15;;;;;:23;;-1:-1:-1;;4405:23:11;;;;;;;;;;;;4443:16;;4439:197;;4480:52;;;-1:-1:-1;;;;;8724:15:13;;8706:34;;8788:4;8776:17;;8771:2;8756:18;;8749:45;4521:10:11;8810:18:13;;;8803:43;;;;4480:52:11;;8656:2:13;8641:18;4480:52:11;;;;;;;;4266:376;4205:437;;:::o;4439:197::-;4568:57;;;-1:-1:-1;;;;;8724:15:13;;8706:34;;8788:4;8776:17;;8771:2;8756:18;;8749:45;4614:10:11;8810:18:13;;;8803:43;;;;4568:57:11;;8656:2:13;8641:18;4568:57:11;8470:382:13;4439:197:11;4266:376;4205:437;;:::o;4578:312:1:-;4658:4;-1:-1:-1;;;;;4667:6:1;4650:23;;;:120;;;4764:6;-1:-1:-1;;;;;4728:42:1;:32;-1:-1:-1;;;;;;;;;;;1519:53:4;-1:-1:-1;;;;;1519:53:4;;1441:138;4728:32:1;-1:-1:-1;;;;;4728:42:1;;;4650:120;4633:251;;;4844:29;;-1:-1:-1;;;4844:29:1;;;;;;;;;;;4633:251;4578:312::o;1613:67:11:-;2251:10;2245:17;;;;1331:1:10;2245:17:11;;;;;;;;;:27;:17;:27;2237:62;;;;-1:-1:-1;;;2237:62:11;;;;;;;:::i;:::-;1613:67;:::o;6032:538:1:-;6149:17;-1:-1:-1;;;;;6131:50:1;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6131:52:1;;;;;;;;-1:-1:-1;;6131:52:1;;;;;;;;;;;;:::i;:::-;;;6127:437;;6493:60;;-1:-1:-1;;;6493:60:1;;-1:-1:-1;;;;;178:32:13;;6493:60:1;;;160:51:13;133:18;;6493:60:1;14:203:13;6127:437:1;-1:-1:-1;;;;;;;;;;;6225:40:1;;6221:120;;6292:34;;-1:-1:-1;;;6292:34:1;;;;;3398:25:13;;;3371:18;;6292:34:1;3252:177:13;6221:120:1;6354:54;6384:17;6403:4;6354:29;:54::i;5007:213::-;5081:4;-1:-1:-1;;;;;5090:6:1;5073:23;;5069:145;;5174:29;;-1:-1:-1;;;5174:29:1;;;;;;;;;;;2264:344:4;2355:37;2374:17;2355:18;:37::i;:::-;2407:36;;-1:-1:-1;;;;;2407:36:4;;;;;;;;2458:11;;:15;2454:148;;2489:53;2518:17;2537:4;2489:28;:53::i;2454:148::-;2573:18;:16;:18::i;1671:281::-;1748:17;-1:-1:-1;;;;;1748:29:4;;1781:1;1748:34;1744:119;;1805:47;;-1:-1:-1;;;1805:47:4;;-1:-1:-1;;;;;178:32:13;;1805:47:4;;;160:51:13;133:18;;1805:47:4;14:203:13;1744:119:4;-1:-1:-1;;;;;;;;;;;1872:73:4;;-1:-1:-1;;;;;;1872:73:4;-1:-1:-1;;;;;1872:73:4;;;;;;;;;;1671:281::o;3916:253:6:-;3999:12;4024;4038:23;4065:6;-1:-1:-1;;;;;4065:19:6;4085:4;4065:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4023:67;;;;4107:55;4134:6;4142:7;4151:10;4107:26;:55::i;:::-;4100:62;3916:253;-1:-1:-1;;;;;3916:253:6:o;6113:122:4:-;6163:9;:13;6159:70;;6199:19;;-1:-1:-1;;;6199:19:4;;;;;;;;;;;4437:582:6;4581:12;4610:7;4605:408;;4633:19;4641:10;4633:7;:19::i;:::-;4605:408;;;4857:17;;:22;:49;;;;-1:-1:-1;;;;;;4883:18:6;;;:23;4857:49;4853:119;;;4933:24;;-1:-1:-1;;;4933:24:6;;-1:-1:-1;;;;;178:32:13;;4933:24:6;;;160:51:13;133:18;;4933:24:6;14:203:13;4853:119:6;-1:-1:-1;4992:10:6;4605:408;4437:582;;;;;:::o;5559:434::-;5690:17;;:21;5686:301;;5894:10;5888:17;5881:4;5869:10;5865:21;5858:48;5686:301;5957:19;;-1:-1:-1;;;5957:19:6;;;;;;;;;;;222:367:13;285:8;295:6;349:3;342:4;334:6;330:17;326:27;316:55;;367:1;364;357:12;316:55;-1:-1:-1;390:20:13;;433:18;422:30;;419:50;;;465:1;462;455:12;419:50;502:4;494:6;490:17;478:29;;562:3;555:4;545:6;542:1;538:14;530:6;526:27;522:38;519:47;516:67;;;579:1;576;569:12;516:67;222:367;;;;;:::o;594:771::-;714:6;722;730;738;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;847:9;834:23;876:18;917:2;909:6;906:14;903:34;;;933:1;930;923:12;903:34;972:70;1034:7;1025:6;1014:9;1010:22;972:70;:::i;:::-;1061:8;;-1:-1:-1;946:96:13;-1:-1:-1;1149:2:13;1134:18;;1121:32;;-1:-1:-1;1165:16:13;;;1162:36;;;1194:1;1191;1184:12;1162:36;;1233:72;1297:7;1286:8;1275:9;1271:24;1233:72;:::i;:::-;594:771;;;;-1:-1:-1;1324:8:13;-1:-1:-1;;;;594:771:13:o;1751:173::-;1819:20;;-1:-1:-1;;;;;1868:31:13;;1858:42;;1848:70;;1914:1;1911;1904:12;1929:186;1988:6;2041:2;2029:9;2020:7;2016:23;2012:32;2009:52;;;2057:1;2054;2047:12;2009:52;2080:29;2099:9;2080:29;:::i;2120:127::-;2181:10;2176:3;2172:20;2169:1;2162:31;2212:4;2209:1;2202:15;2236:4;2233:1;2226:15;2252:995;2329:6;2337;2390:2;2378:9;2369:7;2365:23;2361:32;2358:52;;;2406:1;2403;2396:12;2358:52;2429:29;2448:9;2429:29;:::i;:::-;2419:39;;2509:2;2498:9;2494:18;2481:32;2532:18;2573:2;2565:6;2562:14;2559:34;;;2589:1;2586;2579:12;2559:34;2627:6;2616:9;2612:22;2602:32;;2672:7;2665:4;2661:2;2657:13;2653:27;2643:55;;2694:1;2691;2684:12;2643:55;2730:2;2717:16;2752:2;2748;2745:10;2742:36;;;2758:18;;:::i;:::-;2833:2;2827:9;2801:2;2887:13;;-1:-1:-1;;2883:22:13;;;2907:2;2879:31;2875:40;2863:53;;;2931:18;;;2951:22;;;2928:46;2925:72;;;2977:18;;:::i;:::-;3017:10;3013:2;3006:22;3052:2;3044:6;3037:18;3092:7;3087:2;3082;3078;3074:11;3070:20;3067:33;3064:53;;;3113:1;3110;3103:12;3064:53;3169:2;3164;3160;3156:11;3151:2;3143:6;3139:15;3126:46;3214:1;3209:2;3204;3196:6;3192:15;3188:24;3181:35;3235:6;3225:16;;;;;;;2252:995;;;;;:::o;3434:156::-;3500:20;;3560:4;3549:16;;3539:27;;3529:55;;3580:1;3577;3570:12;3595:256;3661:6;3669;3722:2;3710:9;3701:7;3697:23;3693:32;3690:52;;;3738:1;3735;3728:12;3690:52;3761:29;3780:9;3761:29;:::i;:::-;3751:39;;3809:36;3841:2;3830:9;3826:18;3809:36;:::i;:::-;3799:46;;3595:256;;;;;:::o;3856:250::-;3941:1;3951:113;3965:6;3962:1;3959:13;3951:113;;;4041:11;;;4035:18;4022:11;;;4015:39;3987:2;3980:10;3951:113;;;-1:-1:-1;;4098:1:13;4080:16;;4073:27;3856:250::o;4111:396::-;4260:2;4249:9;4242:21;4223:4;4292:6;4286:13;4335:6;4330:2;4319:9;4315:18;4308:34;4351:79;4423:6;4418:2;4407:9;4403:18;4398:2;4390:6;4386:15;4351:79;:::i;:::-;4491:2;4470:15;-1:-1:-1;;4466:29:13;4451:45;;;;4498:2;4447:54;;4111:396;-1:-1:-1;;4111:396:13:o;4717:346::-;4919:2;4901:21;;;4958:2;4938:18;;;4931:30;-1:-1:-1;;;4992:2:13;4977:18;;4970:52;5054:2;5039:18;;4717:346::o;5832:127::-;5893:10;5888:3;5884:20;5881:1;5874:31;5924:4;5921:1;5914:15;5948:4;5945:1;5938:15;5964:182;6021:6;6074:2;6062:9;6053:7;6049:23;6045:32;6042:52;;;6090:1;6087;6080:12;6042:52;6113:27;6130:9;6113:27;:::i;6151:272::-;6188:3;6232:4;6225:5;6221:16;6261:4;6252:7;6249:17;6246:140;;6308:10;6303:3;6299:20;6296:1;6289:31;6343:4;6340:1;6333:15;6371:4;6368:1;6361:15;6246:140;6415:1;6402:15;;6151:272;-1:-1:-1;;6151:272:13:o;6428:410::-;6630:2;6612:21;;;6669:2;6649:18;;;6642:30;6708:34;6703:2;6688:18;;6681:62;-1:-1:-1;;;6774:2:13;6759:18;;6752:44;6828:3;6813:19;;6428:410::o;8857:184::-;8927:6;8980:2;8968:9;8959:7;8955:23;8951:32;8948:52;;;8996:1;8993;8986:12;8948:52;-1:-1:-1;9019:16:13;;8857:184;-1:-1:-1;8857:184:13:o;9046:287::-;9175:3;9213:6;9207:13;9229:66;9288:6;9283:3;9276:4;9268:6;9264:17;9229:66;:::i;:::-;9311:16;;;;;9046:287;-1:-1:-1;;9046:287:13:o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","offset":4899}},"immutableReferences":{"287":[{"start":3045,"length":32},{"start":3086,"length":32},{"start":3455,"length":32}]},"transformations":[{"id":"287","type":"replace","offset":3045,"reason":"immutable"},{"id":"287","type":"replace","offset":3086,"reason":"immutable"},{"id":"287","type":"replace","offset":3455,"reason":"immutable"}],"transformationValues":{"immutables":{"287":"0x000000000000000000000000cf5f7cec13168144b82ef83fda638e81938c218b"}}},"deployment":{"transactionHash":"0x907c33f6c442dd41acd99f29347928fc8644f4175733e9943b1cdea71af3e077","blockNumber":"25590456","transactionIndex":"70","deployer":"0x0c81357A047581bF078a323821226698d39618b8"},"sources":{"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reinitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Pointer to storage slot. Allows integrators to override it with a custom storage location.\n     *\n     * NOTE: Consider following the ERC-7201 formula to derive storage locations.\n     */\n    function _initializableStorageSlot() internal pure virtual returns (bytes32) {\n        return INITIALIZABLE_STORAGE;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        bytes32 slot = _initializableStorageSlot();\n        assembly {\n            $.slot := slot\n        }\n    }\n}\n"},"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.22;\n\nimport {IERC1822Proxiable} from \"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\nimport {Initializable} from \"./Initializable.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is Initializable, IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    function __UUPSUpgradeable_init() internal onlyInitializing {\n    }\n\n    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC-1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1967.sol)\n\npragma solidity >=0.4.11;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.21;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This library provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\n */\nlibrary ERC1967Utils {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit IERC1967.Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit IERC1967.BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n\n        (bool success, bytes memory returndata) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            _revert(returndata);\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            assembly (\"memory-safe\") {\n                revert(add(returndata, 0x20), mload(returndata))\n            }\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"contracts/data-stores/TrustServiceDataStore.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\ncontract TrustServiceDataStore {\n    address internal owner;\n    mapping(address account => uint8 role) internal roles;\n    mapping(string entityId => address owner) internal DEPRECATED_entitiesOwners;\n    mapping(address owner => string entityId) internal DEPRECATED_ownersEntities;\n    mapping(address operator => string entityId) internal DEPRECATED_operatorsEntities;\n    mapping(address resource => string entityId) internal DEPRECATED_resourcesEntities;\n\n    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[44] private __gap;\n}\n"},"contracts/trust/IDSTrustService.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\n/**\n * @title IDSTrustService\n * @dev An interface for a trust service which allows role-based access control for other contracts.\n */\n\nabstract contract IDSTrustService {\n\n    function initialize() public virtual;\n\n    /**\n     * @dev Should be emitted when a role is set for a user.\n     */\n    event DSTrustServiceRoleAdded(address targetAddress, uint8 role, address sender);\n    /**\n     * @dev Should be emitted when a role is removed for a user.\n     */\n    event DSTrustServiceRoleRemoved(address targetAddress, uint8 role, address sender);\n\n    // Role constants\n    uint8 public constant NONE = 0;\n    uint8 public constant MASTER = 1;\n    uint8 public constant ISSUER = 2;\n    uint8 public constant EXCHANGE = 4;\n    uint8 public constant TRANSFER_AGENT = 8;\n\n    /**\n     * @dev Transfers the ownership (MASTER role) of the contract.\n     * @param _address The address which the ownership needs to be transferred to.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function setServiceOwner(\n        address _address /*onlyMaster*/\n    ) public virtual returns (bool);\n\n    /**\n     * @dev Sets a role for an array of wallets.\n     * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n     * @param _addresses The array of wallet whose role needs to be set.\n     * @param _roles The array of role to be set. The length and order must match with _addresses\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function setRoles(address[] calldata _addresses, uint8[] calldata _roles) public virtual returns (bool);\n\n    /**\n     * @dev Sets a role for a wallet.\n     * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n     * @param _address The wallet whose role needs to be set.\n     * @param _role The role to be set.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function setRole(\n        address _address,\n        uint8 _role /*onlyMasterOrIssuer*/\n    ) public virtual returns (bool);\n\n    /**\n     * @dev Removes the role for a wallet.\n     * @dev Should not be used to remove MASTER (use setServiceOwner).\n     * @param _address The wallet whose role needs to be removed.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function removeRole(\n        address _address /*onlyMasterOrIssuer*/\n    ) public virtual returns (bool);\n\n    /**\n     * @dev Gets the role for a wallet.\n     * @param _address The wallet whose role needs to be fetched.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function getRole(address _address) public view virtual returns (uint8);\n\n}\n"},"contracts/trust/TrustService.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\nimport {CommonUtils} from \"../utils/CommonUtils.sol\";\nimport {IDSTrustService} from \"./IDSTrustService.sol\";\nimport {TrustServiceDataStore} from \"../data-stores/TrustServiceDataStore.sol\";\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\n\n/**\n * @title TrustService\n * @dev A trust service which allows role-based access control for other contracts.\n * @dev Implements IDSTrustService.\n */\n\ncontract TrustService is IDSTrustService, TrustServiceDataStore, UUPSUpgradeable {\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    function initialize() public override onlyProxy initializer {\n        owner = msg.sender;\n        roles[msg.sender] = MASTER;\n    }\n\n    /**\n     * @dev required by the OZ UUPS module\n     */\n    function _authorizeUpgrade(address) internal override onlyMaster {}\n\n    /**\n     * @dev returns proxy ERC1967 implementation address\n     */\n    function getImplementationAddress() external view returns (address) {\n        return ERC1967Utils.getImplementation();\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function getInitializedVersion() external view returns (uint64) {\n        return _getInitializedVersion();\n    }\n\n    /**\n   * @dev Allow invoking of functions only by the user who has the MASTER role.\n   */\n    modifier onlyMaster() {\n        require(roles[msg.sender] == MASTER, \"Not enough permissions\");\n        _;\n    }\n\n    /**\n   * @dev Allow invoking of functions only by the users who have the MASTER role or the ISSUER role.\n   */\n    modifier onlyMasterOrIssuer() {\n        require(roles[msg.sender] == MASTER || roles[msg.sender] == ISSUER, \"Not enough permissions\");\n        _;\n    }\n\n    /**\n   * @dev Allow invoking of functions only by the users who have the MASTER role or the ISSUER role or the TRANSFER AGENT role.\n   */\n    modifier onlyMasterOrIssuerOrTransferAgent() {\n        require(roles[msg.sender] == MASTER || roles[msg.sender] == ISSUER || roles[msg.sender] == TRANSFER_AGENT, \"Not enough permissions\");\n        _;\n    }\n\n    /**\n   * @dev Allow setting roles only by the user who has the same role.\n   */\n    modifier onlySameRole(uint8 _role) {\n        if (roles[msg.sender] != MASTER) {\n            if (roles[msg.sender] == ISSUER) {\n                require(_role == ISSUER || _role == EXCHANGE, \"Not enough permissions. Only same role allowed\");\n            } else {\n                require(roles[msg.sender] == _role, \"Not enough permissions. Only same role allowed\");\n            }\n        }\n        _;\n    }\n\n    /**\n   * @dev Allow setting roles only by the user who has the same role.\n   */\n    modifier onlySameRoleForAddress(address _address) {\n        if (roles[msg.sender] != MASTER) {\n            uint8 role = roles[_address];\n            if (roles[msg.sender] == ISSUER) {\n                require(role == ISSUER || role == EXCHANGE, \"Not enough permissions. Only same role allowed\");\n            } else {\n                require(roles[msg.sender] == role, \"Not enough permissions. Only same role allowed\");\n            }\n        }\n        _;\n    }\n\n\n    /**\n   * @dev Sets or removes a role for a wallet. (internal)\n   * @param _address The wallet whose role needs to be set or removed.\n   * @param _role The role to be set. NONE (0) indicates role removal.\n   */\n    function setRoleImpl(address _address, uint8 _role) internal {\n        uint8 old_role = roles[_address];\n\n        require(old_role == NONE || _role == NONE, \"No direct role-to-role change\");\n\n        roles[_address] = _role;\n\n        if (old_role == NONE) {\n            emit DSTrustServiceRoleAdded(_address, _role, msg.sender);\n        } else {\n            emit DSTrustServiceRoleRemoved(_address, old_role, msg.sender);\n        }\n    }\n\n    /**\n   * @dev Transfers the ownership (MASTER role) of the contract.\n   * @param _address The address which the ownership needs to be transferred to.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function setServiceOwner(address _address) public override onlyMaster returns (bool) {\n        require(_address != address(0), \"Owner can not be zero address\");\n        setRoleImpl(owner, NONE);\n        owner = _address;\n        setRoleImpl(_address, MASTER);\n\n        return true;\n    }\n\n    /**\n   * @dev Sets roles to an array of wallets\n   * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n   * @param _addresses The array of wallet whose role needs to be set.\n   * @param _roles The array of role to be set. Length and order must match wit _addresss\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function setRoles(address[] calldata _addresses, uint8[] calldata _roles) public override onlyMasterOrIssuerOrTransferAgent returns (bool) {\n        require(_addresses.length <= 30, \"Exceeded the maximum number of addresses\");\n        require(_addresses.length == _roles.length, \"Wrong length of parameters\");\n        for (uint8 i = 0; i < _addresses.length; i++) {\n            setRole(_addresses[i], _roles[i]);\n        }\n        return true;\n    }\n\n    /**\n   * @dev Sets a role for a wallet.\n   * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n   * @param _address The wallet whose role needs to be set.\n   * @param _role The role to be set.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function setRole(address _address, uint8 _role) public override onlyMasterOrIssuerOrTransferAgent onlySameRole(_role) returns (bool) {\n        require(_role == ISSUER || _role == EXCHANGE || _role == TRANSFER_AGENT, \"Invalid target role\");\n\n        setRoleImpl(_address, _role);\n\n        return true;\n    }\n\n    /**\n   * @dev Removes the role for a wallet.\n   * @dev Should not be used to remove MASTER (use setServiceOwner).\n   * @param _address The wallet whose role needs to be removed.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function removeRole(address _address) public override onlyMasterOrIssuerOrTransferAgent onlySameRoleForAddress(_address) returns (bool) {\n        uint8 role = roles[_address];\n        require(role != MASTER, \"Cannot remove master\");\n\n        setRoleImpl(_address, NONE);\n\n        return true;\n    }\n\n    /**\n   * @dev Gets the role for a wallet.\n   * @param _address The wallet whose role needs to be fetched.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function getRole(address _address) public view override returns (uint8) {\n        return roles[_address];\n    }\n\n}\n"},"contracts/utils/CommonUtils.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\nlibrary CommonUtils {\n  enum IncDec { Increase, Decrease }\n\n  function encodeString(string memory _str) internal pure returns (bytes32) {\n    return keccak256(abi.encodePacked(_str));\n  }\n\n  function isEqualString(string memory _str1, string memory _str2) internal pure returns (bool) {\n    return encodeString(_str1) == encodeString(_str2);\n  }\n\n  function isEmptyString(string memory _str) internal pure returns (bool) {\n    return bytes(_str).length == 0;\n  }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.22+commit.4fc1097e","compilerSettings":{"optimizer":{"runs":200,"enabled":true},"evmVersion":"paris"},"name":"TrustService","fullyQualifiedName":"contracts/trust/TrustService.sol:TrustService"},"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"DSTrustServiceRoleAdded","type":"event","inputs":[{"name":"targetAddress","type":"address","indexed":false,"internalType":"address"},{"name":"role","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"sender","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"DSTrustServiceRoleRemoved","type":"event","inputs":[{"name":"targetAddress","type":"address","indexed":false,"internalType":"address"},{"name":"role","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"sender","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"EXCHANGE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"ISSUER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"MASTER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"NONE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"TRANSFER_AGENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"getImplementationAddress","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getInitializedVersion","type":"function","inputs":[],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"name":"getRole","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"removeRole","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"setRole","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"},{"name":"_role","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"setRoles","type":"function","inputs":[{"name":"_addresses","type":"address[]","internalType":"address[]"},{"name":"_roles","type":"uint8[]","internalType":"uint8[]"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"setServiceOwner","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.22+commit.4fc1097e"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"ERC1967InvalidImplementation","type":"error"},{"inputs":[],"name":"ERC1967NonPayable","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"UUPSUnauthorizedCallContext","type":"error"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"UUPSUnsupportedProxiableUUID","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"targetAddress","type":"address"},{"indexed":false,"internalType":"uint8","name":"role","type":"uint8"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"DSTrustServiceRoleAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"targetAddress","type":"address"},{"indexed":false,"internalType":"uint8","name":"role","type":"uint8"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"DSTrustServiceRoleRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"EXCHANGE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ISSUER","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MASTER","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NONE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_AGENT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getImplementationAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInitializedVersion","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getRole","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint8","name":"_role","type":"uint8"}],"name":"setRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint8[]","name":"_roles","type":"uint8[]"}],"name":"setRoles","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setServiceOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}],"devdoc":{"details":"A trust service which allows role-based access control for other contracts.Implements IDSTrustService.","errors":{"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"DSTrustServiceRoleAdded(address,uint8,address)":{"details":"Should be emitted when a role is set for a user."},"DSTrustServiceRoleRemoved(address,uint8,address)":{"details":"Should be emitted when a role is removed for a user."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."}},"kind":"dev","methods":{"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"getImplementationAddress()":{"details":"returns proxy ERC1967 implementation address"},"getInitializedVersion()":{"details":"Returns the highest version that has been initialized. See {reinitializer}."},"getRole(address)":{"details":"Gets the role for a wallet.","params":{"_address":"The wallet whose role needs to be fetched."},"returns":{"_0":"A boolean that indicates if the operation was successful."}},"proxiableUUID()":{"details":"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"removeRole(address)":{"details":"Removes the role for a wallet.Should not be used to remove MASTER (use setServiceOwner).","params":{"_address":"The wallet whose role needs to be removed."},"returns":{"_0":"A boolean that indicates if the operation was successful."}},"setRole(address,uint8)":{"details":"Sets a role for a wallet.Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).","params":{"_address":"The wallet whose role needs to be set.","_role":"The role to be set."},"returns":{"_0":"A boolean that indicates if the operation was successful."}},"setRoles(address[],uint8[])":{"details":"Sets roles to an array of walletsShould not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).","params":{"_addresses":"The array of wallet whose role needs to be set.","_roles":"The array of role to be set. Length and order must match wit _addresss"},"returns":{"_0":"A boolean that indicates if the operation was successful."}},"setServiceOwner(address)":{"details":"Transfers the ownership (MASTER role) of the contract.","params":{"_address":"The address which the ownership needs to be transferred to."},"returns":{"_0":"A boolean that indicates if the operation was successful."}},"upgradeToAndCall(address,bytes)":{"custom:oz-upgrades-unsafe-allow-reachable":"delegatecall","details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."}},"title":"TrustService","version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"compilationTarget":{"contracts/trust/TrustService.sol":"TrustService"},"evmVersion":"paris","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[]},"sources":{"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"keccak256":"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05","license":"MIT","urls":["bzz-raw://ab7b6d5b9e2b88176312967fe0f0e78f3d9a1422fa5e4b64e2440c35869b5d08","dweb:/ipfs/QmXKYWWyzcLg1B2k7Sb1qkEXgLCYfXecR9wYW5obRzWP1Q"]},"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"keccak256":"0x574a7451e42724f7de29e2855c392a8a5020acd695169466a18459467d719d63","license":"MIT","urls":["bzz-raw://5bc189f63b639ee173dd7b6fecc39baf7113bf161776aea22b34c57fdd1872ec","dweb:/ipfs/QmZAf2VtjDLRULqjJkde6LNsxAg12tUqpPqgUQQZbAjgtZ"]},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"keccak256":"0xbf2aefe54b76d7f7bcd4f6da1080b7b1662611937d870b880db584d09cea56b5","license":"MIT","urls":["bzz-raw://f5e7e2f12e0feec75296e57f51f82fdaa8bd1551f4b8cc6560442c0bf60f818c","dweb:/ipfs/QmcW9wDMaQ8RbQibMarfp17a3bABzY5KraWe2YDwuUrUoz"]},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"keccak256":"0x82f757819bf2429a0d4db141b99a4bbe5039e4ef86dfb94e2e6d40577ed5b28b","license":"MIT","urls":["bzz-raw://37c30ed931e19fb71fdb806bb504cfdb9913b7127545001b64d4487783374422","dweb:/ipfs/QmUBHpv4hm3ZmwJ4GH8BeVzK4mv41Q6vBbWXxn8HExPXza"]},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"keccak256":"0xa1ad192cd45317c788618bef5cb1fb3ca4ce8b230f6433ac68cc1d850fb81618","license":"MIT","urls":["bzz-raw://b43447bb85a53679d269a403c693b9d88d6c74177dfb35eddca63abaf7cf110a","dweb:/ipfs/QmXSDmpd4bNZj1PDgegr6C4w1jDaWHXCconC3rYiw9TSkQ"]},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"keccak256":"0x20462ddb2665e9521372c76b001d0ce196e59dbbd989de9af5576cad0bd5628b","license":"MIT","urls":["bzz-raw://f417fd12aeec8fbfaceaa30e3a08a0724c0bc39de363e2acf6773c897abbaf6d","dweb:/ipfs/QmU4Hko6sApdweVM92CsiuLKkCk8HfyBeutF89PCTz5Tye"]},"@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x6d0ae6e206645341fd122d278c2cb643dea260c190531f2f3f6a0426e77b00c0","license":"MIT","urls":["bzz-raw://032d1201d839435be2c85b72e33206b3ea980c569d6ebf7fa57d811ab580a82f","dweb:/ipfs/QmeqQjAtMvdZT2tG7zm39itcRJkuwu8AEReK6WRnLJ18DD"]},"@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","license":"MIT","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"]},"@openzeppelin/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"]},"contracts/data-stores/TrustServiceDataStore.sol":{"keccak256":"0x49c66ef08e31e3745206158802e537fab53051a13f59321616831bae302dadb9","license":"Apache-2.0","urls":["bzz-raw://ff455699441abcee456de54ed5667209e1b8424cafec5305485156142369b35a","dweb:/ipfs/QmfLPcrj2AXok2FF5qxCWK7UBfqzjwB4nUeGWgi5bf5edT"]},"contracts/trust/IDSTrustService.sol":{"keccak256":"0xeb6873df49c0fa79d817ac703465d4f2819ddfc3cd77ad305270c2101f785136","license":"Apache-2.0","urls":["bzz-raw://fcec4f776fdfa5b9a6060d78e7d8a50521e9d4c8ef289a5d5964dbfd2450bcb6","dweb:/ipfs/QmcoGwD6WqWBEnKAGSx23erAawGK3M2xqdCvWV8XifJcac"]},"contracts/trust/TrustService.sol":{"keccak256":"0x9a1466a52f88dfa42f329e60d628dd6b50c892fc8f3b5ef0fcbfe6a92ab1378f","license":"Apache-2.0","urls":["bzz-raw://0b85ec66d08b86cc8d5f1cd023153dcbad7b95e6f2cd8086489277b845dadfa0","dweb:/ipfs/QmVoxiFCmGawuZHCxeaUyJfNrE2sVBBXZBwweHBbw3hfkQ"]},"contracts/utils/CommonUtils.sol":{"keccak256":"0xb4e8316d25f76902ccd344f8336e22a15da939547b681a1193d6072a58ce9308","license":"Apache-2.0","urls":["bzz-raw://7aacf875230d1333848d63f73ddecf4d3fc8cc854f57ff842c836daf992e77bc","dweb:/ipfs/QmXPhogwSYwELQ7DowjTJjpXX4AqGiLUX8REtQ4F7av7YY"]}},"version":1},"storageLayout":{"types":{"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_string_memory_ptr":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_array(t_uint256)44_storage":{"base":"t_uint256","label":"uint256[44]","encoding":"inplace","numberOfBytes":"1408"},"t_mapping(t_address,t_uint8)":{"key":"t_address","label":"mapping(address => uint8)","value":"t_uint8","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_string_storage)":{"key":"t_address","label":"mapping(address => string)","value":"t_string_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_string_memory_ptr,t_address)":{"key":"t_string_memory_ptr","label":"mapping(string => address)","value":"t_address","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":1194,"label":"owner","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"1","type":"t_mapping(t_address,t_uint8)","astId":1198,"label":"roles","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"2","type":"t_mapping(t_string_memory_ptr,t_address)","astId":1202,"label":"DEPRECATED_entitiesOwners","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"3","type":"t_mapping(t_address,t_string_storage)","astId":1206,"label":"DEPRECATED_ownersEntities","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"4","type":"t_mapping(t_address,t_string_storage)","astId":1210,"label":"DEPRECATED_operatorsEntities","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"5","type":"t_mapping(t_address,t_string_storage)","astId":1214,"label":"DEPRECATED_resourcesEntities","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"6","type":"t_array(t_uint256)44_storage","astId":1219,"label":"__gap","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","methods":{},"version":1},"devdoc":{"kind":"dev","title":"TrustService","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"DSTrustServiceRoleAdded(address,uint8,address)":{"details":"Should be emitted when a role is set for a user."},"DSTrustServiceRoleRemoved(address,uint8,address)":{"details":"Should be emitted when a role is removed for a user."}},"details":"A trust service which allows role-based access control for other contracts.Implements IDSTrustService.","methods":{"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"proxiableUUID()":{"details":"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"getRole(address)":{"params":{"_address":"The wallet whose role needs to be fetched."},"details":"Gets the role for a wallet.","returns":{"_0":"A boolean that indicates if the operation was successful."}},"removeRole(address)":{"params":{"_address":"The wallet whose role needs to be removed."},"details":"Removes the role for a wallet.Should not be used to remove MASTER (use setServiceOwner).","returns":{"_0":"A boolean that indicates if the operation was successful."}},"setRole(address,uint8)":{"params":{"_role":"The role to be set.","_address":"The wallet whose role needs to be set."},"details":"Sets a role for a wallet.Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).","returns":{"_0":"A boolean that indicates if the operation was successful."}},"getInitializedVersion()":{"details":"Returns the highest version that has been initialized. See {reinitializer}."},"setServiceOwner(address)":{"params":{"_address":"The address which the ownership needs to be transferred to."},"details":"Transfers the ownership (MASTER role) of the contract.","returns":{"_0":"A boolean that indicates if the operation was successful."}},"getImplementationAddress()":{"details":"returns proxy ERC1967 implementation address"},"setRoles(address[],uint8[])":{"params":{"_roles":"The array of role to be set. Length and order must match wit _addresss","_addresses":"The array of wallet whose role needs to be set."},"details":"Sets roles to an array of walletsShould not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).","returns":{"_0":"A boolean that indicates if the operation was successful."}},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"}},"version":1},"sourceIds":{"contracts/utils/CommonUtils.sol":{"id":12},"contracts/trust/TrustService.sol":{"id":11},"contracts/trust/IDSTrustService.sol":{"id":10},"@openzeppelin/contracts/utils/Errors.sol":{"id":7},"@openzeppelin/contracts/utils/Address.sol":{"id":6},"@openzeppelin/contracts/utils/StorageSlot.sol":{"id":8},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"id":2},"contracts/data-stores/TrustServiceDataStore.sol":{"id":9},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"id":5},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"id":3},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":4},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"id":0},"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"id":1}},"additionalInput":null,"stdJsonInput":{"sources":{"contracts/utils/CommonUtils.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\nlibrary CommonUtils {\n  enum IncDec { Increase, Decrease }\n\n  function encodeString(string memory _str) internal pure returns (bytes32) {\n    return keccak256(abi.encodePacked(_str));\n  }\n\n  function isEqualString(string memory _str1, string memory _str2) internal pure returns (bool) {\n    return encodeString(_str1) == encodeString(_str2);\n  }\n\n  function isEmptyString(string memory _str) internal pure returns (bool) {\n    return bytes(_str).length == 0;\n  }\n}\n"},"contracts/trust/TrustService.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\nimport {CommonUtils} from \"../utils/CommonUtils.sol\";\nimport {IDSTrustService} from \"./IDSTrustService.sol\";\nimport {TrustServiceDataStore} from \"../data-stores/TrustServiceDataStore.sol\";\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\n\n/**\n * @title TrustService\n * @dev A trust service which allows role-based access control for other contracts.\n * @dev Implements IDSTrustService.\n */\n\ncontract TrustService is IDSTrustService, TrustServiceDataStore, UUPSUpgradeable {\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    function initialize() public override onlyProxy initializer {\n        owner = msg.sender;\n        roles[msg.sender] = MASTER;\n    }\n\n    /**\n     * @dev required by the OZ UUPS module\n     */\n    function _authorizeUpgrade(address) internal override onlyMaster {}\n\n    /**\n     * @dev returns proxy ERC1967 implementation address\n     */\n    function getImplementationAddress() external view returns (address) {\n        return ERC1967Utils.getImplementation();\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function getInitializedVersion() external view returns (uint64) {\n        return _getInitializedVersion();\n    }\n\n    /**\n   * @dev Allow invoking of functions only by the user who has the MASTER role.\n   */\n    modifier onlyMaster() {\n        require(roles[msg.sender] == MASTER, \"Not enough permissions\");\n        _;\n    }\n\n    /**\n   * @dev Allow invoking of functions only by the users who have the MASTER role or the ISSUER role.\n   */\n    modifier onlyMasterOrIssuer() {\n        require(roles[msg.sender] == MASTER || roles[msg.sender] == ISSUER, \"Not enough permissions\");\n        _;\n    }\n\n    /**\n   * @dev Allow invoking of functions only by the users who have the MASTER role or the ISSUER role or the TRANSFER AGENT role.\n   */\n    modifier onlyMasterOrIssuerOrTransferAgent() {\n        require(roles[msg.sender] == MASTER || roles[msg.sender] == ISSUER || roles[msg.sender] == TRANSFER_AGENT, \"Not enough permissions\");\n        _;\n    }\n\n    /**\n   * @dev Allow setting roles only by the user who has the same role.\n   */\n    modifier onlySameRole(uint8 _role) {\n        if (roles[msg.sender] != MASTER) {\n            if (roles[msg.sender] == ISSUER) {\n                require(_role == ISSUER || _role == EXCHANGE, \"Not enough permissions. Only same role allowed\");\n            } else {\n                require(roles[msg.sender] == _role, \"Not enough permissions. Only same role allowed\");\n            }\n        }\n        _;\n    }\n\n    /**\n   * @dev Allow setting roles only by the user who has the same role.\n   */\n    modifier onlySameRoleForAddress(address _address) {\n        if (roles[msg.sender] != MASTER) {\n            uint8 role = roles[_address];\n            if (roles[msg.sender] == ISSUER) {\n                require(role == ISSUER || role == EXCHANGE, \"Not enough permissions. Only same role allowed\");\n            } else {\n                require(roles[msg.sender] == role, \"Not enough permissions. Only same role allowed\");\n            }\n        }\n        _;\n    }\n\n\n    /**\n   * @dev Sets or removes a role for a wallet. (internal)\n   * @param _address The wallet whose role needs to be set or removed.\n   * @param _role The role to be set. NONE (0) indicates role removal.\n   */\n    function setRoleImpl(address _address, uint8 _role) internal {\n        uint8 old_role = roles[_address];\n\n        require(old_role == NONE || _role == NONE, \"No direct role-to-role change\");\n\n        roles[_address] = _role;\n\n        if (old_role == NONE) {\n            emit DSTrustServiceRoleAdded(_address, _role, msg.sender);\n        } else {\n            emit DSTrustServiceRoleRemoved(_address, old_role, msg.sender);\n        }\n    }\n\n    /**\n   * @dev Transfers the ownership (MASTER role) of the contract.\n   * @param _address The address which the ownership needs to be transferred to.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function setServiceOwner(address _address) public override onlyMaster returns (bool) {\n        require(_address != address(0), \"Owner can not be zero address\");\n        setRoleImpl(owner, NONE);\n        owner = _address;\n        setRoleImpl(_address, MASTER);\n\n        return true;\n    }\n\n    /**\n   * @dev Sets roles to an array of wallets\n   * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n   * @param _addresses The array of wallet whose role needs to be set.\n   * @param _roles The array of role to be set. Length and order must match wit _addresss\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function setRoles(address[] calldata _addresses, uint8[] calldata _roles) public override onlyMasterOrIssuerOrTransferAgent returns (bool) {\n        require(_addresses.length <= 30, \"Exceeded the maximum number of addresses\");\n        require(_addresses.length == _roles.length, \"Wrong length of parameters\");\n        for (uint8 i = 0; i < _addresses.length; i++) {\n            setRole(_addresses[i], _roles[i]);\n        }\n        return true;\n    }\n\n    /**\n   * @dev Sets a role for a wallet.\n   * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n   * @param _address The wallet whose role needs to be set.\n   * @param _role The role to be set.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function setRole(address _address, uint8 _role) public override onlyMasterOrIssuerOrTransferAgent onlySameRole(_role) returns (bool) {\n        require(_role == ISSUER || _role == EXCHANGE || _role == TRANSFER_AGENT, \"Invalid target role\");\n\n        setRoleImpl(_address, _role);\n\n        return true;\n    }\n\n    /**\n   * @dev Removes the role for a wallet.\n   * @dev Should not be used to remove MASTER (use setServiceOwner).\n   * @param _address The wallet whose role needs to be removed.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function removeRole(address _address) public override onlyMasterOrIssuerOrTransferAgent onlySameRoleForAddress(_address) returns (bool) {\n        uint8 role = roles[_address];\n        require(role != MASTER, \"Cannot remove master\");\n\n        setRoleImpl(_address, NONE);\n\n        return true;\n    }\n\n    /**\n   * @dev Gets the role for a wallet.\n   * @param _address The wallet whose role needs to be fetched.\n   * @return A boolean that indicates if the operation was successful.\n   */\n    function getRole(address _address) public view override returns (uint8) {\n        return roles[_address];\n    }\n\n}\n"},"contracts/trust/IDSTrustService.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\n/**\n * @title IDSTrustService\n * @dev An interface for a trust service which allows role-based access control for other contracts.\n */\n\nabstract contract IDSTrustService {\n\n    function initialize() public virtual;\n\n    /**\n     * @dev Should be emitted when a role is set for a user.\n     */\n    event DSTrustServiceRoleAdded(address targetAddress, uint8 role, address sender);\n    /**\n     * @dev Should be emitted when a role is removed for a user.\n     */\n    event DSTrustServiceRoleRemoved(address targetAddress, uint8 role, address sender);\n\n    // Role constants\n    uint8 public constant NONE = 0;\n    uint8 public constant MASTER = 1;\n    uint8 public constant ISSUER = 2;\n    uint8 public constant EXCHANGE = 4;\n    uint8 public constant TRANSFER_AGENT = 8;\n\n    /**\n     * @dev Transfers the ownership (MASTER role) of the contract.\n     * @param _address The address which the ownership needs to be transferred to.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function setServiceOwner(\n        address _address /*onlyMaster*/\n    ) public virtual returns (bool);\n\n    /**\n     * @dev Sets a role for an array of wallets.\n     * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n     * @param _addresses The array of wallet whose role needs to be set.\n     * @param _roles The array of role to be set. The length and order must match with _addresses\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function setRoles(address[] calldata _addresses, uint8[] calldata _roles) public virtual returns (bool);\n\n    /**\n     * @dev Sets a role for a wallet.\n     * @dev Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\n     * @param _address The wallet whose role needs to be set.\n     * @param _role The role to be set.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function setRole(\n        address _address,\n        uint8 _role /*onlyMasterOrIssuer*/\n    ) public virtual returns (bool);\n\n    /**\n     * @dev Removes the role for a wallet.\n     * @dev Should not be used to remove MASTER (use setServiceOwner).\n     * @param _address The wallet whose role needs to be removed.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function removeRole(\n        address _address /*onlyMasterOrIssuer*/\n    ) public virtual returns (bool);\n\n    /**\n     * @dev Gets the role for a wallet.\n     * @param _address The wallet whose role needs to be fetched.\n     * @return A boolean that indicates if the operation was successful.\n     */\n    function getRole(address _address) public view virtual returns (uint8);\n\n}\n"},"@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n\n        (bool success, bytes memory returndata) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            _revert(returndata);\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            assembly (\"memory-safe\") {\n                revert(add(returndata, 0x20), mload(returndata))\n            }\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1967.sol)\n\npragma solidity >=0.4.11;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},"contracts/data-stores/TrustServiceDataStore.sol":{"content":"/**\n * Copyright 2025 Securitize Inc. All rights reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npragma solidity 0.8.22;\n\ncontract TrustServiceDataStore {\n    address internal owner;\n    mapping(address account => uint8 role) internal roles;\n    mapping(string entityId => address owner) internal DEPRECATED_entitiesOwners;\n    mapping(address owner => string entityId) internal DEPRECATED_ownersEntities;\n    mapping(address operator => string entityId) internal DEPRECATED_operatorsEntities;\n    mapping(address resource => string entityId) internal DEPRECATED_resourcesEntities;\n\n    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[44] private __gap;\n}\n"},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.21;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This library provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\n */\nlibrary ERC1967Utils {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit IERC1967.Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit IERC1967.BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reinitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Pointer to storage slot. Allows integrators to override it with a custom storage location.\n     *\n     * NOTE: Consider following the ERC-7201 formula to derive storage locations.\n     */\n    function _initializableStorageSlot() internal pure virtual returns (bytes32) {\n        return INITIALIZABLE_STORAGE;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        bytes32 slot = _initializableStorageSlot();\n        assembly {\n            $.slot := slot\n        }\n    }\n}\n"},"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.22;\n\nimport {IERC1822Proxiable} from \"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\nimport {Initializable} from \"./Initializable.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is Initializable, IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    function __UUPSUpgradeable_init() internal onlyInitializing {\n    }\n\n    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC-1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"}},"language":"Solidity","settings":{"optimizer":{"runs":200,"enabled":true},"evmVersion":"paris"}},"stdJsonOutput":{"sources":{"contracts/utils/CommonUtils.sol":{"id":12},"contracts/trust/TrustService.sol":{"id":11},"contracts/trust/IDSTrustService.sol":{"id":10},"@openzeppelin/contracts/utils/Errors.sol":{"id":7},"@openzeppelin/contracts/utils/Address.sol":{"id":6},"@openzeppelin/contracts/utils/StorageSlot.sol":{"id":8},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"id":2},"contracts/data-stores/TrustServiceDataStore.sol":{"id":9},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"id":5},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"id":3},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":4},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"id":0},"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"id":1}},"contracts":{"contracts/trust/TrustService.sol":{"TrustService":{"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"DSTrustServiceRoleAdded","type":"event","inputs":[{"name":"targetAddress","type":"address","indexed":false,"internalType":"address"},{"name":"role","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"sender","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"DSTrustServiceRoleRemoved","type":"event","inputs":[{"name":"targetAddress","type":"address","indexed":false,"internalType":"address"},{"name":"role","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"sender","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"EXCHANGE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"ISSUER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"MASTER","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"NONE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"TRANSFER_AGENT","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"getImplementationAddress","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getInitializedVersion","type":"function","inputs":[],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"name":"getRole","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"removeRole","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"setRole","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"},{"name":"_role","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"setRoles","type":"function","inputs":[{"name":"_addresses","type":"address[]","internalType":"address[]"},{"name":"_roles","type":"uint8[]","internalType":"uint8[]"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"setServiceOwner","type":"function","inputs":[{"name":"_address","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"targetAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"role\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"DSTrustServiceRoleAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"targetAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"role\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"DSTrustServiceRoleRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"EXCHANGE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ISSUER\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MASTER\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NONE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_AGENT\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getImplementationAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInitializedVersion\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getRole\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removeRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"_role\",\"type\":\"uint8\"}],\"name\":\"setRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_addresses\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_roles\",\"type\":\"uint8[]\"}],\"name\":\"setRoles\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setServiceOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"A trust service which allows role-based access control for other contracts.Implements IDSTrustService.\",\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"FailedCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"UUPSUnauthorizedCallContext()\":[{\"details\":\"The call is from an unauthorized context.\"}],\"UUPSUnsupportedProxiableUUID(bytes32)\":[{\"details\":\"The storage `slot` is unsupported as a UUID.\"}]},\"events\":{\"DSTrustServiceRoleAdded(address,uint8,address)\":{\"details\":\"Should be emitted when a role is set for a user.\"},\"DSTrustServiceRoleRemoved(address,uint8,address)\":{\"details\":\"Should be emitted when a role is removed for a user.\"},\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"custom:oz-upgrades-unsafe-allow\":\"constructor\"},\"getImplementationAddress()\":{\"details\":\"returns proxy ERC1967 implementation address\"},\"getInitializedVersion()\":{\"details\":\"Returns the highest version that has been initialized. See {reinitializer}.\"},\"getRole(address)\":{\"details\":\"Gets the role for a wallet.\",\"params\":{\"_address\":\"The wallet whose role needs to be fetched.\"},\"returns\":{\"_0\":\"A boolean that indicates if the operation was successful.\"}},\"proxiableUUID()\":{\"details\":\"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\"},\"removeRole(address)\":{\"details\":\"Removes the role for a wallet.Should not be used to remove MASTER (use setServiceOwner).\",\"params\":{\"_address\":\"The wallet whose role needs to be removed.\"},\"returns\":{\"_0\":\"A boolean that indicates if the operation was successful.\"}},\"setRole(address,uint8)\":{\"details\":\"Sets a role for a wallet.Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\",\"params\":{\"_address\":\"The wallet whose role needs to be set.\",\"_role\":\"The role to be set.\"},\"returns\":{\"_0\":\"A boolean that indicates if the operation was successful.\"}},\"setRoles(address[],uint8[])\":{\"details\":\"Sets roles to an array of walletsShould not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).\",\"params\":{\"_addresses\":\"The array of wallet whose role needs to be set.\",\"_roles\":\"The array of role to be set. Length and order must match wit _addresss\"},\"returns\":{\"_0\":\"A boolean that indicates if the operation was successful.\"}},\"setServiceOwner(address)\":{\"details\":\"Transfers the ownership (MASTER role) of the contract.\",\"params\":{\"_address\":\"The address which the ownership needs to be transferred to.\"},\"returns\":{\"_0\":\"A boolean that indicates if the operation was successful.\"}},\"upgradeToAndCall(address,bytes)\":{\"custom:oz-upgrades-unsafe-allow-reachable\":\"delegatecall\",\"details\":\"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.\"}},\"title\":\"TrustService\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/trust/TrustService.sol\":\"TrustService\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab7b6d5b9e2b88176312967fe0f0e78f3d9a1422fa5e4b64e2440c35869b5d08\",\"dweb:/ipfs/QmXKYWWyzcLg1B2k7Sb1qkEXgLCYfXecR9wYW5obRzWP1Q\"]},\"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\":{\"keccak256\":\"0x574a7451e42724f7de29e2855c392a8a5020acd695169466a18459467d719d63\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5bc189f63b639ee173dd7b6fecc39baf7113bf161776aea22b34c57fdd1872ec\",\"dweb:/ipfs/QmZAf2VtjDLRULqjJkde6LNsxAg12tUqpPqgUQQZbAjgtZ\"]},\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0xbf2aefe54b76d7f7bcd4f6da1080b7b1662611937d870b880db584d09cea56b5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f5e7e2f12e0feec75296e57f51f82fdaa8bd1551f4b8cc6560442c0bf60f818c\",\"dweb:/ipfs/QmcW9wDMaQ8RbQibMarfp17a3bABzY5KraWe2YDwuUrUoz\"]},\"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x82f757819bf2429a0d4db141b99a4bbe5039e4ef86dfb94e2e6d40577ed5b28b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://37c30ed931e19fb71fdb806bb504cfdb9913b7127545001b64d4487783374422\",\"dweb:/ipfs/QmUBHpv4hm3ZmwJ4GH8BeVzK4mv41Q6vBbWXxn8HExPXza\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0xa1ad192cd45317c788618bef5cb1fb3ca4ce8b230f6433ac68cc1d850fb81618\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b43447bb85a53679d269a403c693b9d88d6c74177dfb35eddca63abaf7cf110a\",\"dweb:/ipfs/QmXSDmpd4bNZj1PDgegr6C4w1jDaWHXCconC3rYiw9TSkQ\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0x20462ddb2665e9521372c76b001d0ce196e59dbbd989de9af5576cad0bd5628b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f417fd12aeec8fbfaceaa30e3a08a0724c0bc39de363e2acf6773c897abbaf6d\",\"dweb:/ipfs/QmU4Hko6sApdweVM92CsiuLKkCk8HfyBeutF89PCTz5Tye\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x6d0ae6e206645341fd122d278c2cb643dea260c190531f2f3f6a0426e77b00c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://032d1201d839435be2c85b72e33206b3ea980c569d6ebf7fa57d811ab580a82f\",\"dweb:/ipfs/QmeqQjAtMvdZT2tG7zm39itcRJkuwu8AEReK6WRnLJ18DD\"]},\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"contracts/data-stores/TrustServiceDataStore.sol\":{\"keccak256\":\"0x49c66ef08e31e3745206158802e537fab53051a13f59321616831bae302dadb9\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ff455699441abcee456de54ed5667209e1b8424cafec5305485156142369b35a\",\"dweb:/ipfs/QmfLPcrj2AXok2FF5qxCWK7UBfqzjwB4nUeGWgi5bf5edT\"]},\"contracts/trust/IDSTrustService.sol\":{\"keccak256\":\"0xeb6873df49c0fa79d817ac703465d4f2819ddfc3cd77ad305270c2101f785136\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://fcec4f776fdfa5b9a6060d78e7d8a50521e9d4c8ef289a5d5964dbfd2450bcb6\",\"dweb:/ipfs/QmcoGwD6WqWBEnKAGSx23erAawGK3M2xqdCvWV8XifJcac\"]},\"contracts/trust/TrustService.sol\":{\"keccak256\":\"0x9a1466a52f88dfa42f329e60d628dd6b50c892fc8f3b5ef0fcbfe6a92ab1378f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0b85ec66d08b86cc8d5f1cd023153dcbad7b95e6f2cd8086489277b845dadfa0\",\"dweb:/ipfs/QmVoxiFCmGawuZHCxeaUyJfNrE2sVBBXZBwweHBbw3hfkQ\"]},\"contracts/utils/CommonUtils.sol\":{\"keccak256\":\"0xb4e8316d25f76902ccd344f8336e22a15da939547b681a1193d6072a58ce9308\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7aacf875230d1333848d63f73ddecf4d3fc8cc854f57ff842c836daf992e77bc\",\"dweb:/ipfs/QmXPhogwSYwELQ7DowjTJjpXX4AqGiLUX8REtQ4F7av7YY\"]}},\"version\":1}","userdoc":{"kind":"user","methods":{},"version":1},"devdoc":{"kind":"dev","title":"TrustService","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"DSTrustServiceRoleAdded(address,uint8,address)":{"details":"Should be emitted when a role is set for a user."},"DSTrustServiceRoleRemoved(address,uint8,address)":{"details":"Should be emitted when a role is removed for a user."}},"details":"A trust service which allows role-based access control for other contracts.Implements IDSTrustService.","methods":{"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"proxiableUUID()":{"details":"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"getRole(address)":{"params":{"_address":"The wallet whose role needs to be fetched."},"details":"Gets the role for a wallet.","returns":{"_0":"A boolean that indicates if the operation was successful."}},"removeRole(address)":{"params":{"_address":"The wallet whose role needs to be removed."},"details":"Removes the role for a wallet.Should not be used to remove MASTER (use setServiceOwner).","returns":{"_0":"A boolean that indicates if the operation was successful."}},"setRole(address,uint8)":{"params":{"_role":"The role to be set.","_address":"The wallet whose role needs to be set."},"details":"Sets a role for a wallet.Should not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).","returns":{"_0":"A boolean that indicates if the operation was successful."}},"getInitializedVersion()":{"details":"Returns the highest version that has been initialized. See {reinitializer}."},"setServiceOwner(address)":{"params":{"_address":"The address which the ownership needs to be transferred to."},"details":"Transfers the ownership (MASTER role) of the contract.","returns":{"_0":"A boolean that indicates if the operation was successful."}},"getImplementationAddress()":{"details":"returns proxy ERC1967 implementation address"},"setRoles(address[],uint8[])":{"params":{"_roles":"The array of role to be set. Length and order must match wit _addresss","_addresses":"The array of wallet whose role needs to be set."},"details":"Sets roles to an array of walletsShould not be used for setting MASTER (use setServiceOwner) or role removal (use removeRole).","returns":{"_0":"A boolean that indicates if the operation was successful."}},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"}},"version":1},"storageLayout":{"types":{"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_string_memory_ptr":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_array(t_uint256)44_storage":{"base":"t_uint256","label":"uint256[44]","encoding":"inplace","numberOfBytes":"1408"},"t_mapping(t_address,t_uint8)":{"key":"t_address","label":"mapping(address => uint8)","value":"t_uint8","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_string_storage)":{"key":"t_address","label":"mapping(address => string)","value":"t_string_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_string_memory_ptr,t_address)":{"key":"t_string_memory_ptr","label":"mapping(string => address)","value":"t_address","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":1194,"label":"owner","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"1","type":"t_mapping(t_address,t_uint8)","astId":1198,"label":"roles","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"2","type":"t_mapping(t_string_memory_ptr,t_address)","astId":1202,"label":"DEPRECATED_entitiesOwners","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"3","type":"t_mapping(t_address,t_string_storage)","astId":1206,"label":"DEPRECATED_ownersEntities","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"4","type":"t_mapping(t_address,t_string_storage)","astId":1210,"label":"DEPRECATED_operatorsEntities","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"5","type":"t_mapping(t_address,t_string_storage)","astId":1214,"label":"DEPRECATED_resourcesEntities","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"},{"slot":"6","type":"t_array(t_uint256)44_storage","astId":1219,"label":"__gap","offset":0,"contract":"contracts/trust/TrustService.sol:TrustService"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516113586100fd60003960008181610be501528181610c0e0152610d7f01526113586000f3fe6080604052600436106100f35760003560e01c8063571c3e601161008a578063ad3cb1cc11610059578063ad3cb1cc14610286578063b3c65015146102c4578063b50e44b8146102f2578063e7692ee51461030757600080fd5b8063571c3e60146102275780636a4141d8146102475780638129fc1c1461025c578063835253941461027157600080fd5b8063471aedc2116100c6578063471aedc2146101ba5780634762155d146101cf5780634f1ef286146101ef57806352d1902d1461020457600080fd5b80630cbcae70146100f857806326f2f9cb1461012a5780634339b4211461015a5780634427673314610181575b600080fd5b34801561010457600080fd5b5061010d610327565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013657600080fd5b5061014a610145366004610fe0565b61034d565b6040519015158152602001610121565b34801561016657600080fd5b5061016f600281565b60405160ff9091168152602001610121565b34801561018d57600080fd5b5061016f61019c366004611063565b6001600160a01b031660009081526001602052604090205460ff1690565b3480156101c657600080fd5b5061016f600181565b3480156101db57600080fd5b5061014a6101ea366004611063565b6104f7565b6102026101fd366004611094565b610696565b005b34801561021057600080fd5b506102196106b5565b604051908152602001610121565b34801561023357600080fd5b5061014a610242366004611167565b6106d2565b34801561025357600080fd5b5061016f600881565b34801561026857600080fd5b50610202610851565b34801561027d57600080fd5b5061016f600081565b34801561029257600080fd5b506102b7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161012191906111be565b3480156102d057600080fd5b506102d961098c565b60405167ffffffffffffffff9091168152602001610121565b3480156102fe57600080fd5b5061016f600481565b34801561031357600080fd5b5061014a610322366004611063565b6109c0565b6000610348600080516020611303833981519152546001600160a01b031690565b905090565b33600090815260016020819052604082205460ff16148061038057503360009081526001602052604090205460ff166002145b8061039d57503360009081526001602052604090205460ff166008145b6103c25760405162461bcd60e51b81526004016103b9906111f1565b60405180910390fd5b601e8411156104245760405162461bcd60e51b815260206004820152602860248201527f457863656564656420746865206d6178696d756d206e756d626572206f662061604482015267646472657373657360c01b60648201526084016103b9565b8382146104735760405162461bcd60e51b815260206004820152601a60248201527f57726f6e67206c656e677468206f6620706172616d657465727300000000000060448201526064016103b9565b60005b60ff81168511156104eb576104d886868360ff1681811061049957610499611221565b90506020020160208101906104ae9190611063565b85858460ff168181106104c3576104c3611221565b90506020020160208101906102429190611237565b50806104e381611252565b915050610476565b50600195945050505050565b33600090815260016020819052604082205460ff16148061052a57503360009081526001602052604090205460ff166002145b8061054757503360009081526001602052604090205460ff166008145b6105635760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff9091161461061d576001600160a01b0381166000908152600160205260408082205433835291205460ff9182169116600119016105e75760ff8116600214806105c6575060ff81166004145b6105e25760405162461bcd60e51b81526004016103b99061127f565b61061b565b3360009081526001602052604090205460ff82811691161461061b5760405162461bcd60e51b81526004016103b99061127f565b505b6001600160a01b03831660009081526001602052604090205460ff1660001981016106815760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b6b7bb329036b0b9ba32b960611b60448201526064016103b9565b61068c846000610a90565b5060019392505050565b61069e610bda565b6106a782610c81565b6106b18282610cb7565b5050565b60006106bf610d74565b5060008051602061130383398151915290565b33600090815260016020819052604082205460ff16148061070557503360009081526001602052604090205460ff166002145b8061072257503360009081526001602052604090205460ff166008145b61073e5760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff909116146107e2573360009081526001602052604090205460ff16600119016107ae5760ff81166002148061078d575060ff81166004145b6107a95760405162461bcd60e51b81526004016103b99061127f565b6107e2565b3360009081526001602052604090205460ff8281169116146107e25760405162461bcd60e51b81526004016103b99061127f565b60ff8316600214806107f7575060ff83166004145b80610805575060ff83166008145b6108475760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642074617267657420726f6c6560681b60448201526064016103b9565b61068c8484610a90565b610859610bda565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561089f5750825b905060008267ffffffffffffffff1660011480156108bc5750303b155b9050811580156108ca575080155b156108e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561091257845460ff60401b1916600160401b1785555b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff19169091179055831561098557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b60006103487ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b33600090815260016020819052604082205460ff16146109f25760405162461bcd60e51b81526004016103b9906111f1565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152601d60248201527f4f776e65722063616e206e6f74206265207a65726f206164647265737300000060448201526064016103b9565b60008054610a61916001600160a01b0390911690610a90565b600080546001600160a01b0319166001600160a01b038416179055610a87826001610a90565b5060015b919050565b6001600160a01b03821660009081526001602052604090205460ff16801580610aba575060ff8216155b610b065760405162461bcd60e51b815260206004820152601d60248201527f4e6f2064697265637420726f6c652d746f2d726f6c65206368616e676500000060448201526064016103b9565b6001600160a01b0383166000908152600160205260409020805460ff191660ff848116919091179091558116610b8a57604080516001600160a01b038516815260ff8416602082015233918101919091527f2697af88d2f0a6794bada87955958248eb8cdeb5a15f2fd02ca2ea0ca62752ce906060015b60405180910390a1505050565b604080516001600160a01b038516815260ff8316602082015233918101919091527f2dbc4aa05d692485497a03e4dd3c1943ac72af21831c50458e95403ed774571e90606001610b7d565b505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610c6157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c55600080516020611303833981519152546001600160a01b031690565b6001600160a01b031614155b15610c7f5760405163703e46dd60e11b815260040160405180910390fd5b565b3360009081526001602081905260409091205460ff1614610cb45760405162461bcd60e51b81526004016103b9906111f1565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d11575060408051601f3d908101601f19168201909252610d0e918101906112cd565b60015b610d3957604051634c9c8ce360e01b81526001600160a01b03831660048201526024016103b9565b6000805160206113038339815191528114610d6a57604051632a87526960e21b8152600481018290526024016103b9565b610bd58383610dbd565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c7f5760405163703e46dd60e11b815260040160405180910390fd5b610dc682610e13565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610e0b57610bd58282610e78565b6106b1610eee565b806001600160a01b03163b600003610e4957604051634c9c8ce360e01b81526001600160a01b03821660048201526024016103b9565b60008051602061130383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051610e9591906112e6565b600060405180830381855af49150503d8060008114610ed0576040519150601f19603f3d011682016040523d82523d6000602084013e610ed5565b606091505b5091509150610ee5858383610f0d565b95945050505050565b3415610c7f5760405163b398979f60e01b815260040160405180910390fd5b606082610f2257610f1d82610f6c565b610f65565b8151158015610f3957506001600160a01b0384163b155b15610f6257604051639996b31560e01b81526001600160a01b03851660048201526024016103b9565b50805b9392505050565b805115610f7b57805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b60008083601f840112610fa657600080fd5b50813567ffffffffffffffff811115610fbe57600080fd5b6020830191508360208260051b8501011115610fd957600080fd5b9250929050565b60008060008060408587031215610ff657600080fd5b843567ffffffffffffffff8082111561100e57600080fd5b61101a88838901610f94565b9096509450602087013591508082111561103357600080fd5b5061104087828801610f94565b95989497509550505050565b80356001600160a01b0381168114610a8b57600080fd5b60006020828403121561107557600080fd5b610f658261104c565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156110a757600080fd5b6110b08361104c565b9150602083013567ffffffffffffffff808211156110cd57600080fd5b818501915085601f8301126110e157600080fd5b8135818111156110f3576110f361107e565b604051601f8201601f19908116603f0116810190838211818310171561111b5761111b61107e565b8160405282815288602084870101111561113457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803560ff81168114610a8b57600080fd5b6000806040838503121561117a57600080fd5b6111838361104c565b915061119160208401611156565b90509250929050565b60005b838110156111b557818101518382015260200161119d565b50506000910152565b60208152600082518060208401526111dd81604085016020870161119a565b601f01601f19169190910160400192915050565b6020808252601690820152754e6f7420656e6f756768207065726d697373696f6e7360501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561124957600080fd5b610f6582611156565b600060ff821660ff810361127657634e487b7160e01b600052601160045260246000fd5b60010192915050565b6020808252602e908201527f4e6f7420656e6f756768207065726d697373696f6e732e204f6e6c792073616d60408201526d19481c9bdb1948185b1b1bddd95960921b606082015260800190565b6000602082840312156112df57600080fd5b5051919050565b600082516112f881846020870161119a565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","sourceMap":"1217:6303:11:-:0;;;1171:4:1;1128:48;;1358:53:11;;;;;;;;;-1:-1:-1;1382:22:11;:20;:22::i;:::-;1217:6303;;7709:422:0;3147:66;7898:15;;;;;;;7894:76;;;7936:23;;-1:-1:-1;;;7936:23:0;;;;;;;;;;;7894:76;7983:14;;-1:-1:-1;;;;;7983:14:0;;;:34;7979:146;;8033:33;;-1:-1:-1;;;;;;8033:33:0;-1:-1:-1;;;;;8033:33:0;;;;;8085:29;;158:50:13;;;8085:29:0;;146:2:13;131:18;8085:29:0;;;;;;;7979:146;7758:373;7709:422::o;14:200:13:-;1217:6303:11;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"6080604052600436106100f35760003560e01c8063571c3e601161008a578063ad3cb1cc11610059578063ad3cb1cc14610286578063b3c65015146102c4578063b50e44b8146102f2578063e7692ee51461030757600080fd5b8063571c3e60146102275780636a4141d8146102475780638129fc1c1461025c578063835253941461027157600080fd5b8063471aedc2116100c6578063471aedc2146101ba5780634762155d146101cf5780634f1ef286146101ef57806352d1902d1461020457600080fd5b80630cbcae70146100f857806326f2f9cb1461012a5780634339b4211461015a5780634427673314610181575b600080fd5b34801561010457600080fd5b5061010d610327565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013657600080fd5b5061014a610145366004610fe0565b61034d565b6040519015158152602001610121565b34801561016657600080fd5b5061016f600281565b60405160ff9091168152602001610121565b34801561018d57600080fd5b5061016f61019c366004611063565b6001600160a01b031660009081526001602052604090205460ff1690565b3480156101c657600080fd5b5061016f600181565b3480156101db57600080fd5b5061014a6101ea366004611063565b6104f7565b6102026101fd366004611094565b610696565b005b34801561021057600080fd5b506102196106b5565b604051908152602001610121565b34801561023357600080fd5b5061014a610242366004611167565b6106d2565b34801561025357600080fd5b5061016f600881565b34801561026857600080fd5b50610202610851565b34801561027d57600080fd5b5061016f600081565b34801561029257600080fd5b506102b7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161012191906111be565b3480156102d057600080fd5b506102d961098c565b60405167ffffffffffffffff9091168152602001610121565b3480156102fe57600080fd5b5061016f600481565b34801561031357600080fd5b5061014a610322366004611063565b6109c0565b6000610348600080516020611303833981519152546001600160a01b031690565b905090565b33600090815260016020819052604082205460ff16148061038057503360009081526001602052604090205460ff166002145b8061039d57503360009081526001602052604090205460ff166008145b6103c25760405162461bcd60e51b81526004016103b9906111f1565b60405180910390fd5b601e8411156104245760405162461bcd60e51b815260206004820152602860248201527f457863656564656420746865206d6178696d756d206e756d626572206f662061604482015267646472657373657360c01b60648201526084016103b9565b8382146104735760405162461bcd60e51b815260206004820152601a60248201527f57726f6e67206c656e677468206f6620706172616d657465727300000000000060448201526064016103b9565b60005b60ff81168511156104eb576104d886868360ff1681811061049957610499611221565b90506020020160208101906104ae9190611063565b85858460ff168181106104c3576104c3611221565b90506020020160208101906102429190611237565b50806104e381611252565b915050610476565b50600195945050505050565b33600090815260016020819052604082205460ff16148061052a57503360009081526001602052604090205460ff166002145b8061054757503360009081526001602052604090205460ff166008145b6105635760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff9091161461061d576001600160a01b0381166000908152600160205260408082205433835291205460ff9182169116600119016105e75760ff8116600214806105c6575060ff81166004145b6105e25760405162461bcd60e51b81526004016103b99061127f565b61061b565b3360009081526001602052604090205460ff82811691161461061b5760405162461bcd60e51b81526004016103b99061127f565b505b6001600160a01b03831660009081526001602052604090205460ff1660001981016106815760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b6b7bb329036b0b9ba32b960611b60448201526064016103b9565b61068c846000610a90565b5060019392505050565b61069e610bda565b6106a782610c81565b6106b18282610cb7565b5050565b60006106bf610d74565b5060008051602061130383398151915290565b33600090815260016020819052604082205460ff16148061070557503360009081526001602052604090205460ff166002145b8061072257503360009081526001602052604090205460ff166008145b61073e5760405162461bcd60e51b81526004016103b9906111f1565b33600090815260016020819052604090912054839160ff909116146107e2573360009081526001602052604090205460ff16600119016107ae5760ff81166002148061078d575060ff81166004145b6107a95760405162461bcd60e51b81526004016103b99061127f565b6107e2565b3360009081526001602052604090205460ff8281169116146107e25760405162461bcd60e51b81526004016103b99061127f565b60ff8316600214806107f7575060ff83166004145b80610805575060ff83166008145b6108475760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642074617267657420726f6c6560681b60448201526064016103b9565b61068c8484610a90565b610859610bda565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561089f5750825b905060008267ffffffffffffffff1660011480156108bc5750303b155b9050811580156108ca575080155b156108e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561091257845460ff60401b1916600160401b1785555b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff19169091179055831561098557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b60006103487ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b33600090815260016020819052604082205460ff16146109f25760405162461bcd60e51b81526004016103b9906111f1565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152601d60248201527f4f776e65722063616e206e6f74206265207a65726f206164647265737300000060448201526064016103b9565b60008054610a61916001600160a01b0390911690610a90565b600080546001600160a01b0319166001600160a01b038416179055610a87826001610a90565b5060015b919050565b6001600160a01b03821660009081526001602052604090205460ff16801580610aba575060ff8216155b610b065760405162461bcd60e51b815260206004820152601d60248201527f4e6f2064697265637420726f6c652d746f2d726f6c65206368616e676500000060448201526064016103b9565b6001600160a01b0383166000908152600160205260409020805460ff191660ff848116919091179091558116610b8a57604080516001600160a01b038516815260ff8416602082015233918101919091527f2697af88d2f0a6794bada87955958248eb8cdeb5a15f2fd02ca2ea0ca62752ce906060015b60405180910390a1505050565b604080516001600160a01b038516815260ff8316602082015233918101919091527f2dbc4aa05d692485497a03e4dd3c1943ac72af21831c50458e95403ed774571e90606001610b7d565b505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610c6157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c55600080516020611303833981519152546001600160a01b031690565b6001600160a01b031614155b15610c7f5760405163703e46dd60e11b815260040160405180910390fd5b565b3360009081526001602081905260409091205460ff1614610cb45760405162461bcd60e51b81526004016103b9906111f1565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d11575060408051601f3d908101601f19168201909252610d0e918101906112cd565b60015b610d3957604051634c9c8ce360e01b81526001600160a01b03831660048201526024016103b9565b6000805160206113038339815191528114610d6a57604051632a87526960e21b8152600481018290526024016103b9565b610bd58383610dbd565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c7f5760405163703e46dd60e11b815260040160405180910390fd5b610dc682610e13565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610e0b57610bd58282610e78565b6106b1610eee565b806001600160a01b03163b600003610e4957604051634c9c8ce360e01b81526001600160a01b03821660048201526024016103b9565b60008051602061130383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051610e9591906112e6565b600060405180830381855af49150503d8060008114610ed0576040519150601f19603f3d011682016040523d82523d6000602084013e610ed5565b606091505b5091509150610ee5858383610f0d565b95945050505050565b3415610c7f5760405163b398979f60e01b815260040160405180910390fd5b606082610f2257610f1d82610f6c565b610f65565b8151158015610f3957506001600160a01b0384163b155b15610f6257604051639996b31560e01b81526001600160a01b03851660048201526024016103b9565b50805b9392505050565b805115610f7b57805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b60008083601f840112610fa657600080fd5b50813567ffffffffffffffff811115610fbe57600080fd5b6020830191508360208260051b8501011115610fd957600080fd5b9250929050565b60008060008060408587031215610ff657600080fd5b843567ffffffffffffffff8082111561100e57600080fd5b61101a88838901610f94565b9096509450602087013591508082111561103357600080fd5b5061104087828801610f94565b95989497509550505050565b80356001600160a01b0381168114610a8b57600080fd5b60006020828403121561107557600080fd5b610f658261104c565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156110a757600080fd5b6110b08361104c565b9150602083013567ffffffffffffffff808211156110cd57600080fd5b818501915085601f8301126110e157600080fd5b8135818111156110f3576110f361107e565b604051601f8201601f19908116603f0116810190838211818310171561111b5761111b61107e565b8160405282815288602084870101111561113457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803560ff81168114610a8b57600080fd5b6000806040838503121561117a57600080fd5b6111838361104c565b915061119160208401611156565b90509250929050565b60005b838110156111b557818101518382015260200161119d565b50506000910152565b60208152600082518060208401526111dd81604085016020870161119a565b601f01601f19169190910160400192915050565b6020808252601690820152754e6f7420656e6f756768207065726d697373696f6e7360501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561124957600080fd5b610f6582611156565b600060ff821660ff810361127657634e487b7160e01b600052601160045260246000fd5b60010192915050565b6020808252602e908201527f4e6f7420656e6f756768207065726d697373696f6e732e204f6e6c792073616d60408201526d19481c9bdb1948185b1b1bddd95960921b606082015260800190565b6000602082840312156112df57600080fd5b5051919050565b600082516112f881846020870161119a565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122008bcbdd8659f47e692a9c00d8ce3b44a750108822e1556e23d418c29f7f0ac0864736f6c63430008160033","sourceMap":"1217:6303:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1759:124;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;178:32:13;;;160:51;;148:2;133:18;1759:124:11;;;;;;;;5566:449;;;;;;;;;;-1:-1:-1;5566:449:11;;;;;:::i;:::-;;:::i;:::-;;;1535:14:13;;1528:22;1510:41;;1498:2;1483:18;5566:449:11;1370:187:13;1338:32:10;;;;;;;;;;;;1369:1;1338:32;;;;;1734:4:13;1722:17;;;1704:36;;1692:2;1677:18;1338:32:10;1562:184:13;7406:111:11;;;;;;;;;;-1:-1:-1;7406:111:11;;;;;:::i;:::-;-1:-1:-1;;;;;7495:15:11;7471:5;7495:15;;;:5;:15;;;;;;;;;7406:111;1300:32:10;;;;;;;;;;;;1331:1;1300:32;;6915:298:11;;;;;;;;;;-1:-1:-1;6915:298:11;;;;;:::i;:::-;;:::i;4161:214:1:-;;;;;;:::i;:::-;;:::i;:::-;;3708:134;;;;;;;;;;;;;:::i;:::-;;;3398:25:13;;;3386:2;3371:18;3708:134:1;3252:177:13;6344:306:11;;;;;;;;;;-1:-1:-1;6344:306:11;;;;;:::i;:::-;;:::i;1416:40:10:-;;;;;;;;;;;;1455:1;1416:40;;1417:131:11;;;;;;;;;;;;;:::i;1264:30:10:-;;;;;;;;;;;;1293:1;1264:30;;1819:58:1;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1819:58:1;;;;;;;;;;;;:::i;1993:112:11:-;;;;;;;;;;;;;:::i;:::-;;;4686:18:13;4674:31;;;4656:50;;4644:2;4629:18;1993:112:11;4512:200:13;1376:34:10;;;;;;;;;;;;1409:1;1376:34;;4879:287:11;;;;;;;;;;-1:-1:-1;4879:287:11;;;;;:::i;:::-;;:::i;1759:124::-;1818:7;1844:32;-1:-1:-1;;;;;;;;;;;1519:53:4;-1:-1:-1;;;;;1519:53:4;;1441:138;1844:32:11;1837:39;;1759:124;:::o;5566:449::-;2806:10;5699:4;2800:17;;;1331:1:10;2800:17:11;;;;;;;;:27;:17;:27;;:58;;-1:-1:-1;2837:10:11;2831:17;;;;:5;:17;;;;;;:27;:17;1369:1:10;2831:27:11;2800:58;:97;;;-1:-1:-1;2868:10:11;2862:17;;;;:5;:17;;;;;;:35;:17;1455:1:10;2862:35:11;2800:97;2792:132;;;;-1:-1:-1;;;2792:132:11;;;;;;;:::i;:::-;;;;;;;;;5744:2:::1;5723:23:::0;::::1;;5715:76;;;::::0;-1:-1:-1;;;5715:76:11;;5270:2:13;5715:76:11::1;::::0;::::1;5252:21:13::0;5309:2;5289:18;;;5282:30;5348:34;5328:18;;;5321:62;-1:-1:-1;;;5399:18:13;;;5392:38;5447:19;;5715:76:11::1;5068:404:13::0;5715:76:11::1;5809:34:::0;;::::1;5801:73;;;::::0;-1:-1:-1;;;5801:73:11;;5679:2:13;5801:73:11::1;::::0;::::1;5661:21:13::0;5718:2;5698:18;;;5691:30;5757:28;5737:18;;;5730:56;5803:18;;5801:73:11::1;5477:350:13::0;5801:73:11::1;5889:7;5884:104;5902:21;::::0;::::1;::::0;-1:-1:-1;5884:104:11::1;;;5944:33;5952:10;;5963:1;5952:13;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;5967:6;;5974:1;5967:9;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;5944:33::-;-1:-1:-1::0;5925:3:11;::::1;::::0;::::1;:::i;:::-;;;;5884:104;;;-1:-1:-1::0;6004:4:11::1;::::0;5566:449;-1:-1:-1;;;;;5566:449:11:o;6915:298::-;2806:10;7045:4;2800:17;;;1331:1:10;2800:17:11;;;;;;;;:27;:17;:27;;:58;;-1:-1:-1;2837:10:11;2831:17;;;;:5;:17;;;;;;:27;:17;1369:1:10;2831:27:11;2800:58;:97;;;-1:-1:-1;2868:10:11;2862:17;;;;:5;:17;;;;;;:35;:17;1455:1:10;2862:35:11;2800:97;2792:132;;;;-1:-1:-1;;;2792:132:11;;;;;;;:::i;:::-;3596:10:::1;3590:17;::::0;;;1331:1:10::1;3590:17:11;::::0;;;;;;;;7026:8;;3590:27:::1;:17:::0;;::::1;:27;3586:381;;-1:-1:-1::0;;;;;3646:15:11;::::1;3633:10;3646:15:::0;;;:5:::1;:15;::::0;;;;;;3685:10:::1;3679:17:::0;;;;;3646:15:::1;::::0;;::::1;::::0;3679:17:::1;-1:-1:-1::0;;3679:27:11;3675:282:::1;;3734:14;::::0;::::1;1369:1:10;3734:14:11;::::0;:34:::1;;-1:-1:-1::0;3752:16:11::1;::::0;::::1;1409:1:10;3752:16:11;3734:34;3726:93;;;;-1:-1:-1::0;;;3726:93:11::1;;;;;;;:::i;:::-;3675:282;;;3872:10;3866:17;::::0;;;:5:::1;:17;::::0;;;;;:25:::1;::::0;;::::1;:17:::0;::::1;:25;3858:84;;;;-1:-1:-1::0;;;3858:84:11::1;;;;;;;:::i;:::-;3619:348;3586:381;-1:-1:-1::0;;;;;7074:15:11;::::2;7061:10;7074:15:::0;;;:5:::2;:15;::::0;;;;;::::2;;-1:-1:-1::0;;7107:14:11;;7099:47:::2;;;::::0;-1:-1:-1;;;7099:47:11;;7045:2:13;7099:47:11::2;::::0;::::2;7027:21:13::0;7084:2;7064:18;;;7057:30;-1:-1:-1;;;7103:18:13;;;7096:50;7163:18;;7099:47:11::2;6843:344:13::0;7099:47:11::2;7157:27;7169:8;1293:1:10;7157:11:11;:27::i;:::-;-1:-1:-1::0;7202:4:11::2;::::0;6915:298;-1:-1:-1;;;6915:298:11:o;4161:214:1:-;2655:13;:11;:13::i;:::-;4276:36:::1;4294:17;4276;:36::i;:::-;4322:46;4344:17;4363:4;4322:21;:46::i;:::-;4161:214:::0;;:::o;3708:134::-;3777:7;2926:20;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;;3708:134:1;:::o;6344:306:11:-;2806:10;6471:4;2800:17;;;1331:1:10;2800:17:11;;;;;;;;:27;:17;:27;;:58;;-1:-1:-1;2837:10:11;2831:17;;;;:5;:17;;;;;;:27;:17;1369:1:10;2831:27:11;2800:58;:97;;;-1:-1:-1;2868:10:11;2862:17;;;;:5;:17;;;;;;:35;:17;1455:1:10;2862:35:11;2800:97;2792:132;;;;-1:-1:-1;;;2792:132:11;;;;;;;:::i;:::-;3087:10:::1;3081:17;::::0;;;1331:1:10::1;3081:17:11;::::0;;;;;;;;6455:5;;3081:27:::1;:17:::0;;::::1;:27;3077:342;;3134:10;3128:17;::::0;;;:5:::1;:17;::::0;;;;;:27:::1;:17;-1:-1:-1::0;;3128:27:11;3124:285:::1;;3183:15;::::0;::::1;1369:1:10;3183:15:11;::::0;:36:::1;;-1:-1:-1::0;3202:17:11::1;::::0;::::1;1409:1:10;3202:17:11;3183:36;3175:95;;;;-1:-1:-1::0;;;3175:95:11::1;;;;;;;:::i;:::-;3124:285;;;3323:10;3317:17;::::0;;;:5:::1;:17;::::0;;;;;:26:::1;::::0;;::::1;:17:::0;::::1;:26;3309:85;;;;-1:-1:-1::0;;;3309:85:11::1;;;;;;;:::i;:::-;6495:15:::2;::::0;::::2;1369:1:10;6495:15:11;::::0;:36:::2;;-1:-1:-1::0;6514:17:11::2;::::0;::::2;1409:1:10;6514:17:11;6495:36;:63;;;-1:-1:-1::0;6535:23:11::2;::::0;::::2;1455:1:10;6535:23:11;6495:63;6487:95;;;::::0;-1:-1:-1;;;6487:95:11;;7394:2:13;6487:95:11::2;::::0;::::2;7376:21:13::0;7433:2;7413:18;;;7406:30;-1:-1:-1;;;7452:18:13;;;7445:49;7511:18;;6487:95:11::2;7192:343:13::0;6487:95:11::2;6593:28;6605:8;6615:5;6593:11;:28::i;1417:131::-:0;2655:13:1;:11;:13::i;:::-;3147:66:0;4302:15;;-1:-1:-1;;;4302:15:0;::::1;;;4301:16;::::0;4348:14:::1;;4158:30;4724:16:::0;;:34;::::1;;;;4744:14;4724:34;4704:54;;4768:17;4788:11;:16;;4803:1;4788:16;:50;;;;-1:-1:-1::0;4816:4:0::1;4808:25;:30:::0;4788:50:::1;4768:70;;4854:12;4853:13;:30;;;;;4871:12;4870:13;4853:30;4849:91;;;4906:23;;-1:-1:-1::0;;;4906:23:0::1;;;;;;;;;;;4849:91;4949:18:::0;;-1:-1:-1;;4949:18:0::1;4966:1;4949:18;::::0;;4977:67;::::1;;;5011:22:::0;;-1:-1:-1;;;;5011:22:0::1;-1:-1:-1::0;;;5011:22:0::1;::::0;;4977:67:::1;1487:5:11::2;:18:::0;;-1:-1:-1;;;;;;1487:18:11::2;1495:10;1487:18:::0;;::::2;::::0;;1515:17;;1487:18;1515:17:::2;::::0;;;;;;;:26;;-1:-1:-1;;1515:26:11::2;::::0;;::::2;::::0;;5064:101:0;::::1;;;5098:23:::0;;-1:-1:-1;;;;5098:23:0::1;::::0;;5140:14:::1;::::0;-1:-1:-1;4656:50:13;;5140:14:0::1;::::0;4644:2:13;4629:18;5140:14:0::1;;;;;;;5064:101;4092:1079;;;;;1417:131:11:o:0;1993:112::-;2049:6;2074:24;3147:66:0;8323:39;;;;8241:128;4879:287:11;2251:10;4958:4;2245:17;;;1331:1:10;2245:17:11;;;;;;;;:27;:17;:27;2237:62;;;;-1:-1:-1;;;2237:62:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;4982:22:11;::::1;4974:64;;;::::0;-1:-1:-1;;;4974:64:11;;7956:2:13;4974:64:11::1;::::0;::::1;7938:21:13::0;7995:2;7975:18;;;7968:30;8034:31;8014:18;;;8007:59;8083:18;;4974:64:11::1;7754:353:13::0;4974:64:11::1;5060:5;::::0;;5048:24:::1;::::0;-1:-1:-1;;;;;5060:5:11;;::::1;::::0;5048:11:::1;:24::i;:::-;5082:5;:16:::0;;-1:-1:-1;;;;;;5082:16:11::1;-1:-1:-1::0;;;;;5082:16:11;::::1;;::::0;;5108:29:::1;5082:16:::0;-1:-1:-1;5108:11:11::1;:29::i;:::-;-1:-1:-1::0;5155:4:11::1;2309:1;4879:287:::0;;;:::o;4205:437::-;-1:-1:-1;;;;;4293:15:11;;4276:14;4293:15;;;:5;:15;;;;;;;;4327:16;;;:33;;-1:-1:-1;4347:13:11;;;;4327:33;4319:75;;;;-1:-1:-1;;;4319:75:11;;8314:2:13;4319:75:11;;;8296:21:13;8353:2;8333:18;;;8326:30;8392:31;8372:18;;;8365:59;8441:18;;4319:75:11;8112:353:13;4319:75:11;-1:-1:-1;;;;;4405:15:11;;;;;;:5;:15;;;;;:23;;-1:-1:-1;;4405:23:11;;;;;;;;;;;;4443:16;;4439:197;;4480:52;;;-1:-1:-1;;;;;8724:15:13;;8706:34;;8788:4;8776:17;;8771:2;8756:18;;8749:45;4521:10:11;8810:18:13;;;8803:43;;;;4480:52:11;;8656:2:13;8641:18;4480:52:11;;;;;;;;4266:376;4205:437;;:::o;4439:197::-;4568:57;;;-1:-1:-1;;;;;8724:15:13;;8706:34;;8788:4;8776:17;;8771:2;8756:18;;8749:45;4614:10:11;8810:18:13;;;8803:43;;;;4568:57:11;;8656:2:13;8641:18;4568:57:11;8470:382:13;4439:197:11;4266:376;4205:437;;:::o;4578:312:1:-;4658:4;-1:-1:-1;;;;;4667:6:1;4650:23;;;:120;;;4764:6;-1:-1:-1;;;;;4728:42:1;:32;-1:-1:-1;;;;;;;;;;;1519:53:4;-1:-1:-1;;;;;1519:53:4;;1441:138;4728:32:1;-1:-1:-1;;;;;4728:42:1;;;4650:120;4633:251;;;4844:29;;-1:-1:-1;;;4844:29:1;;;;;;;;;;;4633:251;4578:312::o;1613:67:11:-;2251:10;2245:17;;;;1331:1:10;2245:17:11;;;;;;;;;:27;:17;:27;2237:62;;;;-1:-1:-1;;;2237:62:11;;;;;;;:::i;:::-;1613:67;:::o;6032:538:1:-;6149:17;-1:-1:-1;;;;;6131:50:1;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6131:52:1;;;;;;;;-1:-1:-1;;6131:52:1;;;;;;;;;;;;:::i;:::-;;;6127:437;;6493:60;;-1:-1:-1;;;6493:60:1;;-1:-1:-1;;;;;178:32:13;;6493:60:1;;;160:51:13;133:18;;6493:60:1;14:203:13;6127:437:1;-1:-1:-1;;;;;;;;;;;6225:40:1;;6221:120;;6292:34;;-1:-1:-1;;;6292:34:1;;;;;3398:25:13;;;3371:18;;6292:34:1;3252:177:13;6221:120:1;6354:54;6384:17;6403:4;6354:29;:54::i;5007:213::-;5081:4;-1:-1:-1;;;;;5090:6:1;5073:23;;5069:145;;5174:29;;-1:-1:-1;;;5174:29:1;;;;;;;;;;;2264:344:4;2355:37;2374:17;2355:18;:37::i;:::-;2407:36;;-1:-1:-1;;;;;2407:36:4;;;;;;;;2458:11;;:15;2454:148;;2489:53;2518:17;2537:4;2489:28;:53::i;2454:148::-;2573:18;:16;:18::i;1671:281::-;1748:17;-1:-1:-1;;;;;1748:29:4;;1781:1;1748:34;1744:119;;1805:47;;-1:-1:-1;;;1805:47:4;;-1:-1:-1;;;;;178:32:13;;1805:47:4;;;160:51:13;133:18;;1805:47:4;14:203:13;1744:119:4;-1:-1:-1;;;;;;;;;;;1872:73:4;;-1:-1:-1;;;;;;1872:73:4;-1:-1:-1;;;;;1872:73:4;;;;;;;;;;1671:281::o;3916:253:6:-;3999:12;4024;4038:23;4065:6;-1:-1:-1;;;;;4065:19:6;4085:4;4065:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4023:67;;;;4107:55;4134:6;4142:7;4151:10;4107:26;:55::i;:::-;4100:62;3916:253;-1:-1:-1;;;;;3916:253:6:o;6113:122:4:-;6163:9;:13;6159:70;;6199:19;;-1:-1:-1;;;6199:19:4;;;;;;;;;;;4437:582:6;4581:12;4610:7;4605:408;;4633:19;4641:10;4633:7;:19::i;:::-;4605:408;;;4857:17;;:22;:49;;;;-1:-1:-1;;;;;;4883:18:6;;;:23;4857:49;4853:119;;;4933:24;;-1:-1:-1;;;4933:24:6;;-1:-1:-1;;;;;178:32:13;;4933:24:6;;;160:51:13;133:18;;4933:24:6;14:203:13;4853:119:6;-1:-1:-1;4992:10:6;4605:408;4437:582;;;;;:::o;5559:434::-;5690:17;;:21;5686:301;;5894:10;5888:17;5881:4;5869:10;5865:21;5858:48;5686:301;5957:19;;-1:-1:-1;;;5957:19:6;;;;;;;;;;;222:367:13;285:8;295:6;349:3;342:4;334:6;330:17;326:27;316:55;;367:1;364;357:12;316:55;-1:-1:-1;390:20:13;;433:18;422:30;;419:50;;;465:1;462;455:12;419:50;502:4;494:6;490:17;478:29;;562:3;555:4;545:6;542:1;538:14;530:6;526:27;522:38;519:47;516:67;;;579:1;576;569:12;516:67;222:367;;;;;:::o;594:771::-;714:6;722;730;738;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;847:9;834:23;876:18;917:2;909:6;906:14;903:34;;;933:1;930;923:12;903:34;972:70;1034:7;1025:6;1014:9;1010:22;972:70;:::i;:::-;1061:8;;-1:-1:-1;946:96:13;-1:-1:-1;1149:2:13;1134:18;;1121:32;;-1:-1:-1;1165:16:13;;;1162:36;;;1194:1;1191;1184:12;1162:36;;1233:72;1297:7;1286:8;1275:9;1271:24;1233:72;:::i;:::-;594:771;;;;-1:-1:-1;1324:8:13;-1:-1:-1;;;;594:771:13:o;1751:173::-;1819:20;;-1:-1:-1;;;;;1868:31:13;;1858:42;;1848:70;;1914:1;1911;1904:12;1929:186;1988:6;2041:2;2029:9;2020:7;2016:23;2012:32;2009:52;;;2057:1;2054;2047:12;2009:52;2080:29;2099:9;2080:29;:::i;2120:127::-;2181:10;2176:3;2172:20;2169:1;2162:31;2212:4;2209:1;2202:15;2236:4;2233:1;2226:15;2252:995;2329:6;2337;2390:2;2378:9;2369:7;2365:23;2361:32;2358:52;;;2406:1;2403;2396:12;2358:52;2429:29;2448:9;2429:29;:::i;:::-;2419:39;;2509:2;2498:9;2494:18;2481:32;2532:18;2573:2;2565:6;2562:14;2559:34;;;2589:1;2586;2579:12;2559:34;2627:6;2616:9;2612:22;2602:32;;2672:7;2665:4;2661:2;2657:13;2653:27;2643:55;;2694:1;2691;2684:12;2643:55;2730:2;2717:16;2752:2;2748;2745:10;2742:36;;;2758:18;;:::i;:::-;2833:2;2827:9;2801:2;2887:13;;-1:-1:-1;;2883:22:13;;;2907:2;2879:31;2875:40;2863:53;;;2931:18;;;2951:22;;;2928:46;2925:72;;;2977:18;;:::i;:::-;3017:10;3013:2;3006:22;3052:2;3044:6;3037:18;3092:7;3087:2;3082;3078;3074:11;3070:20;3067:33;3064:53;;;3113:1;3110;3103:12;3064:53;3169:2;3164;3160;3156:11;3151:2;3143:6;3139:15;3126:46;3214:1;3209:2;3204;3196:6;3192:15;3188:24;3181:35;3235:6;3225:16;;;;;;;2252:995;;;;;:::o;3434:156::-;3500:20;;3560:4;3549:16;;3539:27;;3529:55;;3580:1;3577;3570:12;3595:256;3661:6;3669;3722:2;3710:9;3701:7;3697:23;3693:32;3690:52;;;3738:1;3735;3728:12;3690:52;3761:29;3780:9;3761:29;:::i;:::-;3751:39;;3809:36;3841:2;3830:9;3826:18;3809:36;:::i;:::-;3799:46;;3595:256;;;;;:::o;3856:250::-;3941:1;3951:113;3965:6;3962:1;3959:13;3951:113;;;4041:11;;;4035:18;4022:11;;;4015:39;3987:2;3980:10;3951:113;;;-1:-1:-1;;4098:1:13;4080:16;;4073:27;3856:250::o;4111:396::-;4260:2;4249:9;4242:21;4223:4;4292:6;4286:13;4335:6;4330:2;4319:9;4315:18;4308:34;4351:79;4423:6;4418:2;4407:9;4403:18;4398:2;4390:6;4386:15;4351:79;:::i;:::-;4491:2;4470:15;-1:-1:-1;;4466:29:13;4451:45;;;;4498:2;4447:54;;4111:396;-1:-1:-1;;4111:396:13:o;4717:346::-;4919:2;4901:21;;;4958:2;4938:18;;;4931:30;-1:-1:-1;;;4992:2:13;4977:18;;4970:52;5054:2;5039:18;;4717:346::o;5832:127::-;5893:10;5888:3;5884:20;5881:1;5874:31;5924:4;5921:1;5914:15;5948:4;5945:1;5938:15;5964:182;6021:6;6074:2;6062:9;6053:7;6049:23;6045:32;6042:52;;;6090:1;6087;6080:12;6042:52;6113:27;6130:9;6113:27;:::i;6151:272::-;6188:3;6232:4;6225:5;6221:16;6261:4;6252:7;6249:17;6246:140;;6308:10;6303:3;6299:20;6296:1;6289:31;6343:4;6340:1;6333:15;6371:4;6368:1;6361:15;6246:140;6415:1;6402:15;;6151:272;-1:-1:-1;;6151:272:13:o;6428:410::-;6630:2;6612:21;;;6669:2;6649:18;;;6642:30;6708:34;6703:2;6688:18;;6681:62;-1:-1:-1;;;6774:2:13;6759:18;;6752:44;6828:3;6813:19;;6428:410::o;8857:184::-;8927:6;8980:2;8968:9;8959:7;8955:23;8951:32;8948:52;;;8996:1;8993;8986:12;8948:52;-1:-1:-1;9019:16:13;;8857:184;-1:-1:-1;8857:184:13:o;9046:287::-;9175:3;9213:6;9207:13;9229:66;9288:6;9283:3;9276:4;9268:6;9264:17;9229:66;:::i;:::-;9311:16;;;;;9046:287;-1:-1:-1;;9046:287:13:o","linkReferences":{},"immutableReferences":{"287":[{"start":3045,"length":32},{"start":3086,"length":32},{"start":3455,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"EXCHANGE()","signatureHash4":"0xb50e44b8","signatureHash32":"0xb50e44b858645ea857812cd8279bd5c34c9e05647aa5aedb2caccea986dc9c20"},{"signature":"getImplementationAddress()","signatureHash4":"0x0cbcae70","signatureHash32":"0x0cbcae703cbb5622353987af14989187a05d5595b02f5fe74eff2522ecfbe573"},{"signature":"getInitializedVersion()","signatureHash4":"0xb3c65015","signatureHash32":"0xb3c6501575cc52d327e7fa0594e085f910398bcc38e0b7576716266059649711"},{"signature":"getRole(address)","signatureHash4":"0x44276733","signatureHash32":"0x44276733d0e25ca74af40ce2cebf6920fd522f34caf9e361e6330a1d811fc56a"},{"signature":"initialize()","signatureHash4":"0x8129fc1c","signatureHash32":"0x8129fc1cf5a76b8b9d76c7ab5059b1685decddb2380c6e4cebb774b7c17ae83f"},{"signature":"ISSUER()","signatureHash4":"0x4339b421","signatureHash32":"0x4339b421fb6e5bea97d495b2b16ef8dc9a25c0879ba335294883270d73a6bcbd"},{"signature":"MASTER()","signatureHash4":"0x471aedc2","signatureHash32":"0x471aedc2eff7c10a5050ce0723b1538eab44e3aa5fbeec7750d789a3caed137b"},{"signature":"NONE()","signatureHash4":"0x83525394","signatureHash32":"0x835253949104252f970658164a036dbb4834e0e47a627bab07b39d473a426cb4"},{"signature":"proxiableUUID()","signatureHash4":"0x52d1902d","signatureHash32":"0x52d1902ddf94a87b87c42e6ab3aff7da3c30beb57dc65dd86cb2543522a55a4c"},{"signature":"removeRole(address)","signatureHash4":"0x4762155d","signatureHash32":"0x4762155d43feb64bef0abea0c7d38f3ec5b5df7f68947d90a37d65d637645772"},{"signature":"setRole(address,uint8)","signatureHash4":"0x571c3e60","signatureHash32":"0x571c3e60fb5d909ceeb3a0668af0d7bf7fa491780ca5da35113b9b4815bb4a9e"},{"signature":"setRoles(address[],uint8[])","signatureHash4":"0x26f2f9cb","signatureHash32":"0x26f2f9cb60544e76722b2b0b162686ea93e0bf3c5542bc14b77e3e76e4581dcf"},{"signature":"setServiceOwner(address)","signatureHash4":"0xe7692ee5","signatureHash32":"0xe7692ee56969bd3f9e3400f9363e2327c98a971c8156323cf0bd2906af6dd85a"},{"signature":"TRANSFER_AGENT()","signatureHash4":"0x6a4141d8","signatureHash32":"0x6a4141d88b92c1ffa1d363d9f5f03a4f4d7551f116073f8dca9502ed4aa03ca4"},{"signature":"UPGRADE_INTERFACE_VERSION()","signatureHash4":"0xad3cb1cc","signatureHash32":"0xad3cb1cc5c2df3b903ea43f30f77a80ecfeefbed7932a4a8e68c92af99e41dfd"},{"signature":"upgradeToAndCall(address,bytes)","signatureHash4":"0x4f1ef286","signatureHash32":"0x4f1ef2866b98625bdfefae89411f7a82754ac4089eff8e78c8832329a538337f"}],"event":[{"signature":"DSTrustServiceRoleAdded(address,uint8,address)","signatureHash4":"0x2697af88","signatureHash32":"0x2697af88d2f0a6794bada87955958248eb8cdeb5a15f2fd02ca2ea0ca62752ce"},{"signature":"DSTrustServiceRoleRemoved(address,uint8,address)","signatureHash4":"0x2dbc4aa0","signatureHash32":"0x2dbc4aa05d692485497a03e4dd3c1943ac72af21831c50458e95403ed774571e"},{"signature":"Initialized(uint64)","signatureHash4":"0xc7f505b2","signatureHash32":"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"},{"signature":"Upgraded(address)","signatureHash4":"0xbc7cd75a","signatureHash32":"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b"}],"error":[{"signature":"AddressEmptyCode(address)","signatureHash4":"0x9996b315","signatureHash32":"0x9996b315c842ff135b8fc4a08ad5df1c344efbc03d2687aecc0678050d2aac89"},{"signature":"ERC1967InvalidImplementation(address)","signatureHash4":"0x4c9c8ce3","signatureHash32":"0x4c9c8ce3ceb3130f17f7cdba48d89b5b0129f266a8bac114e6e315a41879b617"},{"signature":"ERC1967NonPayable()","signatureHash4":"0xb398979f","signatureHash32":"0xb398979fa84f543c8e222f17890372c487baf85e062276c127fef521eea7224b"},{"signature":"FailedCall()","signatureHash4":"0xd6bda275","signatureHash32":"0xd6bda27508c0fb6d8a39b4b122878dab26f731a7d4e4abe711dd3731899052a4"},{"signature":"InvalidInitialization()","signatureHash4":"0xf92ee8a9","signatureHash32":"0xf92ee8a957075833165f68c320933b1a1294aafc84ee6e0dd3fb178008f9aaf5"},{"signature":"NotInitializing()","signatureHash4":"0xd7e6bcf8","signatureHash32":"0xd7e6bcf8597daa127dc9f0048d2f08d5ef140a2cb659feabd700beff1f7a8302"},{"signature":"UUPSUnauthorizedCallContext()","signatureHash4":"0xe07c8dba","signatureHash32":"0xe07c8dba242a06571ac65fe4bbe20522c9fb111cb33599b799ff8039c1ed18f4"},{"signature":"UUPSUnsupportedProxiableUUID(bytes32)","signatureHash4":"0xaa1d49a4","signatureHash32":"0xaa1d49a4c084bfa9aeeee2a0be65267a7f19ba7e1476b114dac513d2c14cb563"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"1","address":"0xcf5f7CEC13168144B82eF83FdA638E81938c218B"}