vrf_router

package
v2.1.0-mercury-20230509 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VRFRouterABI = VRFRouterMetaData.ABI
View Source
var VRFRouterBin = VRFRouterMetaData.Bin
View Source
var VRFRouterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"CoordinatorAlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CoordinatorNotRegistered\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"route\",\"type\":\"address\"}],\"name\":\"RouteNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedMigrationVersion\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"previousConfigBlockNumber\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"configCount\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"transmitters\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"f\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"onchainConfig\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"offchainConfigVersion\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"offchainConfig\",\"type\":\"bytes\"}],\"name\":\"ConfigSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"CoordinatorDeregistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"CoordinatorRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"aggregatorRoundId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint40\",\"name\":\"epochAndRound\",\"type\":\"uint40\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"transmitter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint192\",\"name\":\"juelsPerFeeCoin\",\"type\":\"uint192\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"reasonableGasPrice\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"}],\"name\":\"NewTransmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"recentBlockHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint192\",\"name\":\"juelsPerFeeCoin\",\"type\":\"uint192\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"reasonableGasPrice\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"height\",\"type\":\"uint64\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confirmationDelay\",\"type\":\"uint24\"},{\"internalType\":\"uint256\",\"name\":\"proofG1X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proofG1Y\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structVRFBeaconTypes.OutputServed[]\",\"name\":\"outputsServed\",\"type\":\"tuple[]\"}],\"name\":\"OutputsServed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"VRFBeaconTypes.RequestID[]\",\"name\":\"requestIDs\",\"type\":\"uint48[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"successfulFulfillment\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes[]\",\"name\":\"truncatedErrorData\",\"type\":\"bytes[]\"}],\"name\":\"RandomWordsFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nextBeaconOutputHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"gasAllowance\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weiPerUnitLink\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"arguments\",\"type\":\"bytes\"}],\"name\":\"RandomnessFulfillmentRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nextBeaconOutputHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"}],\"name\":\"RandomnessRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"RouteSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"NUM_CONF_DELAYS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"gasAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"callWithExactGasEvenIfTargetIsNoContract\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"sufficientGas\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"deregisterCoordinator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCoordinators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"}],\"name\":\"getRoute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"coordinator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"isCoordinatorRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"externalRequestID\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"extraArgs\",\"type\":\"bytes\"}],\"name\":\"redeemRandomness\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"randomness\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"registerCoordinator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"internalType\":\"bytes\",\"name\":\"extraArgs\",\"type\":\"bytes\"}],\"name\":\"requestRandomness\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"arguments\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraArgs\",\"type\":\"bytes\"}],\"name\":\"requestRandomnessFulfillment\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"}],\"name\":\"resetRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"s_redemptionRoutes\",\"outputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"},{\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"}],\"name\":\"setRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"typeAndVersion\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5033806000816100675760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615610097576100978161009f565b505050610148565b336001600160a01b038216036100f75760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640161005e565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6113bf806101576000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80638da5cb5b116100b2578063cef40aa611610081578063db972c8b11610066578063db972c8b14610303578063f2fde38b14610316578063fa66358a1461032957600080fd5b8063cef40aa6146102cd578063d9c4a44d146102f057600080fd5b80638da5cb5b146102625780639479b74e14610287578063acfc6cdd1461029a578063bb9b2b34146102ba57600080fd5b806355fe9763116100ee57806355fe9763146101b85780635d5d8d19146101e25780637612e884146101f757806379ba50971461025a57600080fd5b8063181f5a77146101205780632f7527cc146101685780634b2407d4146101825780634ffac83a14610197575b600080fd5b604080518082018252600f81527f565246526f7574657220312e302e3000000000000000000000000000000000006020820152905161015f9190610e23565b60405180910390f35b610170600881565b60405160ff909116815260200161015f565b610195610190366004610e52565b61033c565b005b6101aa6101a5366004610f49565b610476565b60405190815260200161015f565b6101cb6101c6366004610fb1565b6105a7565b60408051921515835290151560208301520161015f565b6101ea610610565b60405161015f9190611008565b610234610205366004611055565b60056020526000908152604090205465ffffffffffff811690660100000000000090046001600160a01b031682565b6040805165ffffffffffff90931683526001600160a01b0390911660208301520161015f565b610195610621565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b610195610295366004611055565b6106e4565b6102ad6102a836600461106e565b610776565b60405161015f91906110a8565b6101956102c8366004611055565b610881565b6102e06102db366004610e52565b610904565b604051901515815260200161015f565b6101956102fe366004610e52565b610926565b6101aa6103113660046110e0565b61099c565b610195610324366004610e52565b610a3c565b61026f610337366004611055565b610a50565b610344610aca565b61034f600382610b26565b15610386576040517fdcecb7bf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000819050806001600160a01b031663294daa496040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ed9190611189565b60ff16600003610429576040517f6e81684800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610434600383610b4b565b506040516001600160a01b03831681527fb7cabbfc11e66731fc77de0444614282023bcbd41d16781c753a431d0af01625906020015b60405180910390a15050565b60008061048286610a50565b90506000816001600160a01b03166362f8b62033898989896040518663ffffffff1660e01b81526004016104ba9594939291906111ac565b6020604051808303816000875af11580156104d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fd91906111f4565b6040805165ffffffffffff92831660208083018290526001600160a01b039687168385018190528451808503860181526060850180875281519184019190912060a0860187529381526080909401908152600083815260059092529390209151825493519096166601000000000000027fffffffffffff00000000000000000000000000000000000000000000000000009093169590931694909417179092555095945050505050565b600080336105b6600382610b26565b6105d3576040516301fd70a160e51b815260040160405180910390fd5b5a611388811061060657611388810390508660408204820311156106065760008086516020880160008a8cf19350600192505b5050935093915050565b606061061c6003610b60565b905090565b6001546001600160a01b031633146106805760405162461bcd60e51b815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b600080543373ffffffffffffffffffffffffffffffffffffffff19808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b336106f0600382610b26565b61070d576040516301fd70a160e51b815260040160405180910390fd5b600082815260026020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff191633908117909155915191825283917fd8bb190f51a471c0cc88b5df464ee10c29138cce0d70fb36c472d60b414f3b3a91015b60405180910390a25050565b600082815260056020818152604080842081518083018352815465ffffffffffff811682526001600160a01b03660100000000000082048116838701908152978a9052959094527fffffffffffff000000000000000000000000000000000000000000000000000090931690559251815193517fabbf1c9b000000000000000000000000000000000000000000000000000000008152606094929391929183169163abbf1c9b916108309133918b91908a9060040161121c565b6000604051808303816000875af115801561084f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108779190810190611252565b9695505050505050565b3361088d600382610b26565b6108aa576040516301fd70a160e51b815260040160405180910390fd5b6000828152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff191690555191825283917fd8bb190f51a471c0cc88b5df464ee10c29138cce0d70fb36c472d60b414f3b3a910161076a565b6000610911600383610b26565b1561091e57506001919050565b506000919050565b61092e610aca565b8061093a600382610b26565b610957576040516301fd70a160e51b815260040160405180910390fd5b610962600383610b6d565b506040516001600160a01b03831681527ff80a1a97fd42251f3c33cda98635e7399253033a6774fe37cd3f650b5282af379060200161046a565b6000806109a888610a50565b90506000816001600160a01b03166395009f08338b8b8b8b8b8b6040518863ffffffff1660e01b81526004016109e497969594939291906112f8565b6020604051808303816000875af1158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2791906111f4565b65ffffffffffff169998505050505050505050565b610a44610aca565b610a4d81610b82565b50565b6000818152600260205260408120546001600160a01b031680610a91576040516339910a6760e01b81526001600160a01b0382166004820152602401610677565b610a9c600382610b26565b610ac4576040516339910a6760e01b81526001600160a01b0382166004820152602401610677565b92915050565b6000546001600160a01b03163314610b245760405162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610677565b565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000610b44836001600160a01b038416610c38565b60606000610b4483610c87565b6000610b44836001600160a01b038416610ce3565b336001600160a01b03821603610bda5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610677565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6000818152600183016020526040812054610c7f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610ac4565b506000610ac4565b606081600001805480602002602001604051908101604052809291908181526020018280548015610cd757602002820191906000526020600020905b815481526020019060010190808311610cc3575b50505050509050919050565b60008181526001830160205260408120548015610dcc576000610d07600183611361565b8554909150600090610d1b90600190611361565b9050818114610d80576000866000018281548110610d3b57610d3b611386565b9060005260206000200154905080876000018481548110610d5e57610d5e611386565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610d9157610d9161139c565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610ac4565b6000915050610ac4565b6000815180845260005b81811015610dfc57602081850181015186830182015201610de0565b81811115610e0e576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610b446020830184610dd6565b80356001600160a01b0381168114610e4d57600080fd5b919050565b600060208284031215610e6457600080fd5b610b4482610e36565b803561ffff81168114610e4d57600080fd5b803562ffffff81168114610e4d57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610ed157610ed1610e92565b604052919050565b600082601f830112610eea57600080fd5b813567ffffffffffffffff811115610f0457610f04610e92565b610f17601f8201601f1916602001610ea8565b818152846020838601011115610f2c57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215610f5f57600080fd5b84359350610f6f60208601610e6d565b9250610f7d60408601610e7f565b9150606085013567ffffffffffffffff811115610f9957600080fd5b610fa587828801610ed9565b91505092959194509250565b600080600060608486031215610fc657600080fd5b83359250610fd660208501610e36565b9150604084013567ffffffffffffffff811115610ff257600080fd5b610ffe86828701610ed9565b9150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156110495783516001600160a01b031683529284019291840191600101611024565b50909695505050505050565b60006020828403121561106757600080fd5b5035919050565b60008060006060848603121561108357600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610ff257600080fd5b6020808252825182820181905260009190848201906040850190845b81811015611049578351835292840192918401916001016110c4565b60008060008060008060c087890312156110f957600080fd5b8635955061110960208801610e6d565b945061111760408801610e7f565b9350606087013563ffffffff8116811461113057600080fd5b9250608087013567ffffffffffffffff8082111561114d57600080fd5b6111598a838b01610ed9565b935060a089013591508082111561116f57600080fd5b5061117c89828a01610ed9565b9150509295509295509295565b60006020828403121561119b57600080fd5b815160ff81168114610b4457600080fd5b6001600160a01b038616815284602082015261ffff8416604082015262ffffff8316606082015260a0608082015260006111e960a0830184610dd6565b979650505050505050565b60006020828403121561120657600080fd5b815165ffffffffffff81168114610b4457600080fd5b6001600160a01b038516815283602082015265ffffffffffff831660408201526080606082015260006108776080830184610dd6565b6000602080838503121561126557600080fd5b825167ffffffffffffffff8082111561127d57600080fd5b818501915085601f83011261129157600080fd5b8151818111156112a3576112a3610e92565b8060051b91506112b4848301610ea8565b81815291830184019184810190888411156112ce57600080fd5b938501935b838510156112ec578451825293850193908501906112d3565b98975050505050505050565b6001600160a01b038816815286602082015261ffff8616604082015262ffffff8516606082015263ffffffff8416608082015260e060a0820152600061134160e0830185610dd6565b82810360c08401526113538185610dd6565b9a9950505050505050505050565b60008282101561138157634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea164736f6c634300080f000a",
}

Functions

This section is empty.

Types

type SRedemptionRoutes

type SRedemptionRoutes struct {
	RequestID          *big.Int
	CoordinatorAddress common.Address
}

type VRFBeaconTypesOutputServed

type VRFBeaconTypesOutputServed struct {
	Height            uint64
	ConfirmationDelay *big.Int
	ProofG1X          *big.Int
	ProofG1Y          *big.Int
}

type VRFRouter

type VRFRouter struct {
	VRFRouterCaller
	VRFRouterTransactor
	VRFRouterFilterer
	// contains filtered or unexported fields
}

func NewVRFRouter

func NewVRFRouter(address common.Address, backend bind.ContractBackend) (*VRFRouter, error)

func (*VRFRouter) Address

func (_VRFRouter *VRFRouter) Address() common.Address

func (*VRFRouter) ParseLog

func (_VRFRouter *VRFRouter) ParseLog(log types.Log) (generated.AbigenLog, error)

type VRFRouterCaller

type VRFRouterCaller struct {
	// contains filtered or unexported fields
}

func NewVRFRouterCaller

func NewVRFRouterCaller(address common.Address, caller bind.ContractCaller) (*VRFRouterCaller, error)

func (*VRFRouterCaller) GetCoordinators

func (_VRFRouter *VRFRouterCaller) GetCoordinators(opts *bind.CallOpts) ([]common.Address, error)

func (*VRFRouterCaller) GetRoute

func (_VRFRouter *VRFRouterCaller) GetRoute(opts *bind.CallOpts, subID *big.Int) (common.Address, error)

func (*VRFRouterCaller) IsCoordinatorRegistered

func (_VRFRouter *VRFRouterCaller) IsCoordinatorRegistered(opts *bind.CallOpts, coordinatorAddress common.Address) (bool, error)

func (*VRFRouterCaller) NUMCONFDELAYS

func (_VRFRouter *VRFRouterCaller) NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error)

func (*VRFRouterCaller) Owner

func (_VRFRouter *VRFRouterCaller) Owner(opts *bind.CallOpts) (common.Address, error)

func (*VRFRouterCaller) SRedemptionRoutes added in v2.2.0

func (_VRFRouter *VRFRouterCaller) SRedemptionRoutes(opts *bind.CallOpts, arg0 *big.Int) (SRedemptionRoutes,

	error)

func (*VRFRouterCaller) TypeAndVersion

func (_VRFRouter *VRFRouterCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)

type VRFRouterCallerRaw

type VRFRouterCallerRaw struct {
	Contract *VRFRouterCaller
}

func (*VRFRouterCallerRaw) Call

func (_VRFRouter *VRFRouterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type VRFRouterCallerSession

type VRFRouterCallerSession struct {
	Contract *VRFRouterCaller
	CallOpts bind.CallOpts
}

func (*VRFRouterCallerSession) GetCoordinators

func (_VRFRouter *VRFRouterCallerSession) GetCoordinators() ([]common.Address, error)

func (*VRFRouterCallerSession) GetRoute

func (_VRFRouter *VRFRouterCallerSession) GetRoute(subID *big.Int) (common.Address, error)

func (*VRFRouterCallerSession) IsCoordinatorRegistered

func (_VRFRouter *VRFRouterCallerSession) IsCoordinatorRegistered(coordinatorAddress common.Address) (bool, error)

func (*VRFRouterCallerSession) NUMCONFDELAYS

func (_VRFRouter *VRFRouterCallerSession) NUMCONFDELAYS() (uint8, error)

func (*VRFRouterCallerSession) Owner

func (_VRFRouter *VRFRouterCallerSession) Owner() (common.Address, error)

func (*VRFRouterCallerSession) SRedemptionRoutes added in v2.2.0

func (_VRFRouter *VRFRouterCallerSession) SRedemptionRoutes(arg0 *big.Int) (SRedemptionRoutes,

	error)

func (*VRFRouterCallerSession) TypeAndVersion

func (_VRFRouter *VRFRouterCallerSession) TypeAndVersion() (string, error)

type VRFRouterConfigSet

type VRFRouterConfigSet struct {
	PreviousConfigBlockNumber uint32
	ConfigDigest              [32]byte
	ConfigCount               uint64
	Signers                   []common.Address
	Transmitters              []common.Address
	F                         uint8
	OnchainConfig             []byte
	OffchainConfigVersion     uint64
	OffchainConfig            []byte
	Raw                       types.Log
}

func (VRFRouterConfigSet) Topic

func (VRFRouterConfigSet) Topic() common.Hash

type VRFRouterConfigSetIterator

type VRFRouterConfigSetIterator struct {
	Event *VRFRouterConfigSet
	// contains filtered or unexported fields
}

func (*VRFRouterConfigSetIterator) Close

func (it *VRFRouterConfigSetIterator) Close() error

func (*VRFRouterConfigSetIterator) Error

func (it *VRFRouterConfigSetIterator) Error() error

func (*VRFRouterConfigSetIterator) Next

func (it *VRFRouterConfigSetIterator) Next() bool

type VRFRouterCoordinatorDeregistered

type VRFRouterCoordinatorDeregistered struct {
	CoordinatorAddress common.Address
	Raw                types.Log
}

func (VRFRouterCoordinatorDeregistered) Topic

type VRFRouterCoordinatorDeregisteredIterator

type VRFRouterCoordinatorDeregisteredIterator struct {
	Event *VRFRouterCoordinatorDeregistered
	// contains filtered or unexported fields
}

func (*VRFRouterCoordinatorDeregisteredIterator) Close

func (*VRFRouterCoordinatorDeregisteredIterator) Error

func (*VRFRouterCoordinatorDeregisteredIterator) Next

type VRFRouterCoordinatorRegistered

type VRFRouterCoordinatorRegistered struct {
	CoordinatorAddress common.Address
	Raw                types.Log
}

func (VRFRouterCoordinatorRegistered) Topic

type VRFRouterCoordinatorRegisteredIterator

type VRFRouterCoordinatorRegisteredIterator struct {
	Event *VRFRouterCoordinatorRegistered
	// contains filtered or unexported fields
}

func (*VRFRouterCoordinatorRegisteredIterator) Close

func (*VRFRouterCoordinatorRegisteredIterator) Error

func (*VRFRouterCoordinatorRegisteredIterator) Next

type VRFRouterFilterer

type VRFRouterFilterer struct {
	// contains filtered or unexported fields
}

func NewVRFRouterFilterer

func NewVRFRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFRouterFilterer, error)

func (*VRFRouterFilterer) FilterConfigSet

func (_VRFRouter *VRFRouterFilterer) FilterConfigSet(opts *bind.FilterOpts) (*VRFRouterConfigSetIterator, error)

func (*VRFRouterFilterer) FilterCoordinatorDeregistered

func (_VRFRouter *VRFRouterFilterer) FilterCoordinatorDeregistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorDeregisteredIterator, error)

func (*VRFRouterFilterer) FilterCoordinatorRegistered

func (_VRFRouter *VRFRouterFilterer) FilterCoordinatorRegistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorRegisteredIterator, error)

func (*VRFRouterFilterer) FilterNewTransmission

func (_VRFRouter *VRFRouterFilterer) FilterNewTransmission(opts *bind.FilterOpts, aggregatorRoundId []uint32, epochAndRound []*big.Int) (*VRFRouterNewTransmissionIterator, error)

func (*VRFRouterFilterer) FilterOutputsServed

func (_VRFRouter *VRFRouterFilterer) FilterOutputsServed(opts *bind.FilterOpts) (*VRFRouterOutputsServedIterator, error)

func (*VRFRouterFilterer) FilterOwnershipTransferRequested

func (_VRFRouter *VRFRouterFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferRequestedIterator, error)

func (*VRFRouterFilterer) FilterOwnershipTransferred

func (_VRFRouter *VRFRouterFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferredIterator, error)

func (*VRFRouterFilterer) FilterRandomWordsFulfilled

func (_VRFRouter *VRFRouterFilterer) FilterRandomWordsFulfilled(opts *bind.FilterOpts) (*VRFRouterRandomWordsFulfilledIterator, error)

func (*VRFRouterFilterer) FilterRandomnessFulfillmentRequested

func (_VRFRouter *VRFRouterFilterer) FilterRandomnessFulfillmentRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessFulfillmentRequestedIterator, error)

func (*VRFRouterFilterer) FilterRandomnessRequested

func (_VRFRouter *VRFRouterFilterer) FilterRandomnessRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessRequestedIterator, error)

func (*VRFRouterFilterer) FilterRouteSet

func (_VRFRouter *VRFRouterFilterer) FilterRouteSet(opts *bind.FilterOpts, subID []*big.Int) (*VRFRouterRouteSetIterator, error)

func (*VRFRouterFilterer) ParseConfigSet

func (_VRFRouter *VRFRouterFilterer) ParseConfigSet(log types.Log) (*VRFRouterConfigSet, error)

func (*VRFRouterFilterer) ParseCoordinatorDeregistered

func (_VRFRouter *VRFRouterFilterer) ParseCoordinatorDeregistered(log types.Log) (*VRFRouterCoordinatorDeregistered, error)

func (*VRFRouterFilterer) ParseCoordinatorRegistered

func (_VRFRouter *VRFRouterFilterer) ParseCoordinatorRegistered(log types.Log) (*VRFRouterCoordinatorRegistered, error)

func (*VRFRouterFilterer) ParseNewTransmission

func (_VRFRouter *VRFRouterFilterer) ParseNewTransmission(log types.Log) (*VRFRouterNewTransmission, error)

func (*VRFRouterFilterer) ParseOutputsServed

func (_VRFRouter *VRFRouterFilterer) ParseOutputsServed(log types.Log) (*VRFRouterOutputsServed, error)

func (*VRFRouterFilterer) ParseOwnershipTransferRequested

func (_VRFRouter *VRFRouterFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFRouterOwnershipTransferRequested, error)

func (*VRFRouterFilterer) ParseOwnershipTransferred

func (_VRFRouter *VRFRouterFilterer) ParseOwnershipTransferred(log types.Log) (*VRFRouterOwnershipTransferred, error)

func (*VRFRouterFilterer) ParseRandomWordsFulfilled

func (_VRFRouter *VRFRouterFilterer) ParseRandomWordsFulfilled(log types.Log) (*VRFRouterRandomWordsFulfilled, error)

func (*VRFRouterFilterer) ParseRandomnessFulfillmentRequested

func (_VRFRouter *VRFRouterFilterer) ParseRandomnessFulfillmentRequested(log types.Log) (*VRFRouterRandomnessFulfillmentRequested, error)

func (*VRFRouterFilterer) ParseRandomnessRequested

func (_VRFRouter *VRFRouterFilterer) ParseRandomnessRequested(log types.Log) (*VRFRouterRandomnessRequested, error)

func (*VRFRouterFilterer) ParseRouteSet

func (_VRFRouter *VRFRouterFilterer) ParseRouteSet(log types.Log) (*VRFRouterRouteSet, error)

func (*VRFRouterFilterer) WatchConfigSet

func (_VRFRouter *VRFRouterFilterer) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *VRFRouterConfigSet) (event.Subscription, error)

func (*VRFRouterFilterer) WatchCoordinatorDeregistered

func (_VRFRouter *VRFRouterFilterer) WatchCoordinatorDeregistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorDeregistered) (event.Subscription, error)

func (*VRFRouterFilterer) WatchCoordinatorRegistered

func (_VRFRouter *VRFRouterFilterer) WatchCoordinatorRegistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorRegistered) (event.Subscription, error)

func (*VRFRouterFilterer) WatchNewTransmission

func (_VRFRouter *VRFRouterFilterer) WatchNewTransmission(opts *bind.WatchOpts, sink chan<- *VRFRouterNewTransmission, aggregatorRoundId []uint32, epochAndRound []*big.Int) (event.Subscription, error)

func (*VRFRouterFilterer) WatchOutputsServed

func (_VRFRouter *VRFRouterFilterer) WatchOutputsServed(opts *bind.WatchOpts, sink chan<- *VRFRouterOutputsServed) (event.Subscription, error)

func (*VRFRouterFilterer) WatchOwnershipTransferRequested

func (_VRFRouter *VRFRouterFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchOwnershipTransferred

func (_VRFRouter *VRFRouterFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRandomWordsFulfilled

func (_VRFRouter *VRFRouterFilterer) WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomWordsFulfilled) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRandomnessFulfillmentRequested

func (_VRFRouter *VRFRouterFilterer) WatchRandomnessFulfillmentRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessFulfillmentRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRandomnessRequested

func (_VRFRouter *VRFRouterFilterer) WatchRandomnessRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRouteSet

func (_VRFRouter *VRFRouterFilterer) WatchRouteSet(opts *bind.WatchOpts, sink chan<- *VRFRouterRouteSet, subID []*big.Int) (event.Subscription, error)

type VRFRouterInterface

type VRFRouterInterface interface {
	NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error)

	GetCoordinators(opts *bind.CallOpts) ([]common.Address, error)

	GetRoute(opts *bind.CallOpts, subID *big.Int) (common.Address, error)

	IsCoordinatorRegistered(opts *bind.CallOpts, coordinatorAddress common.Address) (bool, error)

	Owner(opts *bind.CallOpts) (common.Address, error)

	SRedemptionRoutes(opts *bind.CallOpts, arg0 *big.Int) (SRedemptionRoutes,

		error)

	TypeAndVersion(opts *bind.CallOpts) (string, error)

	AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

	CallWithExactGasEvenIfTargetIsNoContract(opts *bind.TransactOpts, gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

	DeregisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

	RedeemRandomness(opts *bind.TransactOpts, subID *big.Int, externalRequestID *big.Int, extraArgs []byte) (*types.Transaction, error)

	RegisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

	RequestRandomness(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

	RequestRandomnessFulfillment(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

	ResetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

	SetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

	TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

	FilterConfigSet(opts *bind.FilterOpts) (*VRFRouterConfigSetIterator, error)

	WatchConfigSet(opts *bind.WatchOpts, sink chan<- *VRFRouterConfigSet) (event.Subscription, error)

	ParseConfigSet(log types.Log) (*VRFRouterConfigSet, error)

	FilterCoordinatorDeregistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorDeregisteredIterator, error)

	WatchCoordinatorDeregistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorDeregistered) (event.Subscription, error)

	ParseCoordinatorDeregistered(log types.Log) (*VRFRouterCoordinatorDeregistered, error)

	FilterCoordinatorRegistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorRegisteredIterator, error)

	WatchCoordinatorRegistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorRegistered) (event.Subscription, error)

	ParseCoordinatorRegistered(log types.Log) (*VRFRouterCoordinatorRegistered, error)

	FilterNewTransmission(opts *bind.FilterOpts, aggregatorRoundId []uint32, epochAndRound []*big.Int) (*VRFRouterNewTransmissionIterator, error)

	WatchNewTransmission(opts *bind.WatchOpts, sink chan<- *VRFRouterNewTransmission, aggregatorRoundId []uint32, epochAndRound []*big.Int) (event.Subscription, error)

	ParseNewTransmission(log types.Log) (*VRFRouterNewTransmission, error)

	FilterOutputsServed(opts *bind.FilterOpts) (*VRFRouterOutputsServedIterator, error)

	WatchOutputsServed(opts *bind.WatchOpts, sink chan<- *VRFRouterOutputsServed) (event.Subscription, error)

	ParseOutputsServed(log types.Log) (*VRFRouterOutputsServed, error)

	FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferRequestedIterator, error)

	WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferRequested(log types.Log) (*VRFRouterOwnershipTransferRequested, error)

	FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferredIterator, error)

	WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferred(log types.Log) (*VRFRouterOwnershipTransferred, error)

	FilterRandomWordsFulfilled(opts *bind.FilterOpts) (*VRFRouterRandomWordsFulfilledIterator, error)

	WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomWordsFulfilled) (event.Subscription, error)

	ParseRandomWordsFulfilled(log types.Log) (*VRFRouterRandomWordsFulfilled, error)

	FilterRandomnessFulfillmentRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessFulfillmentRequestedIterator, error)

	WatchRandomnessFulfillmentRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessFulfillmentRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

	ParseRandomnessFulfillmentRequested(log types.Log) (*VRFRouterRandomnessFulfillmentRequested, error)

	FilterRandomnessRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessRequestedIterator, error)

	WatchRandomnessRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

	ParseRandomnessRequested(log types.Log) (*VRFRouterRandomnessRequested, error)

	FilterRouteSet(opts *bind.FilterOpts, subID []*big.Int) (*VRFRouterRouteSetIterator, error)

	WatchRouteSet(opts *bind.WatchOpts, sink chan<- *VRFRouterRouteSet, subID []*big.Int) (event.Subscription, error)

	ParseRouteSet(log types.Log) (*VRFRouterRouteSet, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type VRFRouterNewTransmission

type VRFRouterNewTransmission struct {
	AggregatorRoundId  uint32
	EpochAndRound      *big.Int
	Transmitter        common.Address
	JuelsPerFeeCoin    *big.Int
	ReasonableGasPrice uint64
	ConfigDigest       [32]byte
	Raw                types.Log
}

func (VRFRouterNewTransmission) Topic

type VRFRouterNewTransmissionIterator

type VRFRouterNewTransmissionIterator struct {
	Event *VRFRouterNewTransmission
	// contains filtered or unexported fields
}

func (*VRFRouterNewTransmissionIterator) Close

func (*VRFRouterNewTransmissionIterator) Error

func (*VRFRouterNewTransmissionIterator) Next

type VRFRouterOutputsServed

type VRFRouterOutputsServed struct {
	RecentBlockHeight  uint64
	JuelsPerFeeCoin    *big.Int
	ReasonableGasPrice uint64
	OutputsServed      []VRFBeaconTypesOutputServed
	Raw                types.Log
}

func (VRFRouterOutputsServed) Topic

type VRFRouterOutputsServedIterator

type VRFRouterOutputsServedIterator struct {
	Event *VRFRouterOutputsServed
	// contains filtered or unexported fields
}

func (*VRFRouterOutputsServedIterator) Close

func (*VRFRouterOutputsServedIterator) Error

func (*VRFRouterOutputsServedIterator) Next

type VRFRouterOwnershipTransferRequested

type VRFRouterOwnershipTransferRequested struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (VRFRouterOwnershipTransferRequested) Topic

type VRFRouterOwnershipTransferRequestedIterator

type VRFRouterOwnershipTransferRequestedIterator struct {
	Event *VRFRouterOwnershipTransferRequested
	// contains filtered or unexported fields
}

func (*VRFRouterOwnershipTransferRequestedIterator) Close

func (*VRFRouterOwnershipTransferRequestedIterator) Error

func (*VRFRouterOwnershipTransferRequestedIterator) Next

type VRFRouterOwnershipTransferred

type VRFRouterOwnershipTransferred struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (VRFRouterOwnershipTransferred) Topic

type VRFRouterOwnershipTransferredIterator

type VRFRouterOwnershipTransferredIterator struct {
	Event *VRFRouterOwnershipTransferred
	// contains filtered or unexported fields
}

func (*VRFRouterOwnershipTransferredIterator) Close

func (*VRFRouterOwnershipTransferredIterator) Error

func (*VRFRouterOwnershipTransferredIterator) Next

type VRFRouterRandomWordsFulfilled

type VRFRouterRandomWordsFulfilled struct {
	RequestIDs            []*big.Int
	SuccessfulFulfillment []byte
	TruncatedErrorData    [][]byte
	Raw                   types.Log
}

func (VRFRouterRandomWordsFulfilled) Topic

type VRFRouterRandomWordsFulfilledIterator

type VRFRouterRandomWordsFulfilledIterator struct {
	Event *VRFRouterRandomWordsFulfilled
	// contains filtered or unexported fields
}

func (*VRFRouterRandomWordsFulfilledIterator) Close

func (*VRFRouterRandomWordsFulfilledIterator) Error

func (*VRFRouterRandomWordsFulfilledIterator) Next

type VRFRouterRandomnessFulfillmentRequested

type VRFRouterRandomnessFulfillmentRequested struct {
	RequestID              *big.Int
	Requester              common.Address
	NextBeaconOutputHeight uint64
	ConfDelay              *big.Int
	SubID                  *big.Int
	NumWords               uint16
	GasAllowance           uint32
	GasPrice               *big.Int
	WeiPerUnitLink         *big.Int
	Arguments              []byte
	Raw                    types.Log
}

func (VRFRouterRandomnessFulfillmentRequested) Topic

type VRFRouterRandomnessFulfillmentRequestedIterator

type VRFRouterRandomnessFulfillmentRequestedIterator struct {
	Event *VRFRouterRandomnessFulfillmentRequested
	// contains filtered or unexported fields
}

func (*VRFRouterRandomnessFulfillmentRequestedIterator) Close

func (*VRFRouterRandomnessFulfillmentRequestedIterator) Error

func (*VRFRouterRandomnessFulfillmentRequestedIterator) Next

type VRFRouterRandomnessRequested

type VRFRouterRandomnessRequested struct {
	RequestID              *big.Int
	Requester              common.Address
	NextBeaconOutputHeight uint64
	ConfDelay              *big.Int
	SubID                  *big.Int
	NumWords               uint16
	Raw                    types.Log
}

func (VRFRouterRandomnessRequested) Topic

type VRFRouterRandomnessRequestedIterator

type VRFRouterRandomnessRequestedIterator struct {
	Event *VRFRouterRandomnessRequested
	// contains filtered or unexported fields
}

func (*VRFRouterRandomnessRequestedIterator) Close

func (*VRFRouterRandomnessRequestedIterator) Error

func (*VRFRouterRandomnessRequestedIterator) Next

type VRFRouterRaw

type VRFRouterRaw struct {
	Contract *VRFRouter
}

func (*VRFRouterRaw) Call

func (_VRFRouter *VRFRouterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*VRFRouterRaw) Transact

func (_VRFRouter *VRFRouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*VRFRouterRaw) Transfer

func (_VRFRouter *VRFRouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFRouterRouteSet

type VRFRouterRouteSet struct {
	SubID              *big.Int
	CoordinatorAddress common.Address
	Raw                types.Log
}

func (VRFRouterRouteSet) Topic

func (VRFRouterRouteSet) Topic() common.Hash

type VRFRouterRouteSetIterator

type VRFRouterRouteSetIterator struct {
	Event *VRFRouterRouteSet
	// contains filtered or unexported fields
}

func (*VRFRouterRouteSetIterator) Close

func (it *VRFRouterRouteSetIterator) Close() error

func (*VRFRouterRouteSetIterator) Error

func (it *VRFRouterRouteSetIterator) Error() error

func (*VRFRouterRouteSetIterator) Next

func (it *VRFRouterRouteSetIterator) Next() bool

type VRFRouterSession

type VRFRouterSession struct {
	Contract     *VRFRouter
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*VRFRouterSession) AcceptOwnership

func (_VRFRouter *VRFRouterSession) AcceptOwnership() (*types.Transaction, error)

func (*VRFRouterSession) CallWithExactGasEvenIfTargetIsNoContract

func (_VRFRouter *VRFRouterSession) CallWithExactGasEvenIfTargetIsNoContract(gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

func (*VRFRouterSession) DeregisterCoordinator

func (_VRFRouter *VRFRouterSession) DeregisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterSession) GetCoordinators

func (_VRFRouter *VRFRouterSession) GetCoordinators() ([]common.Address, error)

func (*VRFRouterSession) GetRoute

func (_VRFRouter *VRFRouterSession) GetRoute(subID *big.Int) (common.Address, error)

func (*VRFRouterSession) IsCoordinatorRegistered

func (_VRFRouter *VRFRouterSession) IsCoordinatorRegistered(coordinatorAddress common.Address) (bool, error)

func (*VRFRouterSession) NUMCONFDELAYS

func (_VRFRouter *VRFRouterSession) NUMCONFDELAYS() (uint8, error)

func (*VRFRouterSession) Owner

func (_VRFRouter *VRFRouterSession) Owner() (common.Address, error)

func (*VRFRouterSession) RedeemRandomness

func (_VRFRouter *VRFRouterSession) RedeemRandomness(subID *big.Int, externalRequestID *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterSession) RegisterCoordinator

func (_VRFRouter *VRFRouterSession) RegisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterSession) RequestRandomness

func (_VRFRouter *VRFRouterSession) RequestRandomness(subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterSession) RequestRandomnessFulfillment

func (_VRFRouter *VRFRouterSession) RequestRandomnessFulfillment(subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterSession) ResetRoute

func (_VRFRouter *VRFRouterSession) ResetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterSession) SRedemptionRoutes added in v2.2.0

func (_VRFRouter *VRFRouterSession) SRedemptionRoutes(arg0 *big.Int) (SRedemptionRoutes,

	error)

func (*VRFRouterSession) SetRoute

func (_VRFRouter *VRFRouterSession) SetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterSession) TransferOwnership

func (_VRFRouter *VRFRouterSession) TransferOwnership(to common.Address) (*types.Transaction, error)

func (*VRFRouterSession) TypeAndVersion

func (_VRFRouter *VRFRouterSession) TypeAndVersion() (string, error)

type VRFRouterTransactor

type VRFRouterTransactor struct {
	// contains filtered or unexported fields
}

func NewVRFRouterTransactor

func NewVRFRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFRouterTransactor, error)

func (*VRFRouterTransactor) AcceptOwnership

func (_VRFRouter *VRFRouterTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

func (*VRFRouterTransactor) CallWithExactGasEvenIfTargetIsNoContract

func (_VRFRouter *VRFRouterTransactor) CallWithExactGasEvenIfTargetIsNoContract(opts *bind.TransactOpts, gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) DeregisterCoordinator

func (_VRFRouter *VRFRouterTransactor) DeregisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactor) RedeemRandomness

func (_VRFRouter *VRFRouterTransactor) RedeemRandomness(opts *bind.TransactOpts, subID *big.Int, externalRequestID *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) RegisterCoordinator

func (_VRFRouter *VRFRouterTransactor) RegisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactor) RequestRandomness

func (_VRFRouter *VRFRouterTransactor) RequestRandomness(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) RequestRandomnessFulfillment

func (_VRFRouter *VRFRouterTransactor) RequestRandomnessFulfillment(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) ResetRoute

func (_VRFRouter *VRFRouterTransactor) ResetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactor) SetRoute

func (_VRFRouter *VRFRouterTransactor) SetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactor) TransferOwnership

func (_VRFRouter *VRFRouterTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

type VRFRouterTransactorRaw

type VRFRouterTransactorRaw struct {
	Contract *VRFRouterTransactor
}

func (*VRFRouterTransactorRaw) Transact

func (_VRFRouter *VRFRouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*VRFRouterTransactorRaw) Transfer

func (_VRFRouter *VRFRouterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFRouterTransactorSession

type VRFRouterTransactorSession struct {
	Contract     *VRFRouterTransactor
	TransactOpts bind.TransactOpts
}

func (*VRFRouterTransactorSession) AcceptOwnership

func (_VRFRouter *VRFRouterTransactorSession) AcceptOwnership() (*types.Transaction, error)

func (*VRFRouterTransactorSession) CallWithExactGasEvenIfTargetIsNoContract

func (_VRFRouter *VRFRouterTransactorSession) CallWithExactGasEvenIfTargetIsNoContract(gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) DeregisterCoordinator

func (_VRFRouter *VRFRouterTransactorSession) DeregisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RedeemRandomness

func (_VRFRouter *VRFRouterTransactorSession) RedeemRandomness(subID *big.Int, externalRequestID *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RegisterCoordinator

func (_VRFRouter *VRFRouterTransactorSession) RegisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RequestRandomness

func (_VRFRouter *VRFRouterTransactorSession) RequestRandomness(subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RequestRandomnessFulfillment

func (_VRFRouter *VRFRouterTransactorSession) RequestRandomnessFulfillment(subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) ResetRoute

func (_VRFRouter *VRFRouterTransactorSession) ResetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactorSession) SetRoute

func (_VRFRouter *VRFRouterTransactorSession) SetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactorSession) TransferOwnership

func (_VRFRouter *VRFRouterTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL