Documentation ¶
Index ¶
- func DeployBHS(e helpers.Environment) (blockhashStoreAddress common.Address)
- func DeployBatchBHS(e helpers.Environment, bhsAddress common.Address) (batchBHSAddress common.Address)
- func DeployBatchCoordinatorV2(e helpers.Environment, coordinatorAddress common.Address) (batchCoordinatorAddress common.Address)
- func DeployCoordinator(e helpers.Environment, linkAddress string, bhsAddress string, ...) (coordinatorAddress common.Address)
- func DeployUniverseViaCLI(e helpers.Environment)
- func DeployWrapperUniverse(e helpers.Environment)
- func EoaAddConsumerToSub(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, ...)
- func EoaCreateSub(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25)
- func EoaDeployConsumer(e helpers.Environment, coordinatorAddress string, linkAddress string) (consumerAddress common.Address)
- func EoaFundSubWithLink(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, ...)
- func EoaFundSubWithNative(e helpers.Environment, coordinatorAddress common.Address, subID *big.Int, ...)
- func EoaV2PlusLoadTestConsumerWithMetricsDeploy(e helpers.Environment, consumerCoordinator string) (consumerAddress common.Address)
- func FindSubscriptionID(e helpers.Environment, coordinator *vrf_coordinator_v2_5.VRFCoordinatorV25) *big.Int
- func MigrateSub(e helpers.Environment, ...)
- func PrintCoordinatorConfig(coordinator *vrf_coordinator_v2_5.VRFCoordinatorV25)
- func RegisterCoordinatorProvingKey(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, ...)
- func RegisterMigratableCoordinator(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, ...)
- func SetCoordinatorConfig(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, ...)
- func SmokeTestBHS(e helpers.Environment)
- func SmokeTestVRF(e helpers.Environment)
- func VRFV2PlusDeployUniverse(e helpers.Environment, subscriptionBalanceJuels *big.Int, ...) model.JobSpecs
- func WrapperConfigure(e helpers.Environment, wrapperAddress common.Address, wrapperGasOverhead uint, ...)
- func WrapperConsumerDeploy(e helpers.Environment, link, wrapper common.Address) common.Address
- func WrapperDeploy(e helpers.Environment, link, linkEthFeed, coordinator common.Address, ...) common.Address
- type CoordinatorConfigV2Plus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployBatchBHS ¶
func DeployCoordinator ¶
func DeployUniverseViaCLI ¶
func DeployUniverseViaCLI(e helpers.Environment)
func DeployWrapperUniverse ¶
func DeployWrapperUniverse(e helpers.Environment)
func EoaAddConsumerToSub ¶
func EoaAddConsumerToSub( e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, subID *big.Int, consumerAddress string, )
func EoaCreateSub ¶
func EoaCreateSub(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25)
func EoaDeployConsumer ¶
func EoaFundSubWithLink ¶
func EoaFundSubWithLink( e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, linkAddress string, amount, subID *big.Int, )
func EoaFundSubWithNative ¶
func EoaV2PlusLoadTestConsumerWithMetricsDeploy ¶
func EoaV2PlusLoadTestConsumerWithMetricsDeploy(e helpers.Environment, consumerCoordinator string) (consumerAddress common.Address)
func FindSubscriptionID ¶
func FindSubscriptionID(e helpers.Environment, coordinator *vrf_coordinator_v2_5.VRFCoordinatorV25) *big.Int
returns subscription ID that belongs to the given owner. Returns result found first
func MigrateSub ¶
func MigrateSub( e helpers.Environment, coordinatorMigrateSubFrom vrf_coordinator_v2_5.VRFCoordinatorV25, coordinatorMigrateSubTo common.Address, subID *big.Int, )
func PrintCoordinatorConfig ¶
func PrintCoordinatorConfig(coordinator *vrf_coordinator_v2_5.VRFCoordinatorV25)
func RegisterCoordinatorProvingKey ¶
func RegisterCoordinatorProvingKey(e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, uncompressed string, gasLaneMaxGas uint64)
func RegisterMigratableCoordinator ¶
func RegisterMigratableCoordinator( e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, coordinatorMigrateToAddress common.Address, )
func SetCoordinatorConfig ¶
func SetCoordinatorConfig( e helpers.Environment, coordinator vrf_coordinator_v2_5.VRFCoordinatorV25, minConfs uint16, maxGasLimit uint32, stalenessSeconds uint32, gasAfterPayment uint32, fallbackWeiPerUnitLink *big.Int, fulfillmentFlatFeeNativePPM uint32, fulfillmentFlatFeeLinkDiscountPPM uint32, nativePremiumPercentage uint8, linkPremiumPercentage uint8, )
func SmokeTestBHS ¶
func SmokeTestBHS(e helpers.Environment)
func SmokeTestVRF ¶
func SmokeTestVRF(e helpers.Environment)
func VRFV2PlusDeployUniverse ¶
func VRFV2PlusDeployUniverse(e helpers.Environment, subscriptionBalanceJuels *big.Int, subscriptionBalanceNativeWei *big.Int, vrfKeyRegistrationConfig model.VRFKeyRegistrationConfig, contractAddresses model.ContractAddresses, coordinatorConfig CoordinatorConfigV2Plus, nativeOnly bool, nodesMap map[string]model.Node, provingKeyMaxGasPrice uint64, coordinatorJobSpecConfig model.CoordinatorJobSpecConfig, bhsJobSpecConfig model.BHSJobSpecConfig, simulationBlock string, ) model.JobSpecs
func WrapperConfigure ¶
func WrapperConfigure( e helpers.Environment, wrapperAddress common.Address, wrapperGasOverhead uint, coordinatorGasOverheadNative, coordinatorGasOverheadLink uint, coordinatorGasOverheadPerWord uint, nativePremiumPercentage, linkPremiumPercentage uint, keyHash string, maxNumWords uint, fallbackWeiPerUnitLink *big.Int, stalenessSeconds uint32, fulfillmentFlatFeeNativePPM uint32, fulfillmentFlatFeeLinkDiscountPPM uint32, )
func WrapperConsumerDeploy ¶
func WrapperDeploy ¶
Types ¶
type CoordinatorConfigV2Plus ¶
Click to show internal directories.
Click to hide internal directories.