0 txs
9 calls
constructor
constructor()
functions
_deprecated_pool
viewfunction _deprecated_pool() view returns (address)
addressProvider
viewfunction addressProvider() view returns (address)
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
asset
viewfunction asset() view returns (address)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
checkMaxLeverage
viewfunction checkMaxLeverage(uint256 _downPayment, uint256 _total) view
convertToAssets
viewfunction convertToAssets(uint256 shares) view returns (uint256)
convertToShares
viewfunction convertToShares(uint256 assets) view returns (uint256)
decimals
viewfunction decimals() view returns (uint8)
getDepositCap
viewfunction getDepositCap() view returns (uint256)
getPoolAddress
viewfunction getPoolAddress(bool _long) view returns (address)
interestFeeBips
viewfunction interestFeeBips() view returns (uint256)
longPool
viewfunction longPool() view returns (address)
maxDeposit
viewfunction maxDeposit(address) view returns (uint256)
maxMint
viewfunction maxMint(address) view returns (uint256)
maxRedeem
viewfunction maxRedeem(address owner) view returns (uint256)
maxWithdraw
viewfunction maxWithdraw(address owner) view returns (uint256)
name
viewfunction name() view returns (string)
owner
viewfunction owner() view returns (address)
previewDeposit
viewfunction previewDeposit(uint256 assets) view returns (uint256)
previewMint
viewfunction previewMint(uint256 shares) view returns (uint256)
previewRedeem
viewfunction previewRedeem(uint256 shares) view returns (uint256)
previewWithdraw
viewfunction previewWithdraw(uint256 assets) view returns (uint256)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
shortPool
viewfunction shortPool() view returns (address)
strategyDebt
viewfunction strategyDebt(address) view returns (uint256)
symbol
viewfunction symbol() view returns (string)
totalAssets
viewfunction totalAssets() view returns (uint256)
totalAssetValue
viewfunction totalAssetValue() view returns (uint256)
totalSupply
viewfunction totalSupply() view returns (uint256)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
__WasabiVault_init
nonpayablefunction __WasabiVault_init(address _longPool, address _shortPool, address _addressProvider, address _manager, address _asset, string name, string symbol)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
borrow
nonpayablefunction borrow(uint256 _amount)
cleanDust
nonpayablefunction cleanDust()
deposit
nonpayablefunction deposit(uint256 assets, address receiver) returns (uint256)
depositEth
payablefunction depositEth(address receiver) payable returns (uint256)
donate
nonpayablefunction donate(uint256 _amount)
initialize
nonpayablefunction initialize(address _longPool, address _shortPool, address _addressProvider, address _manager, address _asset, string name, string symbol)
mint
nonpayablefunction mint(uint256 shares, address receiver) returns (uint256)
recordRepayment
nonpayablefunction recordRepayment(uint256 _totalRepaid, uint256 _principal, bool _isLiquidation)
redeem
nonpayablefunction redeem(uint256 shares, address receiver, address owner) returns (uint256)
renounceOwnership
nonpayablefunction renounceOwnership()
setDepositCap
nonpayablefunction setDepositCap(uint256 _newDepositCap)
setInterestFeeBips
nonpayablefunction setInterestFeeBips(uint256 _newInterestFeeBips)
setInterestFeeBipsAndTransferOwner
nonpayablefunction setInterestFeeBipsAndTransferOwner(uint256 _newInterestFeeBips, address _newOwner)
strategyClaim
nonpayablefunction strategyClaim(address _strategy)
strategyDeposit
nonpayablefunction strategyDeposit(address _strategy, uint256 _depositAmount)
strategyWithdraw
nonpayablefunction strategyWithdraw(address _strategy, uint256 _withdrawAmount)
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
withdraw
nonpayablefunction withdraw(uint256 assets, address receiver, address owner) returns (uint256)
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
Deposit
event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
DepositCapUpdated
event DepositCapUpdated(uint256 newDepositCap)
Initialized
event Initialized(uint64 version)
InterestFeeBipsUpdated
event InterestFeeBipsUpdated(uint256 newInterestFeeBips)
InterestReceived
event InterestReceived(uint256 interestReceived, uint256 interestFeeShares, address feeReceiver)
NativeYieldClaimed
event NativeYieldClaimed(address token, uint256 amount)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
StrategyClaim
event StrategyClaim(address strategy, address collateral, uint256 amount)
StrategyDeposit
event StrategyDeposit(address strategy, address collateral, uint256 amountDeposited, uint256 collateralReceived)
StrategyWithdraw
event StrategyWithdraw(address strategy, address collateral, uint256 amountWithdraw, uint256 collateralSold)
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
Upgraded
event Upgraded(address indexed implementation)
Withdraw
event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
AlreadyMigrated
error AlreadyMigrated()
AmountExceedsDebt
error AmountExceedsDebt()
CallerNotPool
error CallerNotPool()
CannotClaimNonYieldBearingAsset
error CannotClaimNonYieldBearingAsset(address _asset)
CannotDepositEth
error CannotDepositEth()
ERC1967InvalidImplementation
error ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable
error ERC1967NonPayable()
ERC20InsufficientAllowance
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover
error ERC20InvalidApprover(address approver)
ERC20InvalidReceiver
error ERC20InvalidReceiver(address receiver)
ERC20InvalidSender
error ERC20InvalidSender(address sender)
ERC20InvalidSpender
error ERC20InvalidSpender(address spender)
ERC4626ExceededMaxDeposit
error ERC4626ExceededMaxDeposit(address receiver, uint256 assets, uint256 max)
ERC4626ExceededMaxMint
error ERC4626ExceededMaxMint(address receiver, uint256 shares, uint256 max)
ERC4626ExceededMaxRedeem
error ERC4626ExceededMaxRedeem(address owner, uint256 shares, uint256 max)
ERC4626ExceededMaxWithdraw
error ERC4626ExceededMaxWithdraw(address owner, uint256 assets, uint256 max)
EthTransferFailed
error EthTransferFailed()
FailedInnerCall
error FailedInnerCall()
InsufficientAvailablePrincipal
error InsufficientAvailablePrincipal()
InsufficientPrincipalRepaid
error InsufficientPrincipalRepaid()
InterestFeeTooHigh
error InterestFeeTooHigh()
InvalidAmount
error InvalidAmount()
InvalidEthAmount
error InvalidEthAmount()
InvalidInitialization
error InvalidInitialization()
InvalidStrategy
error InvalidStrategy()
MathOverflowedMulDiv
error MathOverflowedMulDiv()
NoDustToClean
error NoDustToClean()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
PrincipalTooHigh
error PrincipalTooHigh()
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
creation bytecode
0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516137a66100fd60003960008181611cfb01528181611d240152611ec101526137a66000f3fe6080604052600436106103355760003560e01c80638da5cb5b116101ab578063b8fae763116100f7578063d905777e11610095578063e8fe7acf1161006f578063e8fe7acf1461093c578063ef8b30f71461087c578063f14faf6f1461095c578063f2fde38b1461097c57600080fd5b8063d905777e146108dc578063dd62ed3e146108fc578063e42d19dc1461091c57600080fd5b8063c63d75b6116100d1578063c63d75b61461085a578063c6e6f5921461087c578063ce96cb771461089c578063d03d421c146108bc57600080fd5b8063b8fae763146107fa578063ba0876521461081a578063c5ebeaec1461083a57600080fd5b80639c307ca211610164578063ad3cb1cc1161013e578063ad3cb1cc14610776578063ad9d4ba3146107a7578063b3d7f6b9146107ba578063b460af94146107da57600080fd5b80639c307ca214610716578063a9059cbb14610736578063a9e975001461075657600080fd5b80638da5cb5b146106765780638f90ae5a1461068b57806394bf804d146106a157806395d89b41146106c15780639993c7e3146106d65780639b845cdd146106f657600080fd5b80634cdad506116102855780636d8638d41161022357806370a08231116101fd57806370a08231146105f4578063715018a61461061457806380d5785514610629578063866512031461065657600080fd5b80636d8638d4146105945780636e553f65146105b45780636f799ed8146105d457600080fd5b806352d1902d1161025f57806352d1902d1461051f578063571f0910146105345780635a294bc31461055457806369a3a1491461057457600080fd5b80634cdad506146103995780634d9b3509146104f55780634f1ef2861461050c57600080fd5b806318160ddd116102f2578063313ce567116102cc578063313ce5671461048357806338d52e0f146104aa578063397f1133146104bf578063402d267d146104d557600080fd5b806318160ddd1461040957806323b872dd1461042b5780632954018c1461044b57600080fd5b806301a598da1461033a57806301e1d1141461036257806306fdde031461037757806307a2d13a14610399578063095ea7b3146103b95780630a28a477146103e9575b600080fd5b34801561034657600080fd5b5061034f61099c565b6040519081526020015b60405180910390f35b34801561036e57600080fd5b5060015461034f565b34801561038357600080fd5b5061038c6109ab565b6040516103599190612f2b565b3480156103a557600080fd5b5061034f6103b4366004612f5e565b610a6e565b3480156103c557600080fd5b506103d96103d4366004612f8c565b610a81565b6040519015158152602001610359565b3480156103f557600080fd5b5061034f610404366004612f5e565b610a99565b34801561041557600080fd5b506000805160206137118339815191525461034f565b34801561043757600080fd5b506103d9610446366004612fb8565b610aa6565b34801561045757600080fd5b5060025461046b906001600160a01b031681565b6040516001600160a01b039091168152602001610359565b34801561048f57600080fd5b50610498610acc565b60405160ff9091168152602001610359565b3480156104b657600080fd5b5061046b610b10565b3480156104cb57600080fd5b5061034f60065481565b3480156104e157600080fd5b5061034f6104f0366004612ff9565b610b45565b34801561050157600080fd5b5061050a610b84565b005b61050a61051a3660046130a6565b610c5b565b34801561052b57600080fd5b5061034f610c76565b34801561054057600080fd5b5061050a61054f36600461312a565b610c93565b34801561056057600080fd5b5061050a61056f366004612f8c565b610daf565b34801561058057600080fd5b5061050a61058f3660046131f0565b610f6f565b3480156105a057600080fd5b5061050a6105af366004612f5e565b61100d565b3480156105c057600080fd5b5061034f6105cf366004613212565b6110d4565b3480156105e057600080fd5b5061050a6105ef366004612f8c565b611133565b34801561060057600080fd5b5061034f61060f366004612ff9565b611297565b34801561062057600080fd5b5061050a6112bf565b34801561063557600080fd5b5061034f610644366004612ff9565b60056020526000908152604090205481565b34801561066257600080fd5b5061050a610671366004612f5e565b6112d3565b34801561068257600080fd5b5061046b611396565b34801561069757600080fd5b5061034f60015481565b3480156106ad57600080fd5b5061034f6106bc366004613212565b6113bf565b3480156106cd57600080fd5b5061038c6113dd565b3480156106e257600080fd5b5061050a6106f136600461312a565b61141c565b34801561070257600080fd5b5061046b610711366004613250565b611497565b34801561072257600080fd5b5060035461046b906001600160a01b031681565b34801561074257600080fd5b506103d9610751366004612f8c565b6114c0565b34801561076257600080fd5b5061050a610771366004612ff9565b6114ce565b34801561078257600080fd5b5061038c604051806040016040528060058152602001640352e302e360dc1b81525081565b61034f6107b5366004612ff9565b611538565b3480156107c657600080fd5b5061034f6107d5366004612f5e565b61172b565b3480156107e657600080fd5b5061034f6107f536600461326d565b611738565b34801561080657600080fd5b5060045461046b906001600160a01b031681565b34801561082657600080fd5b5061034f61083536600461326d565b611790565b34801561084657600080fd5b5061050a610855366004612f5e565b6117df565b34801561086657600080fd5b5061034f610875366004612ff9565b5060001990565b34801561088857600080fd5b5061034f610897366004612f5e565b611826565b3480156108a857600080fd5b5061034f6108b7366004612ff9565b611833565b3480156108c857600080fd5b5061050a6108d73660046132af565b611848565b3480156108e857600080fd5b5061034f6108f7366004612ff9565b61190c565b34801561090857600080fd5b5061034f6109173660046132dd565b611917565b34801561092857600080fd5b5060005461046b906001600160a01b031681565b34801561094857600080fd5b5061050a610957366004613212565b611961565b34801561096857600080fd5b5061050a610977366004612f5e565b6119cd565b34801561098857600080fd5b5061050a610997366004612ff9565b611ad3565b60006109a6611b0e565b905090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060916000805160206136f1833981519152916109ea9061330b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a169061330b565b8015610a635780601f10610a3857610100808354040283529160200191610a63565b820191906000526020600020905b815481529060010190602001808311610a4657829003601f168201915b505050505091505090565b6000610a7b826000611b48565b92915050565b600033610a8f818585611b90565b5060019392505050565b6000610a7b826001611b9d565b600033610ab4858285611bd5565b610abf858585611c28565b60019150505b9392505050565b6000807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e00905060008154610b0a9190600160a01b900460ff1661335b565b91505090565b6000807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005b546001600160a01b031692915050565b600080610b50611b0e565b90506000198103610b65575060001992915050565b8060015410610b775750600092915050565b600154610ac59082613374565b6067610b8e611c87565b6001600160a01b031663c614384c82336040518363ffffffff1660e01b8152600401610bbb929190613387565b60006040518083038186803b158015610bd357600080fd5b505afa158015610be7573d6000803e3d6000fd5b50505050610c016000805160206137118339815191525490565b158015610c1057506000600154115b15610c3f57600180546000909155610c3b3382610c2b610b10565b6001600160a01b03169190611c91565b5050565b6040516306fc69e760e31b815260040160405180910390fd5b50565b610c63611cf0565b610c6c82611d95565b610c3b8282611df9565b6000610c80611eb6565b5060008051602061373183398151915290565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610cd95750825b905060008267ffffffffffffffff166001148015610cf65750303b155b905081158015610d04575080155b15610d225760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d4c57845460ff60401b1916600160401b1785555b610d5b8c8c8c8c8c8c8c61141c565b8315610da157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b610db7611c87565b604051630935e01b60e21b81523360048201526001600160a01b0391909116906324d7806c9060240160006040518083038186803b158015610df857600080fd5b505afa158015610e0c573d6000803e3d6000fd5b50505050610e1982611eff565b80600003610e3c57506001600160a01b0381166000908152600560205260409020545b6001600160a01b038216600090815260056020526040902054811115610e75576040516364ddcf3760e01b815260040160405180910390fd5b604051632e1a7d4d60e01b81526004810182905260009081906001600160a01b03851690632e1a7d4d9060240160408051808303816000875af1158015610ec0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee491906133aa565b6001600160a01b038616600090815260056020526040812080549395509193508592610f11908490613374565b9091555050604080516001600160a01b03808716825284166020820152908101849052606081018290527fac2d5a3a47c15d35354a9e217defda494d018314f05170b7bfabb20d7807e5af906080015b60405180910390a150505050565b81610f78612085565b6001600160a01b031663ae3302c26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd991906133d8565b610fe391906133f1565b610fee6064836133f1565b1115610c3b576040516335f36d1160e21b815260040160405180910390fd5b6067611017611c87565b6001600160a01b031663c614384c82336040518363ffffffff1660e01b8152600401611044929190613387565b60006040518083038186803b15801561105c57600080fd5b505afa158015611070573d6000803e3d6000fd5b505050506107d082111561109757604051638e395cd160e01b815260040160405180910390fd5b60068290556040518281527f78db22ec39a3a152ce52bed69825ba8367f13dfa30f56079a0e0314d6cb2a1e7906020015b60405180910390a15050565b6000806110e083610b45565b90508084111561111257828482604051633c8097d960e11b815260040161110993929190613408565b60405180910390fd5b600061111d85611826565b905061112b338587846120f3565b949350505050565b61113b611c87565b604051630935e01b60e21b81523360048201526001600160a01b0391909116906324d7806c9060240160006040518083038186803b15801561117c57600080fd5b505afa158015611190573d6000803e3d6000fd5b5050505061119d82611eff565b6111a782826121b3565b6001600160a01b038216600090815260056020526040812080548392906111cf908490613429565b909155505060405163b6b55f2560e01b81526004810182905260009081906001600160a01b0385169063b6b55f259060240160408051808303816000875af115801561121f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124391906133aa565b604080516001600160a01b038089168252841660208201529081018690526060810182905291935091507f1d2b1045a76b2c3ec32fb992dd65aa3ade30353ea512435cfee8259544b06a9890608001610f61565b6001600160a01b031660009081526000805160206136f1833981519152602052604090205490565b6112c761225d565b6112d1600061228f565b565b60676112dd611c87565b6001600160a01b031663c614384c82336040518363ffffffff1660e01b815260040161130a929190613387565b60006040518083038186803b15801561132257600080fd5b505afa158015611336573d6000803e3d6000fd5b50505050816113657f5f64ef5afc66734d661a0e9d6aa10a8d47dcf2c1c681696cce952f8ef911538460001b90565b556040518281527f333b26cca69716ad4680ddb07663f5bfb4f06045671f336af9a83690a3ae00f9906020016110c8565b6000807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300610b35565b600060001960006113cf8561172b565b905061112b338583886120f3565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060916000805160206136f1833981519152916109ea9061330b565b611424612300565b61142e8282612349565b6114378461235b565b6114408361236c565b61144861237d565b61145061238d565b5050600280546001600160a01b03199081166001600160a01b03958616179091556003805482169685169690961790955550506004805490931691161790556103e8600655565b6000816114af576004546001600160a01b0316610a7b565b50506003546001600160a01b031690565b600033610a8f818585611c28565b6114d6611c87565b604051630935e01b60e21b81523360048201526001600160a01b0391909116906324d7806c9060240160006040518083038186803b15801561151757600080fd5b505afa15801561152b573d6000803e3d6000fd5b50505050610c5881611eff565b6000611542612395565b600254604080516311d3da1560e11b815290516000926001600160a01b0316916323a7b42a9160048083019260209291908290030181865afa15801561158c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b0919061343c565b9050806001600160a01b03166115c4610b10565b6001600160a01b0316146115eb57604051632e15428f60e01b815260040160405180910390fd5b34600081900361160e57604051630772327b60e01b815260040160405180910390fd5b600061161985610b45565b90508082111561164257848282604051633c8097d960e11b815260040161110993929190613408565b600061164d83611826565b9050836001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b15801561168a57600080fd5b505af115801561169e573d6000803e3d6000fd5b50505050506116ad86826123cd565b82600160008282546116bf9190613429565b909155505060408051848152602081018390526001600160a01b0388169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a39350505050611726600160008051602061375183398151915255565b919050565b6000610a7b826001611b48565b60008061174483611833565b90508085111561176d57828582604051633fa733bb60e21b815260040161110993929190613408565b600061177886610a99565b90506117873386868985612417565b95945050505050565b60008061179c8361190c565b9050808511156117c557828582604051632e52afbb60e21b815260040161110993929190613408565b60006117d086610a6e565b9050611787338686848a612417565b6004546001600160a01b0316331461181c576003546001600160a01b0316331461181c5760405163e921159760e01b815260040160405180910390fd5b610c5833826121b3565b6000610a7b826000611b9d565b6000610a7b61184183611297565b6000611b48565b6004546001600160a01b03163314611885576003546001600160a01b031633146118855760405163e921159760e01b815260040160405180910390fd5b818310156118d757806118ab5760405163b0f8fc9b60e01b815260040160405180910390fd5b60006118b78484613374565b905080600160008282546118cb9190613374565b90915550611907915050565b60006118e38385613374565b90506118ee816125cc565b80600160008282546119009190613429565b9091555050505b505050565b6000610a7b82611297565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b61196961225d565b6107d082111561198c57604051638e395cd160e01b815260040160405180910390fd5b60068290556040518281527f78db22ec39a3a152ce52bed69825ba8367f13dfa30f56079a0e0314d6cb2a1e79060200160405180910390a1610c3b81611ad3565b60676119d7611c87565b6001600160a01b031663c614384c82336040518363ffffffff1660e01b8152600401611a04929190613387565b60006040518083038186803b158015611a1c57600080fd5b505afa158015611a30573d6000803e3d6000fd5b5050505081600003611a555760405163162908e360e11b815260040160405180910390fd5b611a74333084611a63610b10565b6001600160a01b031692919061266f565b8160016000828254611a869190613429565b909155507f8f721bf293f3e50bca3ef8987b9d6d300867879e600625884397974fa5d1a9279050611ab5610b10565b604080516001600160a01b03909216825260208201859052016110c8565b611adb61225d565b6001600160a01b038116611b0557604051631e4fbdf760e01b815260006004820152602401611109565b610c588161228f565b7f5f64ef5afc66734d661a0e9d6aa10a8d47dcf2c1c681696cce952f8ef9115384546000908015611b3f5780610b0a565b60001991505090565b6000610ac5611b5660015490565b611b61906001613429565b611b6d6000600a613540565b60008051602061371183398151915254611b879190613429565b859190856126a8565b61190783838360016126f7565b6000610ac5611bad82600a613540565b60008051602061371183398151915254611bc79190613429565b600154611b87906001613429565b6000611be18484611917565b90506000198114611c225781811015611c1357828183604051637dc7a0d960e11b815260040161110993929190613408565b611c22848484840360006126f7565b50505050565b6001600160a01b038316611c5257604051634b637e8f60e11b815260006004820152602401611109565b6001600160a01b038216611c7c5760405163ec442f0560e01b815260006004820152602401611109565b6119078383836127de565b60006109a6611396565b6040516001600160a01b0383811660248301526044820183905261190791859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612909565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480611d7757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611d6b600080516020613731833981519152546001600160a01b031690565b6001600160a01b031614155b156112d15760405163703e46dd60e11b815260040160405180910390fd5b611d9d611c87565b604051630935e01b60e21b81523360048201526001600160a01b0391909116906324d7806c9060240160006040518083038186803b158015611dde57600080fd5b505afa158015611df2573d6000803e3d6000fd5b5050505050565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611e53575060408051601f3d908101601f19168201909252611e50918101906133d8565b60015b611e7b57604051634c9c8ce360e01b81526001600160a01b0383166004820152602401611109565b6000805160206137318339815191528114611eac57604051632a87526960e21b815260048101829052602401611109565b611907838361296c565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112d15760405163703e46dd60e11b815260040160405180910390fd5b6001600160a01b0381166000818152600560205260408082205490516260260f60e21b8152919291630180983c91611f3d9160040190815260200190565b602060405180830381865afa158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e91906133d8565b90506000826001600160a01b031663aabaecd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe4919061343c565b90508160016000828254611ff89190613429565b90915550506001600160a01b03831660009081526005602052604081208054849290612025908490613429565b909155506120349050826125cc565b604080516001600160a01b038086168252831660208201529081018390527fd674ffbdd2e1f5f45aac44c22799c2d22817c55bf17da1cf57ca32adf7200c21906060015b60405180910390a1505050565b6002546040805163200110c560e01b815290516000926001600160a01b03169163200110c59160048083019260209291908290030181865afa1580156120cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a6919061343c565b6120fb612395565b811580612106575080155b156121245760405163162908e360e11b815260040160405180910390fd5b612132843084611a63610b10565b61213c83826123cd565b816001600082825461214e9190613429565b909155505060408051838152602081018390526001600160a01b0380861692908716917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a3611c22600160008051602061375183398151915255565b60006121bd610b10565b6040516370a0823160e01b815230600482015290915082906001600160a01b038316906370a0823190602401602060405180830381865afa158015612206573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222a91906133d8565b1015612249576040516341b7706160e11b815260040160405180910390fd5b6119076001600160a01b0382168484611c91565b33612266611396565b6001600160a01b0316146112d15760405163118cdaa760e01b8152336004820152602401611109565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112d157604051631afcd79f60e31b815260040160405180910390fd5b612351612300565b610c3b82826129c2565b612363612300565b610c5881612a13565b612374612300565b610c5881612a1b565b612385612300565b6112d1612a9f565b6112d1612300565b6000805160206137518339815191528054600119016123c757604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b6001600160a01b0382166123f75760405163ec442f0560e01b815260006004820152602401611109565b610c3b600083836127de565b600160008051602061375183398151915255565b61241f612395565b81158061242a575080155b156124485760405163162908e360e11b815260040160405180910390fd5b826001600160a01b0316856001600160a01b0316146124fb57600260009054906101000a90046001600160a01b03166001600160a01b03166398d96aa06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d8919061343c565b6001600160a01b0316856001600160a01b0316146124fb576124fb838683611bd5565b6125058382612aa7565b81600160008282546125179190613374565b909155505060008051602061371183398151915254600003612548576001546125409083613429565b600060015591505b6125558483610c2b610b10565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db85856040516125ad929190918252602082015260400190565b60405180910390a4611df2600160008051602061375183398151915255565b600654158015906125dc57508015155b15610c585760006125eb612add565b905060006126146127106006548561260391906133f1565b61260d9190613565565b6000611b9d565b905080156126265761262682826123cd565b60408051848152602081018390526001600160a01b038416918101919091527f7aac1d760c1303ffd477b8f4cbb620643af0e91b529c76a409d27c385d1dac7a90606001612078565b6040516001600160a01b038481166024830152838116604483015260648201839052611c229186918216906323b872dd90608401611cbe565b6000806126b6868686612b27565b90506126c183612beb565b80156126dd5750600084806126d8576126d861354f565b868809115b15611787576126ed600182613429565b9695505050505050565b6000805160206136f18339815191526001600160a01b0385166127305760405163e602df0560e01b815260006004820152602401611109565b6001600160a01b03841661275a57604051634a1406b160e11b815260006004820152602401611109565b6001600160a01b03808616600090815260018301602090815260408083209388168352929052208390558115611df257836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516127cf91815260200190565b60405180910390a35050505050565b6000805160206136f18339815191526001600160a01b03841661281a578181600201600082825461280f9190613429565b909155506128799050565b6001600160a01b0384166000908152602082905260409020548281101561285a5784818460405163391434e360e21b815260040161110993929190613408565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b0383166128975760028101805483900390556128b6565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128fb91815260200190565b60405180910390a350505050565b600061291e6001600160a01b03841683612c18565b905080516000141580156129435750808060200190518101906129419190613579565b155b1561190757604051635274afe760e01b81526001600160a01b0384166004820152602401611109565b61297582612c26565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a28051156129ba576119078282612c8b565b610c3b612cf8565b6129ca612300565b6000805160206136f18339815191527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612a0484826135dd565b5060048101611c2283826135dd565b611adb612300565b612a23612300565b7f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e00600080612a5084612d17565b9150915081612a60576012612a62565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b612403612300565b6001600160a01b038216612ad157604051634b637e8f60e11b815260006004820152602401611109565b610c3b826000836127de565b60025460408051637451a9c960e11b815290516000926001600160a01b03169163e8a353929160048083019260209291908290030181865afa1580156120cf573d6000803e3d6000fd5b6000838302816000198587098281108382030391505080600003612b5e57838281612b5457612b5461354f565b0492505050610ac5565b808411612b7e5760405163227bc15360e01b815260040160405180910390fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b60006002826003811115612c0157612c0161369c565b612c0b91906136b2565b60ff166001149050919050565b6060610ac583836000612df3565b806001600160a01b03163b600003612c5c57604051634c9c8ce360e01b81526001600160a01b0382166004820152602401611109565b60008051602061373183398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051612ca891906136d4565b600060405180830381855af49150503d8060008114612ce3576040519150601f19603f3d011682016040523d82523d6000602084013e612ce8565b606091505b5091509150611787858383612e82565b34156112d15760405163b398979f60e01b815260040160405180910390fd5b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290516000918291829182916001600160a01b03871691612d5e916136d4565b600060405180830381855afa9150503d8060008114612d99576040519150601f19603f3d011682016040523d82523d6000602084013e612d9e565b606091505b5091509150818015612db257506020815110155b15612de657600081806020019051810190612dcd91906133d8565b905060ff8111612de4576001969095509350505050565b505b5060009485945092505050565b606081471015612e185760405163cd78605960e01b8152306004820152602401611109565b600080856001600160a01b03168486604051612e3491906136d4565b60006040518083038185875af1925050503d8060008114612e71576040519150601f19603f3d011682016040523d82523d6000602084013e612e76565b606091505b50915091506126ed8683835b606082612e9757612e9282612ede565b610ac5565b8151158015612eae57506001600160a01b0384163b155b15612ed757604051639996b31560e01b81526001600160a01b0385166004820152602401611109565b5080610ac5565b805115612eee5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b83811015612f22578181015183820152602001612f0a565b50506000910152565b6020815260008251806020840152612f4a816040850160208701612f07565b601f01601f19169190910160400192915050565b600060208284031215612f7057600080fd5b5035919050565b6001600160a01b0381168114610c5857600080fd5b60008060408385031215612f9f57600080fd5b8235612faa81612f77565b946020939093013593505050565b600080600060608486031215612fcd57600080fd5b8335612fd881612f77565b92506020840135612fe881612f77565b929592945050506040919091013590565b60006020828403121561300b57600080fd5b8135610ac581612f77565b634e487b7160e01b600052604160045260246000fd5b60008067ffffffffffffffff84111561304757613047613016565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561307657613076613016565b60405283815290508082840185101561308e57600080fd5b83836020830137600060208583010152509392505050565b600080604083850312156130b957600080fd5b82356130c481612f77565b9150602083013567ffffffffffffffff8111156130e057600080fd5b8301601f810185136130f157600080fd5b6131008582356020840161302c565b9150509250929050565b600082601f83011261311b57600080fd5b610ac58383356020850161302c565b600080600080600080600060e0888a03121561314557600080fd5b873561315081612f77565b9650602088013561316081612f77565b9550604088013561317081612f77565b9450606088013561318081612f77565b9350608088013561319081612f77565b925060a088013567ffffffffffffffff8111156131ac57600080fd5b6131b88a828b0161310a565b92505060c088013567ffffffffffffffff8111156131d557600080fd5b6131e18a828b0161310a565b91505092959891949750929550565b6000806040838503121561320357600080fd5b50508035926020909101359150565b6000806040838503121561322557600080fd5b82359150602083013561323781612f77565b809150509250929050565b8015158114610c5857600080fd5b60006020828403121561326257600080fd5b8135610ac581613242565b60008060006060848603121561328257600080fd5b83359250602084013561329481612f77565b915060408401356132a481612f77565b809150509250925092565b6000806000606084860312156132c457600080fd5b833592506020840135915060408401356132a481613242565b600080604083850312156132f057600080fd5b82356132fb81612f77565b9150602083013561323781612f77565b600181811c9082168061331f57607f821691505b60208210810361333f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610a7b57610a7b613345565b81810381811115610a7b57610a7b613345565b67ffffffffffffffff9290921682526001600160a01b0316602082015260400190565b600080604083850312156133bd57600080fd5b82516133c881612f77565b6020939093015192949293505050565b6000602082840312156133ea57600080fd5b5051919050565b8082028115828204841417610a7b57610a7b613345565b6001600160a01b039390931683526020830191909152604082015260600190565b80820180821115610a7b57610a7b613345565b60006020828403121561344e57600080fd5b8151610ac581612f77565b6001815b60018411156134945780850481111561347857613478613345565b600184161561348657908102905b60019390931c92800261345d565b935093915050565b6000826134ab57506001610a7b565b816134b857506000610a7b565b81600181146134ce57600281146134d8576134f4565b6001915050610a7b565b60ff8411156134e9576134e9613345565b50506001821b610a7b565b5060208310610133831016604e8410600b8410161715613517575081810a610a7b565b6135246000198484613459565b806000190482111561353857613538613345565b029392505050565b6000610ac560ff84168361349c565b634e487b7160e01b600052601260045260246000fd5b6000826135745761357461354f565b500490565b60006020828403121561358b57600080fd5b8151610ac581613242565b601f82111561190757806000526020600020601f840160051c810160208510156135bd5750805b601f840160051c820191505b81811015611df257600081556001016135c9565b815167ffffffffffffffff8111156135f7576135f7613016565b61360b81613605845461330b565b84613596565b6020601f82116001811461363f57600083156136275750848201515b600019600385901b1c1916600184901b178455611df2565b600084815260208120601f198516915b8281101561366f578785015182556020948501946001909201910161364f565b508482101561368d5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b600052602160045260246000fd5b600060ff8316806136c5576136c561354f565b8060ff84160691505092915050565b600082516136e6818460208701612f07565b919091019291505056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220994e8f67e55eedc07f309794916c7de4e768af9e27585cfb62d60387826017a964736f6c634300081a0033