Versions in this module Expand all Collapse all v1 v1.11.10 Jul 13, 2024 Changes in this version + const MaxPageSize + var ErrNoFunds = errors.New("no spendable funds were found") + type AtomicTxBuilder interface + NewExportTx func(amount uint64, chainID ids.ID, to ids.ShortID, keys []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + NewImportTx func(chainID ids.ID, to ids.ShortID, keys []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + type Builder interface + func New(ctx *snow.Context, cfg *config.Config, clk *mockable.Clock, fx fx.Fx, ...) Builder + type DecisionTxBuilder interface + NewBaseTx func(amount uint64, owner secp256k1fx.OutputOwners, keys []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + NewCreateChainTx func(subnetID ids.ID, genesisData []byte, vmID ids.ID, fxIDs []ids.ID, ...) (*txs.Tx, error) + NewCreateSubnetTx func(threshold uint32, ownerAddrs []ids.ShortID, keys []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + type MockBuilder struct + func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder + func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder + func (m *MockBuilder) NewAddDelegatorTx(arg0, arg1, arg2 uint64, arg3 ids.NodeID, arg4 ids.ShortID, ...) (*txs.Tx, error) + func (m *MockBuilder) NewAddSubnetValidatorTx(arg0, arg1, arg2 uint64, arg3 ids.NodeID, arg4 ids.ID, ...) (*txs.Tx, error) + func (m *MockBuilder) NewAddValidatorTx(arg0, arg1, arg2 uint64, arg3 ids.NodeID, arg4 ids.ShortID, arg5 uint32, ...) (*txs.Tx, error) + func (m *MockBuilder) NewAdvanceTimeTx(arg0 time.Time) (*txs.Tx, error) + func (m *MockBuilder) NewBaseTx(arg0 uint64, arg1 secp256k1fx.OutputOwners, arg2 []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + func (m *MockBuilder) NewCreateChainTx(arg0 ids.ID, arg1 []byte, arg2 ids.ID, arg3 []ids.ID, arg4 string, ...) (*txs.Tx, error) + func (m *MockBuilder) NewCreateSubnetTx(arg0 uint32, arg1 []ids.ShortID, arg2 []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + func (m *MockBuilder) NewExportTx(arg0 uint64, arg1 ids.ID, arg2 ids.ShortID, arg3 []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + func (m *MockBuilder) NewImportTx(arg0 ids.ID, arg1 ids.ShortID, arg2 []*secp256k1.PrivateKey, arg3 ids.ShortID) (*txs.Tx, error) + func (m *MockBuilder) NewRemoveSubnetValidatorTx(arg0 ids.NodeID, arg1 ids.ID, arg2 []*secp256k1.PrivateKey, arg3 ids.ShortID) (*txs.Tx, error) + func (m *MockBuilder) NewRewardValidatorTx(arg0 ids.ID) (*txs.Tx, error) + func (m *MockBuilder) NewTransferSubnetOwnershipTx(arg0 ids.ID, arg1 uint32, arg2 []ids.ShortID, arg3 []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + type MockBuilderMockRecorder struct + func (mr *MockBuilderMockRecorder) NewAddDelegatorTx(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewAddSubnetValidatorTx(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewAddValidatorTx(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewAdvanceTimeTx(arg0 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewBaseTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewCreateChainTx(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewCreateSubnetTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewExportTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewImportTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewRemoveSubnetValidatorTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewRewardValidatorTx(arg0 interface{}) *gomock.Call + func (mr *MockBuilderMockRecorder) NewTransferSubnetOwnershipTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + type ProposalTxBuilder interface + NewAddDelegatorTx func(stakeAmount, startTime, endTime uint64, nodeID ids.NodeID, ...) (*txs.Tx, error) + NewAddSubnetValidatorTx func(weight, startTime, endTime uint64, nodeID ids.NodeID, subnetID ids.ID, ...) (*txs.Tx, error) + NewAddValidatorTx func(stakeAmount, startTime, endTime uint64, nodeID ids.NodeID, ...) (*txs.Tx, error) + NewAdvanceTimeTx func(timestamp time.Time) (*txs.Tx, error) + NewRemoveSubnetValidatorTx func(nodeID ids.NodeID, subnetID ids.ID, keys []*secp256k1.PrivateKey, ...) (*txs.Tx, error) + NewRewardValidatorTx func(txID ids.ID) (*txs.Tx, error) + NewTransferSubnetOwnershipTx func(subnetID ids.ID, threshold uint32, ownerAddrs []ids.ShortID, ...) (*txs.Tx, error)