1 tx
2 calls
constructor
No constructor.
functions
gaugeVotingAddress
viewfunction gaugeVotingAddress() view returns (address)
getGaugeWeightDetails
viewfunction getGaugeWeightDetails(uint256 _gaugeId) view returns (uint256 gaugeWeight, uint256 gaugeTotalWeight, uint256 gaugeRawPercent, uint256 gaugeInCapPercent, uint256 gaugeTotalInCapPercent, uint256 gaugeInCapWeight, uint256 gaugeTotalInCapWeight, uint256 gaugeFinalPercent)
owner
viewfunction owner() view returns (address)
renounceOwnership
nonpayablefunction renounceOwnership()
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
updateGaugeVotingAddress
nonpayablefunction updateGaugeVotingAddress(address _newAddress)
events
GaugeVotingAddressUpdated
event GaugeVotingAddressUpdated(address indexed sender, address indexed gaugeVotingAddress)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
errors
No errors.
creation bytecode
0x6080806040523461005b5760008054336001600160a01b0319821681178355916001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a361098190816100618239f35b600080fdfe6080604052600436101561001257600080fd5b60003560e01c8063715018a6146107f5578063851967d71461073a5780638da5cb5b146107115780639734e68e146106e8578063d983cd561461012d5763f2fde38b1461005e57600080fd5b34610128576020366003190112610128576004356001600160a01b03818116918290036101285760005490811690610097338314610852565b82156100d4576001600160a01b031916821760009081557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b346101285760203660031901126101285760008060009060018060a01b03600154169060405163b053918760e01b8152600435600482015260c081602481865afa9384156102ff576000916000906000966106be575b50604051906bffffffffffffffffffffffff198160601b1660208301528360348301526034825281606081011067ffffffffffffffff6060840111176106a857606082016040819052631324d03960e31b81526001600160a01b03821660648085019190915260848401869052600060a48501526020919081895afa9182156102ff5760009261066e575b506000975b604051635322004160e11b81526020816004818b5afa9081156102ff5760009161063c575b508910156103425760405163b053918760e01b8152600481018a905260c0816024818b5afa9081156102ff5760009060009261030b575b50604051631324d03960e31b81526001600160a01b0390921660048301526024820152600060448201526020816064818b5afa9081156102ff576000916102cb575b506102bf906102c59261091e565b9861090f565b97610213565b90506020813d6020116102f7575b816102e66020938361089d565b8101031261012857516102c56102b1565b3d91506102d9565b6040513d6000823e3d90fd5b905061032f915060c03d60c01161033b575b610327818361089d565b8101906108d3565b5050925090508b61026f565b503d61031d565b9091869288826402540be4008102046402540be40014831517156104fd57610371846402540be400850261092b565b604051631324d03960e31b81526001600160a01b039093166004840152602483019790975260016044830152602082606481885afa9182156102ff57600092610608575b50816402540be4008102046402540be40014821517156104fd576103e0846402540be400840261092b565b90801580156105ed575b50506000975b604051635322004160e11b81526020816004818a5afa9081156102ff576000916105bb575b508910156105755760405163b053918760e01b8152600481018a90529660c0886024818a5afa9081156102ff5760008099600093610549575b50604051631324d03960e31b81526001600160a01b03909a1660048b015260248a0152600160448a01526020896064818b5afa9889156102ff57600099610513575b508861049b9161091e565b976402540be4008102908082046402540be40014901517156104fd57866104c19161092b565b90801580156104e0575b50506102bf906104da9261091e565b976103f0565b909150620f42408083029283041417156104fd57816102bf6104cb565b634e487b7160e01b600052601160045260246000fd5b9098506020813d602011610541575b8161052f6020938361089d565b8101031261012857519761049b610490565b3d9150610522565b91995050610566915060c03d60c01161033b57610327818361089d565b9b93505092509198918c61044e565b90610100969395508761058f856402540be400860261092b565b95604051978852602088015260408701526060860152608085015260a084015260c083015260e0820152f35b90506020813d6020116105e5575b816105d66020938361089d565b8101031261012857518a610415565b3d91506105c9565b909150620f42408083029283041417156104fd5788806103ea565b9091506020813d602011610634575b816106246020938361089d565b81010312610128575190886103b5565b3d9150610617565b90506020813d602011610666575b816106576020938361089d565b8101031261012857518a610238565b3d915061064a565b9091506020813d6020116106a0575b8161068d6020936060840161089d565b810103126101285760600151908861020e565b3d915061067d565b634e487b7160e01b600052604160045260246000fd5b919550506106db915060c03d60c01161033b57610327818361089d565b9793505092509187610183565b34610128576000366003190112610128576001546040516001600160a01b039091168152602090f35b34610128576000366003190112610128576000546040516001600160a01b039091168152602090f35b34610128576020366003190112610128576004356001600160a01b03818116918290036101285761077090600054163314610852565b80156107b057600180546001600160a01b03191682179055337f1582f7bc4869aa4d7e965fa35c5b05b5936463478b43fb3f8af06f0ade98c3ee600080a3005b60405162461bcd60e51b815260206004820152601b60248201527f616464726573732073686f756c64206e6f7420626520656d70747900000000006044820152606490fd5b3461012857600036600319011261012857600080546001600160a01b03811690610820338314610852565b6001600160a01b03191682557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b1561085957565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff8211176106a857604052565b51906001600160a01b038216820361012857565b91908260c0910312610128578151916108ee602082016108bf565b91604082015191610901606082016108bf565b9160a0608083015192015190565b60001981146104fd5760010190565b919082018092116104fd57565b8115610935570490565b634e487b7160e01b600052601260045260246000fdfea26469706673582212208b922a4c1ce2a6d0157c7b9f7fff6dde4a1898e68746b4ef19dc0e28e3424e9e64736f6c63430008110033