test

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TestABI = "" /* 14102-byte string literal not displayed */

TestABI is the input ABI used to generate the binding from.

Variables

View Source
var (
	ValistAddress   = common.HexToAddress("0x11FE3bf493FeBc7B2690e6dc2D233b055F53c6E7")
	RegistryAddress = common.HexToAddress("0x3Ab77276F9c78bC7dE414048aa5E5156D217943B")
)
View Source
var TestBin = "" /* 38302-byte string literal not displayed */

TestBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Test

type Test struct {
	TestCaller     // Read-only binding to the contract
	TestTransactor // Write-only binding to the contract
	TestFilterer   // Log filterer for contract events
}

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

func DeployTest

func DeployTest(auth *bind.TransactOpts, backend bind.ContractBackend, metaTxForwarder common.Address) (common.Address, *types.Transaction, *Test, error)

DeployTest deploys a new Ethereum contract, binding an instance of Test to it.

func NewTest

func NewTest(address common.Address, backend bind.ContractBackend) (*Test, error)

NewTest creates a new instance of Test, bound to a specific deployed contract.

type TestCaller

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

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

func NewTestCaller

func NewTestCaller(address common.Address, caller bind.ContractCaller) (*TestCaller, error)

NewTestCaller creates a new read-only instance of Test, bound to a specific deployed contract.

func (*TestCaller) GetLatestRelease

func (_Test *TestCaller) GetLatestRelease(opts *bind.CallOpts, _orgID [32]byte, _repoName string) (string, string, string, []common.Address, error)

GetLatestRelease is a free data retrieval call binding the contract method 0x5cd20d29.

Solidity: function getLatestRelease(bytes32 _orgID, string _repoName) view returns(string, string, string, address[])

func (*TestCaller) GetPendingReleaseCount

func (_Test *TestCaller) GetPendingReleaseCount(opts *bind.CallOpts, _selector [32]byte) (*big.Int, error)

GetPendingReleaseCount is a free data retrieval call binding the contract method 0x924a5443.

Solidity: function getPendingReleaseCount(bytes32 _selector) view returns(uint256)

func (*TestCaller) GetPendingVotes

func (_Test *TestCaller) GetPendingVotes(opts *bind.CallOpts, _selector [32]byte) (*big.Int, []common.Address, error)

GetPendingVotes is a free data retrieval call binding the contract method 0xd565e860.

Solidity: function getPendingVotes(bytes32 _selector) view returns(uint256, address[])

func (*TestCaller) GetReleaseTags

func (_Test *TestCaller) GetReleaseTags(opts *bind.CallOpts, _selector [32]byte, _page *big.Int, _resultsPerPage *big.Int) ([]string, error)

GetReleaseTags is a free data retrieval call binding the contract method 0xf3439d56.

Solidity: function getReleaseTags(bytes32 _selector, uint256 _page, uint256 _resultsPerPage) view returns(string[])

func (*TestCaller) GetRepoNames

func (_Test *TestCaller) GetRepoNames(opts *bind.CallOpts, _orgID [32]byte, _page *big.Int, _resultsPerPage *big.Int) ([]string, error)

GetRepoNames is a free data retrieval call binding the contract method 0x837dc4d0.

Solidity: function getRepoNames(bytes32 _orgID, uint256 _page, uint256 _resultsPerPage) view returns(string[])

func (*TestCaller) GetRoleMembers

func (_Test *TestCaller) GetRoleMembers(opts *bind.CallOpts, _selector [32]byte) ([]common.Address, error)

GetRoleMembers is a free data retrieval call binding the contract method 0xa3246ad3.

Solidity: function getRoleMembers(bytes32 _selector) view returns(address[])

func (*TestCaller) GetRoleRequestCount

func (_Test *TestCaller) GetRoleRequestCount(opts *bind.CallOpts, _selector [32]byte) (*big.Int, error)

GetRoleRequestCount is a free data retrieval call binding the contract method 0x3e1bf64b.

Solidity: function getRoleRequestCount(bytes32 _selector) view returns(uint256)

func (*TestCaller) GetThresholdRequestCount

func (_Test *TestCaller) GetThresholdRequestCount(opts *bind.CallOpts, _selector [32]byte) (*big.Int, error)

GetThresholdRequestCount is a free data retrieval call binding the contract method 0x3b0659fd.

Solidity: function getThresholdRequestCount(bytes32 _selector) view returns(uint256)

func (*TestCaller) IsOrgAdmin

func (_Test *TestCaller) IsOrgAdmin(opts *bind.CallOpts, _orgID [32]byte, _address common.Address) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0xd96162a1.

Solidity: function isOrgAdmin(bytes32 _orgID, address _address) view returns(bool)

func (*TestCaller) IsRepoDev

func (_Test *TestCaller) IsRepoDev(opts *bind.CallOpts, _orgID [32]byte, _repoName string, _address common.Address) (bool, error)

IsRepoDev is a free data retrieval call binding the contract method 0x1fd522a6.

Solidity: function isRepoDev(bytes32 _orgID, string _repoName, address _address) view returns(bool)

func (*TestCaller) IsTrustedForwarder

func (_Test *TestCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*TestCaller) OrgCount

func (_Test *TestCaller) OrgCount(opts *bind.CallOpts) (*big.Int, error)

OrgCount is a free data retrieval call binding the contract method 0xd8106690.

Solidity: function orgCount() view returns(uint256)

func (*TestCaller) OrgIDs

func (_Test *TestCaller) OrgIDs(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

OrgIDs is a free data retrieval call binding the contract method 0x8775692f.

Solidity: function orgIDs(uint256 ) view returns(bytes32)

func (*TestCaller) Orgs

func (_Test *TestCaller) Orgs(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Threshold     *big.Int
	ThresholdDate *big.Int
	MetaCID       string
}, error)

Orgs is a free data retrieval call binding the contract method 0xa3e84beb.

Solidity: function orgs(bytes32 ) view returns(uint256 threshold, uint256 thresholdDate, string metaCID)

func (*TestCaller) PendingReleaseRequests

func (_Test *TestCaller) PendingReleaseRequests(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (struct {
	Tag        string
	ReleaseCID string
	MetaCID    string
}, error)

PendingReleaseRequests is a free data retrieval call binding the contract method 0xa940abcb.

Solidity: function pendingReleaseRequests(bytes32 , uint256 ) view returns(string tag, string releaseCID, string metaCID)

func (*TestCaller) PendingRoleRequests

func (_Test *TestCaller) PendingRoleRequests(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)

PendingRoleRequests is a free data retrieval call binding the contract method 0xdfec1bb0.

Solidity: function pendingRoleRequests(bytes32 , uint256 ) view returns(address)

func (*TestCaller) PendingThresholdRequests

func (_Test *TestCaller) PendingThresholdRequests(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (*big.Int, error)

PendingThresholdRequests is a free data retrieval call binding the contract method 0xc372be80.

Solidity: function pendingThresholdRequests(bytes32 , uint256 ) view returns(uint256)

func (*TestCaller) Releases

func (_Test *TestCaller) Releases(opts *bind.CallOpts, arg0 [32]byte) (struct {
	ReleaseCID string
	MetaCID    string
}, error)

Releases is a free data retrieval call binding the contract method 0xf491a84c.

Solidity: function releases(bytes32 ) view returns(string releaseCID, string metaCID)

func (*TestCaller) Repos

func (_Test *TestCaller) Repos(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Exists        bool
	Threshold     *big.Int
	ThresholdDate *big.Int
	MetaCID       string
}, error)

Repos is a free data retrieval call binding the contract method 0x02b2583a.

Solidity: function repos(bytes32 ) view returns(bool exists, uint256 threshold, uint256 thresholdDate, string metaCID)

func (*TestCaller) RoleModifiedTimestamps

func (_Test *TestCaller) RoleModifiedTimestamps(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

RoleModifiedTimestamps is a free data retrieval call binding the contract method 0x8bf67370.

Solidity: function roleModifiedTimestamps(bytes32 ) view returns(uint256)

func (*TestCaller) VersionRecipient

func (_Test *TestCaller) VersionRecipient(opts *bind.CallOpts) (string, error)

VersionRecipient is a free data retrieval call binding the contract method 0x486ff0cd.

Solidity: function versionRecipient() view returns(string)

type TestCallerRaw

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

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

func (*TestCallerRaw) Call

func (_Test *TestCallerRaw) 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 TestCallerSession

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

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

func (*TestCallerSession) GetLatestRelease

func (_Test *TestCallerSession) GetLatestRelease(_orgID [32]byte, _repoName string) (string, string, string, []common.Address, error)

GetLatestRelease is a free data retrieval call binding the contract method 0x5cd20d29.

Solidity: function getLatestRelease(bytes32 _orgID, string _repoName) view returns(string, string, string, address[])

func (*TestCallerSession) GetPendingReleaseCount

func (_Test *TestCallerSession) GetPendingReleaseCount(_selector [32]byte) (*big.Int, error)

GetPendingReleaseCount is a free data retrieval call binding the contract method 0x924a5443.

Solidity: function getPendingReleaseCount(bytes32 _selector) view returns(uint256)

func (*TestCallerSession) GetPendingVotes

func (_Test *TestCallerSession) GetPendingVotes(_selector [32]byte) (*big.Int, []common.Address, error)

GetPendingVotes is a free data retrieval call binding the contract method 0xd565e860.

Solidity: function getPendingVotes(bytes32 _selector) view returns(uint256, address[])

func (*TestCallerSession) GetReleaseTags

func (_Test *TestCallerSession) GetReleaseTags(_selector [32]byte, _page *big.Int, _resultsPerPage *big.Int) ([]string, error)

GetReleaseTags is a free data retrieval call binding the contract method 0xf3439d56.

Solidity: function getReleaseTags(bytes32 _selector, uint256 _page, uint256 _resultsPerPage) view returns(string[])

func (*TestCallerSession) GetRepoNames

func (_Test *TestCallerSession) GetRepoNames(_orgID [32]byte, _page *big.Int, _resultsPerPage *big.Int) ([]string, error)

GetRepoNames is a free data retrieval call binding the contract method 0x837dc4d0.

Solidity: function getRepoNames(bytes32 _orgID, uint256 _page, uint256 _resultsPerPage) view returns(string[])

func (*TestCallerSession) GetRoleMembers

func (_Test *TestCallerSession) GetRoleMembers(_selector [32]byte) ([]common.Address, error)

GetRoleMembers is a free data retrieval call binding the contract method 0xa3246ad3.

Solidity: function getRoleMembers(bytes32 _selector) view returns(address[])

func (*TestCallerSession) GetRoleRequestCount

func (_Test *TestCallerSession) GetRoleRequestCount(_selector [32]byte) (*big.Int, error)

GetRoleRequestCount is a free data retrieval call binding the contract method 0x3e1bf64b.

Solidity: function getRoleRequestCount(bytes32 _selector) view returns(uint256)

func (*TestCallerSession) GetThresholdRequestCount

func (_Test *TestCallerSession) GetThresholdRequestCount(_selector [32]byte) (*big.Int, error)

GetThresholdRequestCount is a free data retrieval call binding the contract method 0x3b0659fd.

Solidity: function getThresholdRequestCount(bytes32 _selector) view returns(uint256)

func (*TestCallerSession) IsOrgAdmin

func (_Test *TestCallerSession) IsOrgAdmin(_orgID [32]byte, _address common.Address) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0xd96162a1.

Solidity: function isOrgAdmin(bytes32 _orgID, address _address) view returns(bool)

func (*TestCallerSession) IsRepoDev

func (_Test *TestCallerSession) IsRepoDev(_orgID [32]byte, _repoName string, _address common.Address) (bool, error)

IsRepoDev is a free data retrieval call binding the contract method 0x1fd522a6.

Solidity: function isRepoDev(bytes32 _orgID, string _repoName, address _address) view returns(bool)

func (*TestCallerSession) IsTrustedForwarder

func (_Test *TestCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*TestCallerSession) OrgCount

func (_Test *TestCallerSession) OrgCount() (*big.Int, error)

OrgCount is a free data retrieval call binding the contract method 0xd8106690.

Solidity: function orgCount() view returns(uint256)

func (*TestCallerSession) OrgIDs

func (_Test *TestCallerSession) OrgIDs(arg0 *big.Int) ([32]byte, error)

OrgIDs is a free data retrieval call binding the contract method 0x8775692f.

Solidity: function orgIDs(uint256 ) view returns(bytes32)

func (*TestCallerSession) Orgs

func (_Test *TestCallerSession) Orgs(arg0 [32]byte) (struct {
	Threshold     *big.Int
	ThresholdDate *big.Int
	MetaCID       string
}, error)

Orgs is a free data retrieval call binding the contract method 0xa3e84beb.

Solidity: function orgs(bytes32 ) view returns(uint256 threshold, uint256 thresholdDate, string metaCID)

func (*TestCallerSession) PendingReleaseRequests

func (_Test *TestCallerSession) PendingReleaseRequests(arg0 [32]byte, arg1 *big.Int) (struct {
	Tag        string
	ReleaseCID string
	MetaCID    string
}, error)

PendingReleaseRequests is a free data retrieval call binding the contract method 0xa940abcb.

Solidity: function pendingReleaseRequests(bytes32 , uint256 ) view returns(string tag, string releaseCID, string metaCID)

func (*TestCallerSession) PendingRoleRequests

func (_Test *TestCallerSession) PendingRoleRequests(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

PendingRoleRequests is a free data retrieval call binding the contract method 0xdfec1bb0.

Solidity: function pendingRoleRequests(bytes32 , uint256 ) view returns(address)

func (*TestCallerSession) PendingThresholdRequests

func (_Test *TestCallerSession) PendingThresholdRequests(arg0 [32]byte, arg1 *big.Int) (*big.Int, error)

PendingThresholdRequests is a free data retrieval call binding the contract method 0xc372be80.

Solidity: function pendingThresholdRequests(bytes32 , uint256 ) view returns(uint256)

func (*TestCallerSession) Releases

func (_Test *TestCallerSession) Releases(arg0 [32]byte) (struct {
	ReleaseCID string
	MetaCID    string
}, error)

Releases is a free data retrieval call binding the contract method 0xf491a84c.

Solidity: function releases(bytes32 ) view returns(string releaseCID, string metaCID)

func (*TestCallerSession) Repos

func (_Test *TestCallerSession) Repos(arg0 [32]byte) (struct {
	Exists        bool
	Threshold     *big.Int
	ThresholdDate *big.Int
	MetaCID       string
}, error)

Repos is a free data retrieval call binding the contract method 0x02b2583a.

Solidity: function repos(bytes32 ) view returns(bool exists, uint256 threshold, uint256 thresholdDate, string metaCID)

func (*TestCallerSession) RoleModifiedTimestamps

func (_Test *TestCallerSession) RoleModifiedTimestamps(arg0 [32]byte) (*big.Int, error)

RoleModifiedTimestamps is a free data retrieval call binding the contract method 0x8bf67370.

Solidity: function roleModifiedTimestamps(bytes32 ) view returns(uint256)

func (*TestCallerSession) VersionRecipient

func (_Test *TestCallerSession) VersionRecipient() (string, error)

VersionRecipient is a free data retrieval call binding the contract method 0x486ff0cd.

Solidity: function versionRecipient() view returns(string)

type TestFilterer

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

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

func NewTestFilterer

func NewTestFilterer(address common.Address, filterer bind.ContractFilterer) (*TestFilterer, error)

NewTestFilterer creates a new log filterer instance of Test, bound to a specific deployed contract.

func (*TestFilterer) FilterMetaUpdate

func (_Test *TestFilterer) FilterMetaUpdate(opts *bind.FilterOpts, _orgID [][32]byte, _repoName []string, _signer []common.Address) (*TestMetaUpdateIterator, error)

FilterMetaUpdate is a free log retrieval operation binding the contract event 0x082dfc0cda6cc25674875e2dcd882c68a8b2c80bf48e58c6a3dc2384c6985955.

Solidity: event MetaUpdate(bytes32 indexed _orgID, string indexed _repoName, address indexed _signer, string _metaCID)

func (*TestFilterer) FilterOrgCreated

func (_Test *TestFilterer) FilterOrgCreated(opts *bind.FilterOpts, _orgID [][32]byte, _metaCIDHash []string) (*TestOrgCreatedIterator, error)

FilterOrgCreated is a free log retrieval operation binding the contract event 0xc5eb86c0b2c1ce6abdc8dea996a5aa6cf196b33ee7a2c140ce4f04f2fbb3baab.

Solidity: event OrgCreated(bytes32 indexed _orgID, string indexed _metaCIDHash, string _metaCID)

func (*TestFilterer) FilterRepoCreated

func (_Test *TestFilterer) FilterRepoCreated(opts *bind.FilterOpts, _orgID [][32]byte, _repoNameHash []string, _metaCIDHash []string) (*TestRepoCreatedIterator, error)

FilterRepoCreated is a free log retrieval operation binding the contract event 0x50b56e7c402d556bc61b6fc9bba647b83c4590f2fca5a6d463450e78f3a2d44c.

Solidity: event RepoCreated(bytes32 indexed _orgID, string indexed _repoNameHash, string _repoName, string indexed _metaCIDHash, string _metaCID)

func (*TestFilterer) FilterVoteKeyEvent

func (_Test *TestFilterer) FilterVoteKeyEvent(opts *bind.FilterOpts, _orgID [][32]byte, _repoName []string, _key []common.Address) (*TestVoteKeyEventIterator, error)

FilterVoteKeyEvent is a free log retrieval operation binding the contract event 0xa8cea71b77054741d93ac504e0ee90fa3e815d68104468d65f9eb36924a8d590.

Solidity: event VoteKeyEvent(bytes32 indexed _orgID, string indexed _repoName, address _signer, bytes32 _operation, address indexed _key, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) FilterVoteReleaseEvent

func (_Test *TestFilterer) FilterVoteReleaseEvent(opts *bind.FilterOpts, _orgID [][32]byte, _repoName []string, _tag []string) (*TestVoteReleaseEventIterator, error)

FilterVoteReleaseEvent is a free log retrieval operation binding the contract event 0x38b17387282322f8d6de03e5d4b3ff512d3bb4d3db8cc2be4611ecfb8a126c6b.

Solidity: event VoteReleaseEvent(bytes32 indexed _orgID, string indexed _repoName, string indexed _tag, string _releaseCID, string _metaCID, address _signer, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) FilterVoteThresholdEvent

func (_Test *TestFilterer) FilterVoteThresholdEvent(opts *bind.FilterOpts, _orgID [][32]byte, _repoName []string, _pendingThreshold []*big.Int) (*TestVoteThresholdEventIterator, error)

FilterVoteThresholdEvent is a free log retrieval operation binding the contract event 0x2daad345bbc18b1fa8a7f542403081df42c546dd841a44507d53e174e761ce89.

Solidity: event VoteThresholdEvent(bytes32 indexed _orgID, string indexed _repoName, address _signer, uint256 indexed _pendingThreshold, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) ParseMetaUpdate

func (_Test *TestFilterer) ParseMetaUpdate(log types.Log) (*TestMetaUpdate, error)

ParseMetaUpdate is a log parse operation binding the contract event 0x082dfc0cda6cc25674875e2dcd882c68a8b2c80bf48e58c6a3dc2384c6985955.

Solidity: event MetaUpdate(bytes32 indexed _orgID, string indexed _repoName, address indexed _signer, string _metaCID)

func (*TestFilterer) ParseOrgCreated

func (_Test *TestFilterer) ParseOrgCreated(log types.Log) (*TestOrgCreated, error)

ParseOrgCreated is a log parse operation binding the contract event 0xc5eb86c0b2c1ce6abdc8dea996a5aa6cf196b33ee7a2c140ce4f04f2fbb3baab.

Solidity: event OrgCreated(bytes32 indexed _orgID, string indexed _metaCIDHash, string _metaCID)

func (*TestFilterer) ParseRepoCreated

func (_Test *TestFilterer) ParseRepoCreated(log types.Log) (*TestRepoCreated, error)

ParseRepoCreated is a log parse operation binding the contract event 0x50b56e7c402d556bc61b6fc9bba647b83c4590f2fca5a6d463450e78f3a2d44c.

Solidity: event RepoCreated(bytes32 indexed _orgID, string indexed _repoNameHash, string _repoName, string indexed _metaCIDHash, string _metaCID)

func (*TestFilterer) ParseVoteKeyEvent

func (_Test *TestFilterer) ParseVoteKeyEvent(log types.Log) (*TestVoteKeyEvent, error)

ParseVoteKeyEvent is a log parse operation binding the contract event 0xa8cea71b77054741d93ac504e0ee90fa3e815d68104468d65f9eb36924a8d590.

Solidity: event VoteKeyEvent(bytes32 indexed _orgID, string indexed _repoName, address _signer, bytes32 _operation, address indexed _key, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) ParseVoteReleaseEvent

func (_Test *TestFilterer) ParseVoteReleaseEvent(log types.Log) (*TestVoteReleaseEvent, error)

ParseVoteReleaseEvent is a log parse operation binding the contract event 0x38b17387282322f8d6de03e5d4b3ff512d3bb4d3db8cc2be4611ecfb8a126c6b.

Solidity: event VoteReleaseEvent(bytes32 indexed _orgID, string indexed _repoName, string indexed _tag, string _releaseCID, string _metaCID, address _signer, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) ParseVoteThresholdEvent

func (_Test *TestFilterer) ParseVoteThresholdEvent(log types.Log) (*TestVoteThresholdEvent, error)

ParseVoteThresholdEvent is a log parse operation binding the contract event 0x2daad345bbc18b1fa8a7f542403081df42c546dd841a44507d53e174e761ce89.

Solidity: event VoteThresholdEvent(bytes32 indexed _orgID, string indexed _repoName, address _signer, uint256 indexed _pendingThreshold, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) WatchMetaUpdate

func (_Test *TestFilterer) WatchMetaUpdate(opts *bind.WatchOpts, sink chan<- *TestMetaUpdate, _orgID [][32]byte, _repoName []string, _signer []common.Address) (event.Subscription, error)

WatchMetaUpdate is a free log subscription operation binding the contract event 0x082dfc0cda6cc25674875e2dcd882c68a8b2c80bf48e58c6a3dc2384c6985955.

Solidity: event MetaUpdate(bytes32 indexed _orgID, string indexed _repoName, address indexed _signer, string _metaCID)

func (*TestFilterer) WatchOrgCreated

func (_Test *TestFilterer) WatchOrgCreated(opts *bind.WatchOpts, sink chan<- *TestOrgCreated, _orgID [][32]byte, _metaCIDHash []string) (event.Subscription, error)

WatchOrgCreated is a free log subscription operation binding the contract event 0xc5eb86c0b2c1ce6abdc8dea996a5aa6cf196b33ee7a2c140ce4f04f2fbb3baab.

Solidity: event OrgCreated(bytes32 indexed _orgID, string indexed _metaCIDHash, string _metaCID)

func (*TestFilterer) WatchRepoCreated

func (_Test *TestFilterer) WatchRepoCreated(opts *bind.WatchOpts, sink chan<- *TestRepoCreated, _orgID [][32]byte, _repoNameHash []string, _metaCIDHash []string) (event.Subscription, error)

WatchRepoCreated is a free log subscription operation binding the contract event 0x50b56e7c402d556bc61b6fc9bba647b83c4590f2fca5a6d463450e78f3a2d44c.

Solidity: event RepoCreated(bytes32 indexed _orgID, string indexed _repoNameHash, string _repoName, string indexed _metaCIDHash, string _metaCID)

func (*TestFilterer) WatchVoteKeyEvent

func (_Test *TestFilterer) WatchVoteKeyEvent(opts *bind.WatchOpts, sink chan<- *TestVoteKeyEvent, _orgID [][32]byte, _repoName []string, _key []common.Address) (event.Subscription, error)

WatchVoteKeyEvent is a free log subscription operation binding the contract event 0xa8cea71b77054741d93ac504e0ee90fa3e815d68104468d65f9eb36924a8d590.

Solidity: event VoteKeyEvent(bytes32 indexed _orgID, string indexed _repoName, address _signer, bytes32 _operation, address indexed _key, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) WatchVoteReleaseEvent

func (_Test *TestFilterer) WatchVoteReleaseEvent(opts *bind.WatchOpts, sink chan<- *TestVoteReleaseEvent, _orgID [][32]byte, _repoName []string, _tag []string) (event.Subscription, error)

WatchVoteReleaseEvent is a free log subscription operation binding the contract event 0x38b17387282322f8d6de03e5d4b3ff512d3bb4d3db8cc2be4611ecfb8a126c6b.

Solidity: event VoteReleaseEvent(bytes32 indexed _orgID, string indexed _repoName, string indexed _tag, string _releaseCID, string _metaCID, address _signer, uint256 _sigCount, uint256 _threshold)

func (*TestFilterer) WatchVoteThresholdEvent

func (_Test *TestFilterer) WatchVoteThresholdEvent(opts *bind.WatchOpts, sink chan<- *TestVoteThresholdEvent, _orgID [][32]byte, _repoName []string, _pendingThreshold []*big.Int) (event.Subscription, error)

WatchVoteThresholdEvent is a free log subscription operation binding the contract event 0x2daad345bbc18b1fa8a7f542403081df42c546dd841a44507d53e174e761ce89.

Solidity: event VoteThresholdEvent(bytes32 indexed _orgID, string indexed _repoName, address _signer, uint256 indexed _pendingThreshold, uint256 _sigCount, uint256 _threshold)

type TestMetaUpdate

type TestMetaUpdate struct {
	OrgID    [32]byte
	RepoName common.Hash
	Signer   common.Address
	MetaCID  string
	Raw      types.Log // Blockchain specific contextual infos
}

TestMetaUpdate represents a MetaUpdate event raised by the Test contract.

type TestMetaUpdateIterator

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

TestMetaUpdateIterator is returned from FilterMetaUpdate and is used to iterate over the raw logs and unpacked data for MetaUpdate events raised by the Test contract.

func (*TestMetaUpdateIterator) Close

func (it *TestMetaUpdateIterator) Close() error

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

func (*TestMetaUpdateIterator) Error

func (it *TestMetaUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestMetaUpdateIterator) Next

func (it *TestMetaUpdateIterator) Next() bool

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 TestOrgCreated

type TestOrgCreated struct {
	OrgID       [32]byte
	MetaCIDHash common.Hash
	MetaCID     string
	Raw         types.Log // Blockchain specific contextual infos
}

TestOrgCreated represents a OrgCreated event raised by the Test contract.

type TestOrgCreatedIterator

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

TestOrgCreatedIterator is returned from FilterOrgCreated and is used to iterate over the raw logs and unpacked data for OrgCreated events raised by the Test contract.

func (*TestOrgCreatedIterator) Close

func (it *TestOrgCreatedIterator) Close() error

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

func (*TestOrgCreatedIterator) Error

func (it *TestOrgCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestOrgCreatedIterator) Next

func (it *TestOrgCreatedIterator) Next() bool

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 TestRaw

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

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

func (*TestRaw) Call

func (_Test *TestRaw) 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 (*TestRaw) Transact

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

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

func (*TestRaw) Transfer

func (_Test *TestRaw) 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 TestRepoCreated

type TestRepoCreated struct {
	OrgID        [32]byte
	RepoNameHash common.Hash
	RepoName     string
	MetaCIDHash  common.Hash
	MetaCID      string
	Raw          types.Log // Blockchain specific contextual infos
}

TestRepoCreated represents a RepoCreated event raised by the Test contract.

type TestRepoCreatedIterator

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

TestRepoCreatedIterator is returned from FilterRepoCreated and is used to iterate over the raw logs and unpacked data for RepoCreated events raised by the Test contract.

func (*TestRepoCreatedIterator) Close

func (it *TestRepoCreatedIterator) Close() error

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

func (*TestRepoCreatedIterator) Error

func (it *TestRepoCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestRepoCreatedIterator) Next

func (it *TestRepoCreatedIterator) Next() bool

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 TestSession

type TestSession struct {
	Contract     *Test             // 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
}

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

func (*TestSession) ClearPendingKey

func (_Test *TestSession) ClearPendingKey(_orgID [32]byte, _repoName string, _operation [32]byte, _key common.Address, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingKey is a paid mutator transaction binding the contract method 0x40fd48a7.

Solidity: function clearPendingKey(bytes32 _orgID, string _repoName, bytes32 _operation, address _key, uint256 _requestIndex) returns()

func (*TestSession) ClearPendingRelease

func (_Test *TestSession) ClearPendingRelease(_orgID [32]byte, _repoName string, _tag string, _releaseCID string, _metaCID string, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingRelease is a paid mutator transaction binding the contract method 0xc6c2a0be.

Solidity: function clearPendingRelease(bytes32 _orgID, string _repoName, string _tag, string _releaseCID, string _metaCID, uint256 _requestIndex) returns()

func (*TestSession) ClearPendingThreshold

func (_Test *TestSession) ClearPendingThreshold(_orgID [32]byte, _repoName string, _threshold *big.Int, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingThreshold is a paid mutator transaction binding the contract method 0xb93d1685.

Solidity: function clearPendingThreshold(bytes32 _orgID, string _repoName, uint256 _threshold, uint256 _requestIndex) returns()

func (*TestSession) CreateOrganization

func (_Test *TestSession) CreateOrganization(_orgMeta string) (*types.Transaction, error)

CreateOrganization is a paid mutator transaction binding the contract method 0x6427acca.

Solidity: function createOrganization(string _orgMeta) returns()

func (*TestSession) CreateRepository

func (_Test *TestSession) CreateRepository(_orgID [32]byte, _repoName string, _repoMeta string) (*types.Transaction, error)

CreateRepository is a paid mutator transaction binding the contract method 0xe59dbfa4.

Solidity: function createRepository(bytes32 _orgID, string _repoName, string _repoMeta) returns()

func (*TestSession) GetLatestRelease

func (_Test *TestSession) GetLatestRelease(_orgID [32]byte, _repoName string) (string, string, string, []common.Address, error)

GetLatestRelease is a free data retrieval call binding the contract method 0x5cd20d29.

Solidity: function getLatestRelease(bytes32 _orgID, string _repoName) view returns(string, string, string, address[])

func (*TestSession) GetPendingReleaseCount

func (_Test *TestSession) GetPendingReleaseCount(_selector [32]byte) (*big.Int, error)

GetPendingReleaseCount is a free data retrieval call binding the contract method 0x924a5443.

Solidity: function getPendingReleaseCount(bytes32 _selector) view returns(uint256)

func (*TestSession) GetPendingVotes

func (_Test *TestSession) GetPendingVotes(_selector [32]byte) (*big.Int, []common.Address, error)

GetPendingVotes is a free data retrieval call binding the contract method 0xd565e860.

Solidity: function getPendingVotes(bytes32 _selector) view returns(uint256, address[])

func (*TestSession) GetReleaseTags

func (_Test *TestSession) GetReleaseTags(_selector [32]byte, _page *big.Int, _resultsPerPage *big.Int) ([]string, error)

GetReleaseTags is a free data retrieval call binding the contract method 0xf3439d56.

Solidity: function getReleaseTags(bytes32 _selector, uint256 _page, uint256 _resultsPerPage) view returns(string[])

func (*TestSession) GetRepoNames

func (_Test *TestSession) GetRepoNames(_orgID [32]byte, _page *big.Int, _resultsPerPage *big.Int) ([]string, error)

GetRepoNames is a free data retrieval call binding the contract method 0x837dc4d0.

Solidity: function getRepoNames(bytes32 _orgID, uint256 _page, uint256 _resultsPerPage) view returns(string[])

func (*TestSession) GetRoleMembers

func (_Test *TestSession) GetRoleMembers(_selector [32]byte) ([]common.Address, error)

GetRoleMembers is a free data retrieval call binding the contract method 0xa3246ad3.

Solidity: function getRoleMembers(bytes32 _selector) view returns(address[])

func (*TestSession) GetRoleRequestCount

func (_Test *TestSession) GetRoleRequestCount(_selector [32]byte) (*big.Int, error)

GetRoleRequestCount is a free data retrieval call binding the contract method 0x3e1bf64b.

Solidity: function getRoleRequestCount(bytes32 _selector) view returns(uint256)

func (*TestSession) GetThresholdRequestCount

func (_Test *TestSession) GetThresholdRequestCount(_selector [32]byte) (*big.Int, error)

GetThresholdRequestCount is a free data retrieval call binding the contract method 0x3b0659fd.

Solidity: function getThresholdRequestCount(bytes32 _selector) view returns(uint256)

func (*TestSession) IsOrgAdmin

func (_Test *TestSession) IsOrgAdmin(_orgID [32]byte, _address common.Address) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0xd96162a1.

Solidity: function isOrgAdmin(bytes32 _orgID, address _address) view returns(bool)

func (*TestSession) IsRepoDev

func (_Test *TestSession) IsRepoDev(_orgID [32]byte, _repoName string, _address common.Address) (bool, error)

IsRepoDev is a free data retrieval call binding the contract method 0x1fd522a6.

Solidity: function isRepoDev(bytes32 _orgID, string _repoName, address _address) view returns(bool)

func (*TestSession) IsTrustedForwarder

func (_Test *TestSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*TestSession) OrgCount

func (_Test *TestSession) OrgCount() (*big.Int, error)

OrgCount is a free data retrieval call binding the contract method 0xd8106690.

Solidity: function orgCount() view returns(uint256)

func (*TestSession) OrgIDs

func (_Test *TestSession) OrgIDs(arg0 *big.Int) ([32]byte, error)

OrgIDs is a free data retrieval call binding the contract method 0x8775692f.

Solidity: function orgIDs(uint256 ) view returns(bytes32)

func (*TestSession) Orgs

func (_Test *TestSession) Orgs(arg0 [32]byte) (struct {
	Threshold     *big.Int
	ThresholdDate *big.Int
	MetaCID       string
}, error)

Orgs is a free data retrieval call binding the contract method 0xa3e84beb.

Solidity: function orgs(bytes32 ) view returns(uint256 threshold, uint256 thresholdDate, string metaCID)

func (*TestSession) PendingReleaseRequests

func (_Test *TestSession) PendingReleaseRequests(arg0 [32]byte, arg1 *big.Int) (struct {
	Tag        string
	ReleaseCID string
	MetaCID    string
}, error)

PendingReleaseRequests is a free data retrieval call binding the contract method 0xa940abcb.

Solidity: function pendingReleaseRequests(bytes32 , uint256 ) view returns(string tag, string releaseCID, string metaCID)

func (*TestSession) PendingRoleRequests

func (_Test *TestSession) PendingRoleRequests(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

PendingRoleRequests is a free data retrieval call binding the contract method 0xdfec1bb0.

Solidity: function pendingRoleRequests(bytes32 , uint256 ) view returns(address)

func (*TestSession) PendingThresholdRequests

func (_Test *TestSession) PendingThresholdRequests(arg0 [32]byte, arg1 *big.Int) (*big.Int, error)

PendingThresholdRequests is a free data retrieval call binding the contract method 0xc372be80.

Solidity: function pendingThresholdRequests(bytes32 , uint256 ) view returns(uint256)

func (*TestSession) Releases

func (_Test *TestSession) Releases(arg0 [32]byte) (struct {
	ReleaseCID string
	MetaCID    string
}, error)

Releases is a free data retrieval call binding the contract method 0xf491a84c.

Solidity: function releases(bytes32 ) view returns(string releaseCID, string metaCID)

func (*TestSession) Repos

func (_Test *TestSession) Repos(arg0 [32]byte) (struct {
	Exists        bool
	Threshold     *big.Int
	ThresholdDate *big.Int
	MetaCID       string
}, error)

Repos is a free data retrieval call binding the contract method 0x02b2583a.

Solidity: function repos(bytes32 ) view returns(bool exists, uint256 threshold, uint256 thresholdDate, string metaCID)

func (*TestSession) RoleModifiedTimestamps

func (_Test *TestSession) RoleModifiedTimestamps(arg0 [32]byte) (*big.Int, error)

RoleModifiedTimestamps is a free data retrieval call binding the contract method 0x8bf67370.

Solidity: function roleModifiedTimestamps(bytes32 ) view returns(uint256)

func (*TestSession) SetOrgMeta

func (_Test *TestSession) SetOrgMeta(_orgID [32]byte, _metaCID string) (*types.Transaction, error)

SetOrgMeta is a paid mutator transaction binding the contract method 0xe253f5e1.

Solidity: function setOrgMeta(bytes32 _orgID, string _metaCID) returns()

func (*TestSession) SetRepoMeta

func (_Test *TestSession) SetRepoMeta(_orgID [32]byte, _repoName string, _metaCID string) (*types.Transaction, error)

SetRepoMeta is a paid mutator transaction binding the contract method 0xdedc3391.

Solidity: function setRepoMeta(bytes32 _orgID, string _repoName, string _metaCID) returns()

func (*TestSession) VersionRecipient

func (_Test *TestSession) VersionRecipient() (string, error)

VersionRecipient is a free data retrieval call binding the contract method 0x486ff0cd.

Solidity: function versionRecipient() view returns(string)

func (*TestSession) VoteKey

func (_Test *TestSession) VoteKey(_orgID [32]byte, _repoName string, _operation [32]byte, _key common.Address) (*types.Transaction, error)

VoteKey is a paid mutator transaction binding the contract method 0xf26f3c56.

Solidity: function voteKey(bytes32 _orgID, string _repoName, bytes32 _operation, address _key) returns()

func (*TestSession) VoteRelease

func (_Test *TestSession) VoteRelease(_orgID [32]byte, _repoName string, _tag string, _releaseCID string, _metaCID string) (*types.Transaction, error)

VoteRelease is a paid mutator transaction binding the contract method 0x328d3ddf.

Solidity: function voteRelease(bytes32 _orgID, string _repoName, string _tag, string _releaseCID, string _metaCID) returns()

func (*TestSession) VoteThreshold

func (_Test *TestSession) VoteThreshold(_orgID [32]byte, _repoName string, _threshold *big.Int) (*types.Transaction, error)

VoteThreshold is a paid mutator transaction binding the contract method 0xf735b352.

Solidity: function voteThreshold(bytes32 _orgID, string _repoName, uint256 _threshold) returns()

type TestTransactor

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

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

func NewTestTransactor

func NewTestTransactor(address common.Address, transactor bind.ContractTransactor) (*TestTransactor, error)

NewTestTransactor creates a new write-only instance of Test, bound to a specific deployed contract.

func (*TestTransactor) ClearPendingKey

func (_Test *TestTransactor) ClearPendingKey(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _operation [32]byte, _key common.Address, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingKey is a paid mutator transaction binding the contract method 0x40fd48a7.

Solidity: function clearPendingKey(bytes32 _orgID, string _repoName, bytes32 _operation, address _key, uint256 _requestIndex) returns()

func (*TestTransactor) ClearPendingRelease

func (_Test *TestTransactor) ClearPendingRelease(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _tag string, _releaseCID string, _metaCID string, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingRelease is a paid mutator transaction binding the contract method 0xc6c2a0be.

Solidity: function clearPendingRelease(bytes32 _orgID, string _repoName, string _tag, string _releaseCID, string _metaCID, uint256 _requestIndex) returns()

func (*TestTransactor) ClearPendingThreshold

func (_Test *TestTransactor) ClearPendingThreshold(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _threshold *big.Int, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingThreshold is a paid mutator transaction binding the contract method 0xb93d1685.

Solidity: function clearPendingThreshold(bytes32 _orgID, string _repoName, uint256 _threshold, uint256 _requestIndex) returns()

func (*TestTransactor) CreateOrganization

func (_Test *TestTransactor) CreateOrganization(opts *bind.TransactOpts, _orgMeta string) (*types.Transaction, error)

CreateOrganization is a paid mutator transaction binding the contract method 0x6427acca.

Solidity: function createOrganization(string _orgMeta) returns()

func (*TestTransactor) CreateRepository

func (_Test *TestTransactor) CreateRepository(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _repoMeta string) (*types.Transaction, error)

CreateRepository is a paid mutator transaction binding the contract method 0xe59dbfa4.

Solidity: function createRepository(bytes32 _orgID, string _repoName, string _repoMeta) returns()

func (*TestTransactor) SetOrgMeta

func (_Test *TestTransactor) SetOrgMeta(opts *bind.TransactOpts, _orgID [32]byte, _metaCID string) (*types.Transaction, error)

SetOrgMeta is a paid mutator transaction binding the contract method 0xe253f5e1.

Solidity: function setOrgMeta(bytes32 _orgID, string _metaCID) returns()

func (*TestTransactor) SetRepoMeta

func (_Test *TestTransactor) SetRepoMeta(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _metaCID string) (*types.Transaction, error)

SetRepoMeta is a paid mutator transaction binding the contract method 0xdedc3391.

Solidity: function setRepoMeta(bytes32 _orgID, string _repoName, string _metaCID) returns()

func (*TestTransactor) VoteKey

func (_Test *TestTransactor) VoteKey(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _operation [32]byte, _key common.Address) (*types.Transaction, error)

VoteKey is a paid mutator transaction binding the contract method 0xf26f3c56.

Solidity: function voteKey(bytes32 _orgID, string _repoName, bytes32 _operation, address _key) returns()

func (*TestTransactor) VoteRelease

func (_Test *TestTransactor) VoteRelease(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _tag string, _releaseCID string, _metaCID string) (*types.Transaction, error)

VoteRelease is a paid mutator transaction binding the contract method 0x328d3ddf.

Solidity: function voteRelease(bytes32 _orgID, string _repoName, string _tag, string _releaseCID, string _metaCID) returns()

func (*TestTransactor) VoteThreshold

func (_Test *TestTransactor) VoteThreshold(opts *bind.TransactOpts, _orgID [32]byte, _repoName string, _threshold *big.Int) (*types.Transaction, error)

VoteThreshold is a paid mutator transaction binding the contract method 0xf735b352.

Solidity: function voteThreshold(bytes32 _orgID, string _repoName, uint256 _threshold) returns()

type TestTransactorRaw

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

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

func (*TestTransactorRaw) Transact

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

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

func (*TestTransactorRaw) Transfer

func (_Test *TestTransactorRaw) 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 TestTransactorSession

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

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

func (*TestTransactorSession) ClearPendingKey

func (_Test *TestTransactorSession) ClearPendingKey(_orgID [32]byte, _repoName string, _operation [32]byte, _key common.Address, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingKey is a paid mutator transaction binding the contract method 0x40fd48a7.

Solidity: function clearPendingKey(bytes32 _orgID, string _repoName, bytes32 _operation, address _key, uint256 _requestIndex) returns()

func (*TestTransactorSession) ClearPendingRelease

func (_Test *TestTransactorSession) ClearPendingRelease(_orgID [32]byte, _repoName string, _tag string, _releaseCID string, _metaCID string, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingRelease is a paid mutator transaction binding the contract method 0xc6c2a0be.

Solidity: function clearPendingRelease(bytes32 _orgID, string _repoName, string _tag, string _releaseCID, string _metaCID, uint256 _requestIndex) returns()

func (*TestTransactorSession) ClearPendingThreshold

func (_Test *TestTransactorSession) ClearPendingThreshold(_orgID [32]byte, _repoName string, _threshold *big.Int, _requestIndex *big.Int) (*types.Transaction, error)

ClearPendingThreshold is a paid mutator transaction binding the contract method 0xb93d1685.

Solidity: function clearPendingThreshold(bytes32 _orgID, string _repoName, uint256 _threshold, uint256 _requestIndex) returns()

func (*TestTransactorSession) CreateOrganization

func (_Test *TestTransactorSession) CreateOrganization(_orgMeta string) (*types.Transaction, error)

CreateOrganization is a paid mutator transaction binding the contract method 0x6427acca.

Solidity: function createOrganization(string _orgMeta) returns()

func (*TestTransactorSession) CreateRepository

func (_Test *TestTransactorSession) CreateRepository(_orgID [32]byte, _repoName string, _repoMeta string) (*types.Transaction, error)

CreateRepository is a paid mutator transaction binding the contract method 0xe59dbfa4.

Solidity: function createRepository(bytes32 _orgID, string _repoName, string _repoMeta) returns()

func (*TestTransactorSession) SetOrgMeta

func (_Test *TestTransactorSession) SetOrgMeta(_orgID [32]byte, _metaCID string) (*types.Transaction, error)

SetOrgMeta is a paid mutator transaction binding the contract method 0xe253f5e1.

Solidity: function setOrgMeta(bytes32 _orgID, string _metaCID) returns()

func (*TestTransactorSession) SetRepoMeta

func (_Test *TestTransactorSession) SetRepoMeta(_orgID [32]byte, _repoName string, _metaCID string) (*types.Transaction, error)

SetRepoMeta is a paid mutator transaction binding the contract method 0xdedc3391.

Solidity: function setRepoMeta(bytes32 _orgID, string _repoName, string _metaCID) returns()

func (*TestTransactorSession) VoteKey

func (_Test *TestTransactorSession) VoteKey(_orgID [32]byte, _repoName string, _operation [32]byte, _key common.Address) (*types.Transaction, error)

VoteKey is a paid mutator transaction binding the contract method 0xf26f3c56.

Solidity: function voteKey(bytes32 _orgID, string _repoName, bytes32 _operation, address _key) returns()

func (*TestTransactorSession) VoteRelease

func (_Test *TestTransactorSession) VoteRelease(_orgID [32]byte, _repoName string, _tag string, _releaseCID string, _metaCID string) (*types.Transaction, error)

VoteRelease is a paid mutator transaction binding the contract method 0x328d3ddf.

Solidity: function voteRelease(bytes32 _orgID, string _repoName, string _tag, string _releaseCID, string _metaCID) returns()

func (*TestTransactorSession) VoteThreshold

func (_Test *TestTransactorSession) VoteThreshold(_orgID [32]byte, _repoName string, _threshold *big.Int) (*types.Transaction, error)

VoteThreshold is a paid mutator transaction binding the contract method 0xf735b352.

Solidity: function voteThreshold(bytes32 _orgID, string _repoName, uint256 _threshold) returns()

type TestVoteKeyEvent

type TestVoteKeyEvent struct {
	OrgID     [32]byte
	RepoName  common.Hash
	Signer    common.Address
	Operation [32]byte
	Key       common.Address
	SigCount  *big.Int
	Threshold *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

TestVoteKeyEvent represents a VoteKeyEvent event raised by the Test contract.

type TestVoteKeyEventIterator

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

TestVoteKeyEventIterator is returned from FilterVoteKeyEvent and is used to iterate over the raw logs and unpacked data for VoteKeyEvent events raised by the Test contract.

func (*TestVoteKeyEventIterator) Close

func (it *TestVoteKeyEventIterator) Close() error

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

func (*TestVoteKeyEventIterator) Error

func (it *TestVoteKeyEventIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestVoteKeyEventIterator) Next

func (it *TestVoteKeyEventIterator) Next() bool

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 TestVoteReleaseEvent

type TestVoteReleaseEvent struct {
	OrgID      [32]byte
	RepoName   common.Hash
	Tag        common.Hash
	ReleaseCID string
	MetaCID    string
	Signer     common.Address
	SigCount   *big.Int
	Threshold  *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

TestVoteReleaseEvent represents a VoteReleaseEvent event raised by the Test contract.

type TestVoteReleaseEventIterator

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

TestVoteReleaseEventIterator is returned from FilterVoteReleaseEvent and is used to iterate over the raw logs and unpacked data for VoteReleaseEvent events raised by the Test contract.

func (*TestVoteReleaseEventIterator) Close

func (it *TestVoteReleaseEventIterator) Close() error

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

func (*TestVoteReleaseEventIterator) Error

func (it *TestVoteReleaseEventIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestVoteReleaseEventIterator) 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 TestVoteThresholdEvent

type TestVoteThresholdEvent struct {
	OrgID            [32]byte
	RepoName         common.Hash
	Signer           common.Address
	PendingThreshold *big.Int
	SigCount         *big.Int
	Threshold        *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

TestVoteThresholdEvent represents a VoteThresholdEvent event raised by the Test contract.

type TestVoteThresholdEventIterator

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

TestVoteThresholdEventIterator is returned from FilterVoteThresholdEvent and is used to iterate over the raw logs and unpacked data for VoteThresholdEvent events raised by the Test contract.

func (*TestVoteThresholdEventIterator) Close

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

func (*TestVoteThresholdEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestVoteThresholdEventIterator) 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.

Jump to

Keyboard shortcuts

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