Documentation ¶
Overview ¶
Package metatx defines a Transactor that uses meta transactions to pay gas fees on behalf of a user.
Index ¶
- func NewTransactor(eth *ethclient.Client, valistAddress, registryAddress common.Address, ...) (client.TransactorAPI, error)
- type Transactor
- func (t *Transactor) CreateOrganizationTx(txopts *gasless.TransactOpts, metaCID string) (*types.Transaction, error)
- func (t *Transactor) CreateRepositoryTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, ...) (*types.Transaction, error)
- func (t *Transactor) LinkOrganizationNameTx(txopts *gasless.TransactOpts, orgID common.Hash, name string) (*types.Transaction, error)
- func (t *Transactor) SetOrganizationMetaTx(txopts *gasless.TransactOpts, orgID common.Hash, metaCID string) (*types.Transaction, error)
- func (t *Transactor) SetRepositoryMetaTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, ...) (*types.Transaction, error)
- func (t *Transactor) VoteKeyTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, ...) (*types.Transaction, error)
- func (t *Transactor) VoteOrganizationThresholdTx(txopts *gasless.TransactOpts, orgID common.Hash, threshold *big.Int) (*types.Transaction, error)
- func (t *Transactor) VoteReleaseTx(txopts *gasless.TransactOpts, orgID common.Hash, ...) (*types.Transaction, error)
- func (t *Transactor) VoteRepositoryThresholdTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransactor ¶
Types ¶
type Transactor ¶
type Transactor struct {
// contains filtered or unexported fields
}
func (*Transactor) CreateOrganizationTx ¶
func (t *Transactor) CreateOrganizationTx(txopts *gasless.TransactOpts, metaCID string) (*types.Transaction, error)
func (*Transactor) CreateRepositoryTx ¶
func (t *Transactor) CreateRepositoryTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, repoMeta string) (*types.Transaction, error)
func (*Transactor) LinkOrganizationNameTx ¶
func (t *Transactor) LinkOrganizationNameTx(txopts *gasless.TransactOpts, orgID common.Hash, name string) (*types.Transaction, error)
func (*Transactor) SetOrganizationMetaTx ¶
func (t *Transactor) SetOrganizationMetaTx(txopts *gasless.TransactOpts, orgID common.Hash, metaCID string) (*types.Transaction, error)
func (*Transactor) SetRepositoryMetaTx ¶
func (t *Transactor) SetRepositoryMetaTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, repoMeta string) (*types.Transaction, error)
func (*Transactor) VoteKeyTx ¶
func (t *Transactor) VoteKeyTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, operation common.Hash, address common.Address) (*types.Transaction, error)
func (*Transactor) VoteOrganizationThresholdTx ¶
func (t *Transactor) VoteOrganizationThresholdTx(txopts *gasless.TransactOpts, orgID common.Hash, threshold *big.Int) (*types.Transaction, error)
func (*Transactor) VoteReleaseTx ¶
func (t *Transactor) VoteReleaseTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName, tag, releaseCID, metaCID string) (*types.Transaction, error)
func (*Transactor) VoteRepositoryThresholdTx ¶
func (t *Transactor) VoteRepositoryThresholdTx(txopts *gasless.TransactOpts, orgID common.Hash, repoName string, threshold *big.Int) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.