0 txs
3 calls
constructor
constructor(address _beacon, address _authority)
functions
authority
viewfunction authority() view returns (address)
beacon
viewfunction beacon() view returns (address)
decimals
purefunction decimals() pure returns (uint8)
description
purefunction description() pure returns (string)
getPrice
viewfunction getPrice() view returns (int256 usd, uint256 lastUpdatedAt)
getRoundData
viewfunction getRoundData(uint80) view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)
latestAnswer
viewfunction latestAnswer() view returns (int256)
latestRoundData
viewfunction latestRoundData() view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)
version
purefunction version() pure returns (uint256)
setAuthority
nonpayablefunction setAuthority(address _newAuthority)
setBeacon
nonpayablefunction setBeacon(address _beacon)
setFeeMProjectId
nonpayablefunction setFeeMProjectId(address registry, uint256 projectID)
events
AuthorityUpdated
event AuthorityUpdated(address indexed authority)
BeaconUpdated
event BeaconUpdated(address indexed newBeacon)
Initialized
event Initialized(uint64 version)
errors
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
creation bytecode
0x608060405234801561001057600080fd5b50604051610ac1380380610ac183398101604081905261002f91610155565b61003881610048565b61004182610054565b505061018f565b610051816100f8565b50565b6001600160a01b0381166100ae5760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420626561636f6e206164647265737300000000000000000000604482015260640160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040517fb6c98a2d14fe1d3cc6112a6fab11204e6e526a4e568d000a85f55dac167b948390600090a250565b600080546001600160a01b0319166001600160a01b038316908117825560405190917f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad91a250565b6001600160a01b038116811461005157600080fd5b6000806040838503121561016857600080fd5b825161017381610140565b602084015190925061018481610140565b809150509250929050565b6109238061019e6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80637a9e5e4b11610081578063bf7e214f1161005b578063bf7e214f146101de578063d42afb56146101f1578063feaf968c1461020457600080fd5b80637a9e5e4b1461016457806398d5fdca146101775780639a6fc8f51461019457600080fd5b806354fd4d50116100b257806354fd4d501461011857806359659e901461011f5780637284e4161461014a57600080fd5b80630f93b45e146100d9578063313ce567146100ee57806350d25bcd14610102575b600080fd5b6100ec6100e73660046106ff565b61020c565b005b604051600881526020015b60405180910390f35b61010a610340565b6040519081526020016100f9565b600161010a565b600154610132906001600160a01b031681565b6040516001600160a01b0390911681526020016100f9565b604080516020810182526000815290516100f9919061072b565b6100ec610172366004610797565b610356565b61017f61041a565b604080519283526020830191909152016100f9565b6101a76101a23660046107bb565b6104c8565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a0016100f9565b600054610132906001600160a01b031681565b6100ec6101ff366004610797565b6104ea565b6101a76105ab565b600054604051631c86b03760e31b81523360048201526001600160a01b039091169063e43581b890602401602060405180830381865afa158015610254573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027891906107e7565b6102c95760405162461bcd60e51b815260206004820152600c60248201527f554e415554484f52495a4544000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6040517f1e60fd14000000000000000000000000000000000000000000000000000000008152600481018290526001600160a01b03831690631e60fd1490602401600060405180830381600087803b15801561032457600080fd5b505af1158015610338573d6000803e3d6000fd5b505050505050565b60008061034b6105ab565b509195945050505050565b600054604051631c86b03760e31b81523360048201526001600160a01b039091169063e43581b890602401602060405180830381865afa15801561039e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c291906107e7565b61040e5760405162461bcd60e51b815260206004820152600c60248201527f554e415554484f52495a4544000000000000000000000000000000000000000060448201526064016102c0565b610417816105d2565b50565b6001546040517f078a4245000000000000000000000000000000000000000000000000000000008152670de0b6b3a76400006004820152600091829182916001600160a01b03169063078a424590602401606060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190610809565b935091506104c190506402540be40082610837565b9250509091565b60008060008060006104d86105ab565b939a9299509097509550909350915050565b600054604051631c86b03760e31b81523360048201526001600160a01b039091169063e43581b890602401602060405180830381865afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055691906107e7565b6105a25760405162461bcd60e51b815260206004820152600c60248201527f554e415554484f52495a4544000000000000000000000000000000000000000060448201526064016102c0565b61041781610632565b60008060008060008060006105be61041a565b600099919850965086955088945092505050565b600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316908117825560405190917f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad91a250565b6001600160a01b0381166106885760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420626561636f6e20616464726573730000000000000000000060448201526064016102c0565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517fb6c98a2d14fe1d3cc6112a6fab11204e6e526a4e568d000a85f55dac167b948390600090a250565b6001600160a01b038116811461041757600080fd5b6000806040838503121561071257600080fd5b823561071d816106ea565b946020939093013593505050565b602081526000825180602084015260005b81811015610759576020818601810151604086840101520161073c565b5060006040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b6000602082840312156107a957600080fd5b81356107b4816106ea565b9392505050565b6000602082840312156107cd57600080fd5b813569ffffffffffffffffffff811681146107b457600080fd5b6000602082840312156107f957600080fd5b815180151581146107b457600080fd5b60008060006060848603121561081e57600080fd5b5050815160208301516040909301519094929350919050565b60008261086d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156108e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50059056fea2646970667358221220ab35fcd1160cce39b2e02c7c849e44247cf8c901db5152d73a6d357574e285a764736f6c634300081c00330000000000000000000000006bdd865c63f842aa0d8b5489ad9a4a2c14a84db900000000000000000000000043a38a7ba3417d675b7a78bf026a9cf6fa45417d