BPSuckerRegistry

package
v0.0.0-...-21c898a Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BPSuckerRegistryABI = BPSuckerRegistryMetaData.ABI

BPSuckerRegistryABI is the input ABI used to generate the binding from. Deprecated: Use BPSuckerRegistryMetaData.ABI instead.

View Source
var BPSuckerRegistryMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"projects\",\"type\":\"address\",\"internalType\":\"contractIJBProjects\"},{\"name\":\"permissions\",\"type\":\"address\",\"internalType\":\"contractIJBPermissions\"},{\"name\":\"_initialOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"PERMISSIONS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIJBPermissions\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PROJECTS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIJBProjects\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowSuckerDeployer\",\"inputs\":[{\"name\":\"deployer\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowSuckerDeployers\",\"inputs\":[{\"name\":\"deployers\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"deploySuckersFor\",\"inputs\":[{\"name\":\"projectId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"configurations\",\"type\":\"tuple[]\",\"internalType\":\"structBPSuckerDeployerConfig[]\",\"components\":[{\"name\":\"deployer\",\"type\":\"address\",\"internalType\":\"contractIBPSuckerDeployer\"},{\"name\":\"mappings\",\"type\":\"tuple[]\",\"internalType\":\"structBPTokenMapping[]\",\"components\":[{\"name\":\"localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"minGas\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"minBridgeAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[{\"name\":\"suckers\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isSuckerOf\",\"inputs\":[{\"name\":\"projectId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"suckerAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"jbOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"projectId\",\"type\":\"uint88\",\"internalType\":\"uint88\"},{\"name\":\"permissionId\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setPermissionId\",\"inputs\":[{\"name\":\"permissionId\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"suckerDeployerIsAllowed\",\"inputs\":[{\"name\":\"deployer\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"suckersOf\",\"inputs\":[{\"name\":\"projectId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnershipToProject\",\"inputs\":[{\"name\":\"projectId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PermissionIdChanged\",\"inputs\":[{\"name\":\"newIndex\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SuckerDeployerAllowed\",\"inputs\":[{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SuckersDeployedFor\",\"inputs\":[{\"name\":\"projectId\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"suckers\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"EnumerableMapNonexistentKey\",\"inputs\":[{\"name\":\"key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"INVALID_DEPLOYER\",\"inputs\":[{\"name\":\"deployer\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"INVALID_NEW_OWNER\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UNAUTHORIZED\",\"inputs\":[]}]",
}

BPSuckerRegistryMetaData contains all meta data concerning the BPSuckerRegistry contract.

Functions

This section is empty.

Types

type BPSuckerDeployerConfig

type BPSuckerDeployerConfig struct {
	Deployer common.Address
	Mappings []BPTokenMapping
}

BPSuckerDeployerConfig is an auto generated low-level Go binding around an user-defined struct.

type BPSuckerRegistry

type BPSuckerRegistry struct {
	BPSuckerRegistryCaller     // Read-only binding to the contract
	BPSuckerRegistryTransactor // Write-only binding to the contract
	BPSuckerRegistryFilterer   // Log filterer for contract events
}

BPSuckerRegistry is an auto generated Go binding around an Ethereum contract.

func NewBPSuckerRegistry

func NewBPSuckerRegistry(address common.Address, backend bind.ContractBackend) (*BPSuckerRegistry, error)

NewBPSuckerRegistry creates a new instance of BPSuckerRegistry, bound to a specific deployed contract.

type BPSuckerRegistryCaller

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

BPSuckerRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBPSuckerRegistryCaller

func NewBPSuckerRegistryCaller(address common.Address, caller bind.ContractCaller) (*BPSuckerRegistryCaller, error)

NewBPSuckerRegistryCaller creates a new read-only instance of BPSuckerRegistry, bound to a specific deployed contract.

func (*BPSuckerRegistryCaller) IsSuckerOf

func (_BPSuckerRegistry *BPSuckerRegistryCaller) IsSuckerOf(opts *bind.CallOpts, projectId *big.Int, suckerAddress common.Address) (bool, error)

IsSuckerOf is a free data retrieval call binding the contract method 0x83db9d01.

Solidity: function isSuckerOf(uint256 projectId, address suckerAddress) view returns(bool)

func (*BPSuckerRegistryCaller) JbOwner

func (_BPSuckerRegistry *BPSuckerRegistryCaller) JbOwner(opts *bind.CallOpts) (struct {
	Owner        common.Address
	ProjectId    *big.Int
	PermissionId uint8
}, error)

JbOwner is a free data retrieval call binding the contract method 0xba23c36e.

Solidity: function jbOwner() view returns(address owner, uint88 projectId, uint8 permissionId)

func (*BPSuckerRegistryCaller) Owner

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

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BPSuckerRegistryCaller) PERMISSIONS

func (_BPSuckerRegistry *BPSuckerRegistryCaller) PERMISSIONS(opts *bind.CallOpts) (common.Address, error)

PERMISSIONS is a free data retrieval call binding the contract method 0xf434c914.

Solidity: function PERMISSIONS() view returns(address)

func (*BPSuckerRegistryCaller) PROJECTS

func (_BPSuckerRegistry *BPSuckerRegistryCaller) PROJECTS(opts *bind.CallOpts) (common.Address, error)

PROJECTS is a free data retrieval call binding the contract method 0x293c4999.

Solidity: function PROJECTS() view returns(address)

func (*BPSuckerRegistryCaller) SuckerDeployerIsAllowed

func (_BPSuckerRegistry *BPSuckerRegistryCaller) SuckerDeployerIsAllowed(opts *bind.CallOpts, deployer common.Address) (bool, error)

SuckerDeployerIsAllowed is a free data retrieval call binding the contract method 0xa1031a4f.

Solidity: function suckerDeployerIsAllowed(address deployer) view returns(bool)

func (*BPSuckerRegistryCaller) SuckersOf

func (_BPSuckerRegistry *BPSuckerRegistryCaller) SuckersOf(opts *bind.CallOpts, projectId *big.Int) ([]common.Address, error)

SuckersOf is a free data retrieval call binding the contract method 0x3d12cb87.

Solidity: function suckersOf(uint256 projectId) view returns(address[])

type BPSuckerRegistryCallerRaw

type BPSuckerRegistryCallerRaw struct {
	Contract *BPSuckerRegistryCaller // Generic read-only contract binding to access the raw methods on
}

BPSuckerRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BPSuckerRegistryCallerRaw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BPSuckerRegistryCallerSession

type BPSuckerRegistryCallerSession struct {
	Contract *BPSuckerRegistryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

BPSuckerRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BPSuckerRegistryCallerSession) IsSuckerOf

func (_BPSuckerRegistry *BPSuckerRegistryCallerSession) IsSuckerOf(projectId *big.Int, suckerAddress common.Address) (bool, error)

IsSuckerOf is a free data retrieval call binding the contract method 0x83db9d01.

Solidity: function isSuckerOf(uint256 projectId, address suckerAddress) view returns(bool)

func (*BPSuckerRegistryCallerSession) JbOwner

func (_BPSuckerRegistry *BPSuckerRegistryCallerSession) JbOwner() (struct {
	Owner        common.Address
	ProjectId    *big.Int
	PermissionId uint8
}, error)

JbOwner is a free data retrieval call binding the contract method 0xba23c36e.

Solidity: function jbOwner() view returns(address owner, uint88 projectId, uint8 permissionId)

func (*BPSuckerRegistryCallerSession) Owner

func (_BPSuckerRegistry *BPSuckerRegistryCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BPSuckerRegistryCallerSession) PERMISSIONS

func (_BPSuckerRegistry *BPSuckerRegistryCallerSession) PERMISSIONS() (common.Address, error)

PERMISSIONS is a free data retrieval call binding the contract method 0xf434c914.

Solidity: function PERMISSIONS() view returns(address)

func (*BPSuckerRegistryCallerSession) PROJECTS

func (_BPSuckerRegistry *BPSuckerRegistryCallerSession) PROJECTS() (common.Address, error)

PROJECTS is a free data retrieval call binding the contract method 0x293c4999.

Solidity: function PROJECTS() view returns(address)

func (*BPSuckerRegistryCallerSession) SuckerDeployerIsAllowed

func (_BPSuckerRegistry *BPSuckerRegistryCallerSession) SuckerDeployerIsAllowed(deployer common.Address) (bool, error)

SuckerDeployerIsAllowed is a free data retrieval call binding the contract method 0xa1031a4f.

Solidity: function suckerDeployerIsAllowed(address deployer) view returns(bool)

func (*BPSuckerRegistryCallerSession) SuckersOf

func (_BPSuckerRegistry *BPSuckerRegistryCallerSession) SuckersOf(projectId *big.Int) ([]common.Address, error)

SuckersOf is a free data retrieval call binding the contract method 0x3d12cb87.

Solidity: function suckersOf(uint256 projectId) view returns(address[])

type BPSuckerRegistryFilterer

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

BPSuckerRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBPSuckerRegistryFilterer

func NewBPSuckerRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*BPSuckerRegistryFilterer, error)

NewBPSuckerRegistryFilterer creates a new log filterer instance of BPSuckerRegistry, bound to a specific deployed contract.

func (*BPSuckerRegistryFilterer) FilterOwnershipTransferred

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BPSuckerRegistryOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BPSuckerRegistryFilterer) FilterPermissionIdChanged

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) FilterPermissionIdChanged(opts *bind.FilterOpts) (*BPSuckerRegistryPermissionIdChangedIterator, error)

FilterPermissionIdChanged is a free log retrieval operation binding the contract event 0x6f4725627084d54c46c628b050805457a1cd38c5cd20c1f00132960f8b546fed.

Solidity: event PermissionIdChanged(uint8 newIndex)

func (*BPSuckerRegistryFilterer) FilterSuckerDeployerAllowed

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) FilterSuckerDeployerAllowed(opts *bind.FilterOpts) (*BPSuckerRegistrySuckerDeployerAllowedIterator, error)

FilterSuckerDeployerAllowed is a free log retrieval operation binding the contract event 0xf6e6facda29906a01d337146a9b928ac09b423901f28e0e001d43550448b370b.

Solidity: event SuckerDeployerAllowed(address deployer)

func (*BPSuckerRegistryFilterer) FilterSuckersDeployedFor

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) FilterSuckersDeployedFor(opts *bind.FilterOpts) (*BPSuckerRegistrySuckersDeployedForIterator, error)

FilterSuckersDeployedFor is a free log retrieval operation binding the contract event 0xd982fdd7a5657847f0905ad1aff9ab6105d1ff64590493b3486837504dafe55a.

Solidity: event SuckersDeployedFor(uint256 projectId, address[] suckers)

func (*BPSuckerRegistryFilterer) ParseOwnershipTransferred

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*BPSuckerRegistryOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BPSuckerRegistryFilterer) ParsePermissionIdChanged

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) ParsePermissionIdChanged(log types.Log) (*BPSuckerRegistryPermissionIdChanged, error)

ParsePermissionIdChanged is a log parse operation binding the contract event 0x6f4725627084d54c46c628b050805457a1cd38c5cd20c1f00132960f8b546fed.

Solidity: event PermissionIdChanged(uint8 newIndex)

func (*BPSuckerRegistryFilterer) ParseSuckerDeployerAllowed

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) ParseSuckerDeployerAllowed(log types.Log) (*BPSuckerRegistrySuckerDeployerAllowed, error)

ParseSuckerDeployerAllowed is a log parse operation binding the contract event 0xf6e6facda29906a01d337146a9b928ac09b423901f28e0e001d43550448b370b.

Solidity: event SuckerDeployerAllowed(address deployer)

func (*BPSuckerRegistryFilterer) ParseSuckersDeployedFor

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) ParseSuckersDeployedFor(log types.Log) (*BPSuckerRegistrySuckersDeployedFor, error)

ParseSuckersDeployedFor is a log parse operation binding the contract event 0xd982fdd7a5657847f0905ad1aff9ab6105d1ff64590493b3486837504dafe55a.

Solidity: event SuckersDeployedFor(uint256 projectId, address[] suckers)

func (*BPSuckerRegistryFilterer) WatchOwnershipTransferred

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BPSuckerRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BPSuckerRegistryFilterer) WatchPermissionIdChanged

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) WatchPermissionIdChanged(opts *bind.WatchOpts, sink chan<- *BPSuckerRegistryPermissionIdChanged) (event.Subscription, error)

WatchPermissionIdChanged is a free log subscription operation binding the contract event 0x6f4725627084d54c46c628b050805457a1cd38c5cd20c1f00132960f8b546fed.

Solidity: event PermissionIdChanged(uint8 newIndex)

func (*BPSuckerRegistryFilterer) WatchSuckerDeployerAllowed

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) WatchSuckerDeployerAllowed(opts *bind.WatchOpts, sink chan<- *BPSuckerRegistrySuckerDeployerAllowed) (event.Subscription, error)

WatchSuckerDeployerAllowed is a free log subscription operation binding the contract event 0xf6e6facda29906a01d337146a9b928ac09b423901f28e0e001d43550448b370b.

Solidity: event SuckerDeployerAllowed(address deployer)

func (*BPSuckerRegistryFilterer) WatchSuckersDeployedFor

func (_BPSuckerRegistry *BPSuckerRegistryFilterer) WatchSuckersDeployedFor(opts *bind.WatchOpts, sink chan<- *BPSuckerRegistrySuckersDeployedFor) (event.Subscription, error)

WatchSuckersDeployedFor is a free log subscription operation binding the contract event 0xd982fdd7a5657847f0905ad1aff9ab6105d1ff64590493b3486837504dafe55a.

Solidity: event SuckersDeployedFor(uint256 projectId, address[] suckers)

type BPSuckerRegistryOwnershipTransferred

type BPSuckerRegistryOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BPSuckerRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the BPSuckerRegistry contract.

type BPSuckerRegistryOwnershipTransferredIterator

type BPSuckerRegistryOwnershipTransferredIterator struct {
	Event *BPSuckerRegistryOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BPSuckerRegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BPSuckerRegistry contract.

func (*BPSuckerRegistryOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BPSuckerRegistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BPSuckerRegistryOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BPSuckerRegistryPermissionIdChanged

type BPSuckerRegistryPermissionIdChanged struct {
	NewIndex uint8
	Raw      types.Log // Blockchain specific contextual infos
}

BPSuckerRegistryPermissionIdChanged represents a PermissionIdChanged event raised by the BPSuckerRegistry contract.

type BPSuckerRegistryPermissionIdChangedIterator

type BPSuckerRegistryPermissionIdChangedIterator struct {
	Event *BPSuckerRegistryPermissionIdChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BPSuckerRegistryPermissionIdChangedIterator is returned from FilterPermissionIdChanged and is used to iterate over the raw logs and unpacked data for PermissionIdChanged events raised by the BPSuckerRegistry contract.

func (*BPSuckerRegistryPermissionIdChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BPSuckerRegistryPermissionIdChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BPSuckerRegistryPermissionIdChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BPSuckerRegistryRaw

type BPSuckerRegistryRaw struct {
	Contract *BPSuckerRegistry // Generic contract binding to access the raw methods on
}

BPSuckerRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BPSuckerRegistryRaw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BPSuckerRegistryRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*BPSuckerRegistryRaw) Transfer

func (_BPSuckerRegistry *BPSuckerRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BPSuckerRegistrySession

type BPSuckerRegistrySession struct {
	Contract     *BPSuckerRegistry // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BPSuckerRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BPSuckerRegistrySession) AllowSuckerDeployer

func (_BPSuckerRegistry *BPSuckerRegistrySession) AllowSuckerDeployer(deployer common.Address) (*types.Transaction, error)

AllowSuckerDeployer is a paid mutator transaction binding the contract method 0xf73ac20f.

Solidity: function allowSuckerDeployer(address deployer) returns()

func (*BPSuckerRegistrySession) AllowSuckerDeployers

func (_BPSuckerRegistry *BPSuckerRegistrySession) AllowSuckerDeployers(deployers []common.Address) (*types.Transaction, error)

AllowSuckerDeployers is a paid mutator transaction binding the contract method 0x669745a5.

Solidity: function allowSuckerDeployers(address[] deployers) returns()

func (*BPSuckerRegistrySession) DeploySuckersFor

func (_BPSuckerRegistry *BPSuckerRegistrySession) DeploySuckersFor(projectId *big.Int, salt [32]byte, configurations []BPSuckerDeployerConfig) (*types.Transaction, error)

DeploySuckersFor is a paid mutator transaction binding the contract method 0x2f3f50e0.

Solidity: function deploySuckersFor(uint256 projectId, bytes32 salt, (address,(address,uint32,address,uint256)[])[] configurations) returns(address[] suckers)

func (*BPSuckerRegistrySession) IsSuckerOf

func (_BPSuckerRegistry *BPSuckerRegistrySession) IsSuckerOf(projectId *big.Int, suckerAddress common.Address) (bool, error)

IsSuckerOf is a free data retrieval call binding the contract method 0x83db9d01.

Solidity: function isSuckerOf(uint256 projectId, address suckerAddress) view returns(bool)

func (*BPSuckerRegistrySession) JbOwner

func (_BPSuckerRegistry *BPSuckerRegistrySession) JbOwner() (struct {
	Owner        common.Address
	ProjectId    *big.Int
	PermissionId uint8
}, error)

JbOwner is a free data retrieval call binding the contract method 0xba23c36e.

Solidity: function jbOwner() view returns(address owner, uint88 projectId, uint8 permissionId)

func (*BPSuckerRegistrySession) Owner

func (_BPSuckerRegistry *BPSuckerRegistrySession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BPSuckerRegistrySession) PERMISSIONS

func (_BPSuckerRegistry *BPSuckerRegistrySession) PERMISSIONS() (common.Address, error)

PERMISSIONS is a free data retrieval call binding the contract method 0xf434c914.

Solidity: function PERMISSIONS() view returns(address)

func (*BPSuckerRegistrySession) PROJECTS

func (_BPSuckerRegistry *BPSuckerRegistrySession) PROJECTS() (common.Address, error)

PROJECTS is a free data retrieval call binding the contract method 0x293c4999.

Solidity: function PROJECTS() view returns(address)

func (*BPSuckerRegistrySession) RenounceOwnership

func (_BPSuckerRegistry *BPSuckerRegistrySession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BPSuckerRegistrySession) SetPermissionId

func (_BPSuckerRegistry *BPSuckerRegistrySession) SetPermissionId(permissionId uint8) (*types.Transaction, error)

SetPermissionId is a paid mutator transaction binding the contract method 0xc0fb5e85.

Solidity: function setPermissionId(uint8 permissionId) returns()

func (*BPSuckerRegistrySession) SuckerDeployerIsAllowed

func (_BPSuckerRegistry *BPSuckerRegistrySession) SuckerDeployerIsAllowed(deployer common.Address) (bool, error)

SuckerDeployerIsAllowed is a free data retrieval call binding the contract method 0xa1031a4f.

Solidity: function suckerDeployerIsAllowed(address deployer) view returns(bool)

func (*BPSuckerRegistrySession) SuckersOf

func (_BPSuckerRegistry *BPSuckerRegistrySession) SuckersOf(projectId *big.Int) ([]common.Address, error)

SuckersOf is a free data retrieval call binding the contract method 0x3d12cb87.

Solidity: function suckersOf(uint256 projectId) view returns(address[])

func (*BPSuckerRegistrySession) TransferOwnership

func (_BPSuckerRegistry *BPSuckerRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BPSuckerRegistrySession) TransferOwnershipToProject

func (_BPSuckerRegistry *BPSuckerRegistrySession) TransferOwnershipToProject(projectId *big.Int) (*types.Transaction, error)

TransferOwnershipToProject is a paid mutator transaction binding the contract method 0xa220d696.

Solidity: function transferOwnershipToProject(uint256 projectId) returns()

type BPSuckerRegistrySuckerDeployerAllowed

type BPSuckerRegistrySuckerDeployerAllowed struct {
	Deployer common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BPSuckerRegistrySuckerDeployerAllowed represents a SuckerDeployerAllowed event raised by the BPSuckerRegistry contract.

type BPSuckerRegistrySuckerDeployerAllowedIterator

type BPSuckerRegistrySuckerDeployerAllowedIterator struct {
	Event *BPSuckerRegistrySuckerDeployerAllowed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BPSuckerRegistrySuckerDeployerAllowedIterator is returned from FilterSuckerDeployerAllowed and is used to iterate over the raw logs and unpacked data for SuckerDeployerAllowed events raised by the BPSuckerRegistry contract.

func (*BPSuckerRegistrySuckerDeployerAllowedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BPSuckerRegistrySuckerDeployerAllowedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BPSuckerRegistrySuckerDeployerAllowedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BPSuckerRegistrySuckersDeployedFor

type BPSuckerRegistrySuckersDeployedFor struct {
	ProjectId *big.Int
	Suckers   []common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

BPSuckerRegistrySuckersDeployedFor represents a SuckersDeployedFor event raised by the BPSuckerRegistry contract.

type BPSuckerRegistrySuckersDeployedForIterator

type BPSuckerRegistrySuckersDeployedForIterator struct {
	Event *BPSuckerRegistrySuckersDeployedFor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BPSuckerRegistrySuckersDeployedForIterator is returned from FilterSuckersDeployedFor and is used to iterate over the raw logs and unpacked data for SuckersDeployedFor events raised by the BPSuckerRegistry contract.

func (*BPSuckerRegistrySuckersDeployedForIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BPSuckerRegistrySuckersDeployedForIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BPSuckerRegistrySuckersDeployedForIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BPSuckerRegistryTransactor

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

BPSuckerRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBPSuckerRegistryTransactor

func NewBPSuckerRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*BPSuckerRegistryTransactor, error)

NewBPSuckerRegistryTransactor creates a new write-only instance of BPSuckerRegistry, bound to a specific deployed contract.

func (*BPSuckerRegistryTransactor) AllowSuckerDeployer

func (_BPSuckerRegistry *BPSuckerRegistryTransactor) AllowSuckerDeployer(opts *bind.TransactOpts, deployer common.Address) (*types.Transaction, error)

AllowSuckerDeployer is a paid mutator transaction binding the contract method 0xf73ac20f.

Solidity: function allowSuckerDeployer(address deployer) returns()

func (*BPSuckerRegistryTransactor) AllowSuckerDeployers

func (_BPSuckerRegistry *BPSuckerRegistryTransactor) AllowSuckerDeployers(opts *bind.TransactOpts, deployers []common.Address) (*types.Transaction, error)

AllowSuckerDeployers is a paid mutator transaction binding the contract method 0x669745a5.

Solidity: function allowSuckerDeployers(address[] deployers) returns()

func (*BPSuckerRegistryTransactor) DeploySuckersFor

func (_BPSuckerRegistry *BPSuckerRegistryTransactor) DeploySuckersFor(opts *bind.TransactOpts, projectId *big.Int, salt [32]byte, configurations []BPSuckerDeployerConfig) (*types.Transaction, error)

DeploySuckersFor is a paid mutator transaction binding the contract method 0x2f3f50e0.

Solidity: function deploySuckersFor(uint256 projectId, bytes32 salt, (address,(address,uint32,address,uint256)[])[] configurations) returns(address[] suckers)

func (*BPSuckerRegistryTransactor) RenounceOwnership

func (_BPSuckerRegistry *BPSuckerRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BPSuckerRegistryTransactor) SetPermissionId

func (_BPSuckerRegistry *BPSuckerRegistryTransactor) SetPermissionId(opts *bind.TransactOpts, permissionId uint8) (*types.Transaction, error)

SetPermissionId is a paid mutator transaction binding the contract method 0xc0fb5e85.

Solidity: function setPermissionId(uint8 permissionId) returns()

func (*BPSuckerRegistryTransactor) TransferOwnership

func (_BPSuckerRegistry *BPSuckerRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BPSuckerRegistryTransactor) TransferOwnershipToProject

func (_BPSuckerRegistry *BPSuckerRegistryTransactor) TransferOwnershipToProject(opts *bind.TransactOpts, projectId *big.Int) (*types.Transaction, error)

TransferOwnershipToProject is a paid mutator transaction binding the contract method 0xa220d696.

Solidity: function transferOwnershipToProject(uint256 projectId) returns()

type BPSuckerRegistryTransactorRaw

type BPSuckerRegistryTransactorRaw struct {
	Contract *BPSuckerRegistryTransactor // Generic write-only contract binding to access the raw methods on
}

BPSuckerRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BPSuckerRegistryTransactorRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*BPSuckerRegistryTransactorRaw) Transfer

func (_BPSuckerRegistry *BPSuckerRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BPSuckerRegistryTransactorSession

type BPSuckerRegistryTransactorSession struct {
	Contract     *BPSuckerRegistryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

BPSuckerRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BPSuckerRegistryTransactorSession) AllowSuckerDeployer

func (_BPSuckerRegistry *BPSuckerRegistryTransactorSession) AllowSuckerDeployer(deployer common.Address) (*types.Transaction, error)

AllowSuckerDeployer is a paid mutator transaction binding the contract method 0xf73ac20f.

Solidity: function allowSuckerDeployer(address deployer) returns()

func (*BPSuckerRegistryTransactorSession) AllowSuckerDeployers

func (_BPSuckerRegistry *BPSuckerRegistryTransactorSession) AllowSuckerDeployers(deployers []common.Address) (*types.Transaction, error)

AllowSuckerDeployers is a paid mutator transaction binding the contract method 0x669745a5.

Solidity: function allowSuckerDeployers(address[] deployers) returns()

func (*BPSuckerRegistryTransactorSession) DeploySuckersFor

func (_BPSuckerRegistry *BPSuckerRegistryTransactorSession) DeploySuckersFor(projectId *big.Int, salt [32]byte, configurations []BPSuckerDeployerConfig) (*types.Transaction, error)

DeploySuckersFor is a paid mutator transaction binding the contract method 0x2f3f50e0.

Solidity: function deploySuckersFor(uint256 projectId, bytes32 salt, (address,(address,uint32,address,uint256)[])[] configurations) returns(address[] suckers)

func (*BPSuckerRegistryTransactorSession) RenounceOwnership

func (_BPSuckerRegistry *BPSuckerRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BPSuckerRegistryTransactorSession) SetPermissionId

func (_BPSuckerRegistry *BPSuckerRegistryTransactorSession) SetPermissionId(permissionId uint8) (*types.Transaction, error)

SetPermissionId is a paid mutator transaction binding the contract method 0xc0fb5e85.

Solidity: function setPermissionId(uint8 permissionId) returns()

func (*BPSuckerRegistryTransactorSession) TransferOwnership

func (_BPSuckerRegistry *BPSuckerRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BPSuckerRegistryTransactorSession) TransferOwnershipToProject

func (_BPSuckerRegistry *BPSuckerRegistryTransactorSession) TransferOwnershipToProject(projectId *big.Int) (*types.Transaction, error)

TransferOwnershipToProject is a paid mutator transaction binding the contract method 0xa220d696.

Solidity: function transferOwnershipToProject(uint256 projectId) returns()

type BPTokenMapping

type BPTokenMapping struct {
	LocalToken      common.Address
	MinGas          uint32
	RemoteToken     common.Address
	MinBridgeAmount *big.Int
}

BPTokenMapping is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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