contracts

package
v0.0.0-...-086ef7a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const BridgeTokenABI = "" /* 6714-byte string literal not displayed */

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

View Source
const ForwarderFactoryABI = "" /* 3013-byte string literal not displayed */

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

View Source
const ForwarderFactoryBin = `` /* 9550-byte string literal not displayed */

ForwarderFactoryBin is the compiled bytecode used for deploying new contracts.

View Source
const RootABI = "" /* 5837-byte string literal not displayed */

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

View Source
const SWCqueueABI = "" /* 4905-byte string literal not displayed */

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

View Source
const SweetTokenABI = "" /* 6711-byte string literal not displayed */

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

View Source
const SweetTokenLogicABI = "" /* 8076-byte string literal not displayed */

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

View Source
const TokenLogicABI = "" /* 8020-byte string literal not displayed */

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

View Source
const UserDirectoryABI = "" /* 4216-byte string literal not displayed */

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

View Source
const UserDirectoryBin = `` /* 12276-byte string literal not displayed */

UserDirectoryBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgeToken

type BridgeToken struct {
	BridgeTokenCaller     // Read-only binding to the contract
	BridgeTokenTransactor // Write-only binding to the contract
}

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

func NewBridgeToken

func NewBridgeToken(address common.Address, backend bind.ContractBackend) (*BridgeToken, error)

NewBridgeToken creates a new instance of BridgeToken, bound to a specific deployed contract.

type BridgeTokenCaller

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

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

func NewBridgeTokenCaller

func NewBridgeTokenCaller(address common.Address, caller bind.ContractCaller) (*BridgeTokenCaller, error)

NewBridgeTokenCaller creates a new read-only instance of BridgeToken, bound to a specific deployed contract.

func (*BridgeTokenCaller) Allowance

func (_BridgeToken *BridgeTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(_allowance uint256)

func (*BridgeTokenCaller) BalanceOf

func (_BridgeToken *BridgeTokenCaller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(value uint256)

func (*BridgeTokenCaller) ContractHash

func (_BridgeToken *BridgeTokenCaller) ContractHash(opts *bind.CallOpts) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*BridgeTokenCaller) Decimals

func (_BridgeToken *BridgeTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*BridgeTokenCaller) HasRole

func (_BridgeToken *BridgeTokenCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*BridgeTokenCaller) Logic

func (_BridgeToken *BridgeTokenCaller) Logic(opts *bind.CallOpts) (common.Address, error)

Logic is a free data retrieval call binding the contract method 0xd7dfa0dd.

Solidity: function logic() constant returns(address)

func (*BridgeTokenCaller) Name

func (_BridgeToken *BridgeTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BridgeTokenCaller) Owner

func (_BridgeToken *BridgeTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*BridgeTokenCaller) Roles

func (_BridgeToken *BridgeTokenCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*BridgeTokenCaller) SenderHasRole

func (_BridgeToken *BridgeTokenCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*BridgeTokenCaller) Stopped

func (_BridgeToken *BridgeTokenCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*BridgeTokenCaller) Symbol

func (_BridgeToken *BridgeTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BridgeTokenCaller) TotalSupply

func (_BridgeToken *BridgeTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type BridgeTokenCallerRaw

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

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

func (*BridgeTokenCallerRaw) Call

func (_BridgeToken *BridgeTokenCallerRaw) 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 BridgeTokenCallerSession

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

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

func (*BridgeTokenCallerSession) Allowance

func (_BridgeToken *BridgeTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(_allowance uint256)

func (*BridgeTokenCallerSession) BalanceOf

func (_BridgeToken *BridgeTokenCallerSession) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(value uint256)

func (*BridgeTokenCallerSession) ContractHash

func (_BridgeToken *BridgeTokenCallerSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*BridgeTokenCallerSession) Decimals

func (_BridgeToken *BridgeTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*BridgeTokenCallerSession) HasRole

func (_BridgeToken *BridgeTokenCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*BridgeTokenCallerSession) Logic

func (_BridgeToken *BridgeTokenCallerSession) Logic() (common.Address, error)

Logic is a free data retrieval call binding the contract method 0xd7dfa0dd.

Solidity: function logic() constant returns(address)

func (*BridgeTokenCallerSession) Name

func (_BridgeToken *BridgeTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BridgeTokenCallerSession) Owner

func (_BridgeToken *BridgeTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*BridgeTokenCallerSession) Roles

func (_BridgeToken *BridgeTokenCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*BridgeTokenCallerSession) SenderHasRole

func (_BridgeToken *BridgeTokenCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*BridgeTokenCallerSession) Stopped

func (_BridgeToken *BridgeTokenCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*BridgeTokenCallerSession) Symbol

func (_BridgeToken *BridgeTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BridgeTokenCallerSession) TotalSupply

func (_BridgeToken *BridgeTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type BridgeTokenRaw

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

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

func (*BridgeTokenRaw) Call

func (_BridgeToken *BridgeTokenRaw) 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 (*BridgeTokenRaw) Transact

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

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

func (*BridgeTokenRaw) Transfer

func (_BridgeToken *BridgeTokenRaw) 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 BridgeTokenSession

type BridgeTokenSession struct {
	Contract     *BridgeToken      // 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
}

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

func (*BridgeTokenSession) Allowance

func (_BridgeToken *BridgeTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(_allowance uint256)

func (*BridgeTokenSession) Approve

func (_BridgeToken *BridgeTokenSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(guy address, wad uint256) returns(bool)

func (*BridgeTokenSession) BalanceOf

func (_BridgeToken *BridgeTokenSession) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(value uint256)

func (*BridgeTokenSession) Burn

func (_BridgeToken *BridgeTokenSession) Burn(wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(wad uint256) returns()

func (*BridgeTokenSession) ContractHash

func (_BridgeToken *BridgeTokenSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*BridgeTokenSession) Decimals

func (_BridgeToken *BridgeTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*BridgeTokenSession) HasRole

func (_BridgeToken *BridgeTokenSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*BridgeTokenSession) Logic

func (_BridgeToken *BridgeTokenSession) Logic() (common.Address, error)

Logic is a free data retrieval call binding the contract method 0xd7dfa0dd.

Solidity: function logic() constant returns(address)

func (*BridgeTokenSession) MintFor

func (_BridgeToken *BridgeTokenSession) MintFor(recipient common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(recipient address, wad uint256) returns()

func (*BridgeTokenSession) Name

func (_BridgeToken *BridgeTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*BridgeTokenSession) Owner

func (_BridgeToken *BridgeTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*BridgeTokenSession) Pull

func (_BridgeToken *BridgeTokenSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(src address, wad uint256) returns(bool)

func (*BridgeTokenSession) RepayUou

func (_BridgeToken *BridgeTokenSession) RepayUou(brgWad *big.Int, vault common.Address, uouIndex *big.Int) (*types.Transaction, error)

RepayUou is a paid mutator transaction binding the contract method 0x0badbc55.

Solidity: function repayUou(brgWad uint128, vault address, uouIndex uint256) returns()

func (*BridgeTokenSession) Restart

func (_BridgeToken *BridgeTokenSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*BridgeTokenSession) Roles

func (_BridgeToken *BridgeTokenSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*BridgeTokenSession) SenderHasRole

func (_BridgeToken *BridgeTokenSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*BridgeTokenSession) SetLogic

func (_BridgeToken *BridgeTokenSession) SetLogic(logic_ common.Address) (*types.Transaction, error)

SetLogic is a paid mutator transaction binding the contract method 0x71857000.

Solidity: function setLogic(logic_ address) returns()

func (*BridgeTokenSession) SetName

func (_BridgeToken *BridgeTokenSession) SetName(name_ string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(name_ string) returns()

func (*BridgeTokenSession) SetOwner

func (_BridgeToken *BridgeTokenSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*BridgeTokenSession) SetRolesContract

func (_BridgeToken *BridgeTokenSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*BridgeTokenSession) Stop

func (_BridgeToken *BridgeTokenSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*BridgeTokenSession) Stopped

func (_BridgeToken *BridgeTokenSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*BridgeTokenSession) Symbol

func (_BridgeToken *BridgeTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*BridgeTokenSession) TotalSupply

func (_BridgeToken *BridgeTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*BridgeTokenSession) Transfer

func (_BridgeToken *BridgeTokenSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(dst address, wad uint256) returns(bool)

func (*BridgeTokenSession) TransferFrom

func (_BridgeToken *BridgeTokenSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

type BridgeTokenTransactor

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

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

func NewBridgeTokenTransactor

func NewBridgeTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeTokenTransactor, error)

NewBridgeTokenTransactor creates a new write-only instance of BridgeToken, bound to a specific deployed contract.

func (*BridgeTokenTransactor) Approve

func (_BridgeToken *BridgeTokenTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(guy address, wad uint256) returns(bool)

func (*BridgeTokenTransactor) Burn

func (_BridgeToken *BridgeTokenTransactor) Burn(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(wad uint256) returns()

func (*BridgeTokenTransactor) MintFor

func (_BridgeToken *BridgeTokenTransactor) MintFor(opts *bind.TransactOpts, recipient common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(recipient address, wad uint256) returns()

func (*BridgeTokenTransactor) Pull

func (_BridgeToken *BridgeTokenTransactor) Pull(opts *bind.TransactOpts, src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(src address, wad uint256) returns(bool)

func (*BridgeTokenTransactor) RepayUou

func (_BridgeToken *BridgeTokenTransactor) RepayUou(opts *bind.TransactOpts, brgWad *big.Int, vault common.Address, uouIndex *big.Int) (*types.Transaction, error)

RepayUou is a paid mutator transaction binding the contract method 0x0badbc55.

Solidity: function repayUou(brgWad uint128, vault address, uouIndex uint256) returns()

func (*BridgeTokenTransactor) Restart

func (_BridgeToken *BridgeTokenTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*BridgeTokenTransactor) SetLogic

func (_BridgeToken *BridgeTokenTransactor) SetLogic(opts *bind.TransactOpts, logic_ common.Address) (*types.Transaction, error)

SetLogic is a paid mutator transaction binding the contract method 0x71857000.

Solidity: function setLogic(logic_ address) returns()

func (*BridgeTokenTransactor) SetName

func (_BridgeToken *BridgeTokenTransactor) SetName(opts *bind.TransactOpts, name_ string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(name_ string) returns()

func (*BridgeTokenTransactor) SetOwner

func (_BridgeToken *BridgeTokenTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*BridgeTokenTransactor) SetRolesContract

func (_BridgeToken *BridgeTokenTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*BridgeTokenTransactor) Stop

func (_BridgeToken *BridgeTokenTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*BridgeTokenTransactor) Transfer

func (_BridgeToken *BridgeTokenTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(dst address, wad uint256) returns(bool)

func (*BridgeTokenTransactor) TransferFrom

func (_BridgeToken *BridgeTokenTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

type BridgeTokenTransactorRaw

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

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

func (*BridgeTokenTransactorRaw) Transact

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

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

func (*BridgeTokenTransactorRaw) Transfer

func (_BridgeToken *BridgeTokenTransactorRaw) 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 BridgeTokenTransactorSession

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

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

func (*BridgeTokenTransactorSession) Approve

func (_BridgeToken *BridgeTokenTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(guy address, wad uint256) returns(bool)

func (*BridgeTokenTransactorSession) Burn

func (_BridgeToken *BridgeTokenTransactorSession) Burn(wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(wad uint256) returns()

func (*BridgeTokenTransactorSession) MintFor

func (_BridgeToken *BridgeTokenTransactorSession) MintFor(recipient common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(recipient address, wad uint256) returns()

func (*BridgeTokenTransactorSession) Pull

func (_BridgeToken *BridgeTokenTransactorSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(src address, wad uint256) returns(bool)

func (*BridgeTokenTransactorSession) RepayUou

func (_BridgeToken *BridgeTokenTransactorSession) RepayUou(brgWad *big.Int, vault common.Address, uouIndex *big.Int) (*types.Transaction, error)

RepayUou is a paid mutator transaction binding the contract method 0x0badbc55.

Solidity: function repayUou(brgWad uint128, vault address, uouIndex uint256) returns()

func (*BridgeTokenTransactorSession) Restart

func (_BridgeToken *BridgeTokenTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*BridgeTokenTransactorSession) SetLogic

func (_BridgeToken *BridgeTokenTransactorSession) SetLogic(logic_ common.Address) (*types.Transaction, error)

SetLogic is a paid mutator transaction binding the contract method 0x71857000.

Solidity: function setLogic(logic_ address) returns()

func (*BridgeTokenTransactorSession) SetName

func (_BridgeToken *BridgeTokenTransactorSession) SetName(name_ string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(name_ string) returns()

func (*BridgeTokenTransactorSession) SetOwner

func (_BridgeToken *BridgeTokenTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*BridgeTokenTransactorSession) SetRolesContract

func (_BridgeToken *BridgeTokenTransactorSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*BridgeTokenTransactorSession) Stop

func (_BridgeToken *BridgeTokenTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*BridgeTokenTransactorSession) Transfer

func (_BridgeToken *BridgeTokenTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(dst address, wad uint256) returns(bool)

func (*BridgeTokenTransactorSession) TransferFrom

func (_BridgeToken *BridgeTokenTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

type ForwarderFactory

type ForwarderFactory struct {
	ForwarderFactoryCaller     // Read-only binding to the contract
	ForwarderFactoryTransactor // Write-only binding to the contract
}

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

func DeployForwarderFactory

func DeployForwarderFactory(auth *bind.TransactOpts, backend bind.ContractBackend, rolesContract common.Address) (common.Address, *types.Transaction, *ForwarderFactory, error)

DeployForwarderFactory deploys a new Ethereum contract, binding an instance of ForwarderFactory to it.

func NewForwarderFactory

func NewForwarderFactory(address common.Address, backend bind.ContractBackend) (*ForwarderFactory, error)

NewForwarderFactory creates a new instance of ForwarderFactory, bound to a specific deployed contract.

type ForwarderFactoryCaller

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

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

func NewForwarderFactoryCaller

func NewForwarderFactoryCaller(address common.Address, caller bind.ContractCaller) (*ForwarderFactoryCaller, error)

NewForwarderFactoryCaller creates a new read-only instance of ForwarderFactory, bound to a specific deployed contract.

func (*ForwarderFactoryCaller) ContractHash

func (_ForwarderFactory *ForwarderFactoryCaller) ContractHash(opts *bind.CallOpts) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*ForwarderFactoryCaller) HasRole

func (_ForwarderFactory *ForwarderFactoryCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*ForwarderFactoryCaller) Owner

func (_ForwarderFactory *ForwarderFactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*ForwarderFactoryCaller) Roles

func (_ForwarderFactory *ForwarderFactoryCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*ForwarderFactoryCaller) SenderHasRole

func (_ForwarderFactory *ForwarderFactoryCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*ForwarderFactoryCaller) Stopped

func (_ForwarderFactory *ForwarderFactoryCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

type ForwarderFactoryCallerRaw

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

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

func (*ForwarderFactoryCallerRaw) Call

func (_ForwarderFactory *ForwarderFactoryCallerRaw) 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 ForwarderFactoryCallerSession

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

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

func (*ForwarderFactoryCallerSession) ContractHash

func (_ForwarderFactory *ForwarderFactoryCallerSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*ForwarderFactoryCallerSession) HasRole

func (_ForwarderFactory *ForwarderFactoryCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*ForwarderFactoryCallerSession) Owner

func (_ForwarderFactory *ForwarderFactoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*ForwarderFactoryCallerSession) Roles

func (_ForwarderFactory *ForwarderFactoryCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*ForwarderFactoryCallerSession) SenderHasRole

func (_ForwarderFactory *ForwarderFactoryCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*ForwarderFactoryCallerSession) Stopped

func (_ForwarderFactory *ForwarderFactoryCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

type ForwarderFactoryRaw

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

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

func (*ForwarderFactoryRaw) Call

func (_ForwarderFactory *ForwarderFactoryRaw) 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 (*ForwarderFactoryRaw) Transact

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

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

func (*ForwarderFactoryRaw) Transfer

func (_ForwarderFactory *ForwarderFactoryRaw) 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 ForwarderFactorySession

type ForwarderFactorySession struct {
	Contract     *ForwarderFactory // 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
}

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

func (*ForwarderFactorySession) ContractHash

func (_ForwarderFactory *ForwarderFactorySession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*ForwarderFactorySession) CreateForwarder

func (_ForwarderFactory *ForwarderFactorySession) CreateForwarder(destination common.Address) (*types.Transaction, error)

CreateForwarder is a paid mutator transaction binding the contract method 0x9193ba0b.

Solidity: function createForwarder(destination address) returns()

func (*ForwarderFactorySession) EmitLogPaymentForwarded

func (_ForwarderFactory *ForwarderFactorySession) EmitLogPaymentForwarded(from common.Address, destination common.Address, amount *big.Int) (*types.Transaction, error)

EmitLogPaymentForwarded is a paid mutator transaction binding the contract method 0x06d7561f.

Solidity: function emitLogPaymentForwarded(from address, destination address, amount uint256) returns()

func (*ForwarderFactorySession) HasRole

func (_ForwarderFactory *ForwarderFactorySession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*ForwarderFactorySession) Owner

func (_ForwarderFactory *ForwarderFactorySession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*ForwarderFactorySession) Restart

func (_ForwarderFactory *ForwarderFactorySession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*ForwarderFactorySession) Roles

func (_ForwarderFactory *ForwarderFactorySession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*ForwarderFactorySession) SenderHasRole

func (_ForwarderFactory *ForwarderFactorySession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*ForwarderFactorySession) SetOwner

func (_ForwarderFactory *ForwarderFactorySession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*ForwarderFactorySession) SetRolesContract

func (_ForwarderFactory *ForwarderFactorySession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*ForwarderFactorySession) Stop

func (_ForwarderFactory *ForwarderFactorySession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*ForwarderFactorySession) Stopped

func (_ForwarderFactory *ForwarderFactorySession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

type ForwarderFactoryTransactor

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

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

func NewForwarderFactoryTransactor

func NewForwarderFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*ForwarderFactoryTransactor, error)

NewForwarderFactoryTransactor creates a new write-only instance of ForwarderFactory, bound to a specific deployed contract.

func (*ForwarderFactoryTransactor) CreateForwarder

func (_ForwarderFactory *ForwarderFactoryTransactor) CreateForwarder(opts *bind.TransactOpts, destination common.Address) (*types.Transaction, error)

CreateForwarder is a paid mutator transaction binding the contract method 0x9193ba0b.

Solidity: function createForwarder(destination address) returns()

func (*ForwarderFactoryTransactor) EmitLogPaymentForwarded

func (_ForwarderFactory *ForwarderFactoryTransactor) EmitLogPaymentForwarded(opts *bind.TransactOpts, from common.Address, destination common.Address, amount *big.Int) (*types.Transaction, error)

EmitLogPaymentForwarded is a paid mutator transaction binding the contract method 0x06d7561f.

Solidity: function emitLogPaymentForwarded(from address, destination address, amount uint256) returns()

func (*ForwarderFactoryTransactor) Restart

func (_ForwarderFactory *ForwarderFactoryTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*ForwarderFactoryTransactor) SetOwner

func (_ForwarderFactory *ForwarderFactoryTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*ForwarderFactoryTransactor) SetRolesContract

func (_ForwarderFactory *ForwarderFactoryTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*ForwarderFactoryTransactor) Stop

func (_ForwarderFactory *ForwarderFactoryTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

type ForwarderFactoryTransactorRaw

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

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

func (*ForwarderFactoryTransactorRaw) Transact

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

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

func (*ForwarderFactoryTransactorRaw) Transfer

func (_ForwarderFactory *ForwarderFactoryTransactorRaw) 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 ForwarderFactoryTransactorSession

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

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

func (*ForwarderFactoryTransactorSession) CreateForwarder

func (_ForwarderFactory *ForwarderFactoryTransactorSession) CreateForwarder(destination common.Address) (*types.Transaction, error)

CreateForwarder is a paid mutator transaction binding the contract method 0x9193ba0b.

Solidity: function createForwarder(destination address) returns()

func (*ForwarderFactoryTransactorSession) EmitLogPaymentForwarded

func (_ForwarderFactory *ForwarderFactoryTransactorSession) EmitLogPaymentForwarded(from common.Address, destination common.Address, amount *big.Int) (*types.Transaction, error)

EmitLogPaymentForwarded is a paid mutator transaction binding the contract method 0x06d7561f.

Solidity: function emitLogPaymentForwarded(from address, destination address, amount uint256) returns()

func (*ForwarderFactoryTransactorSession) Restart

func (_ForwarderFactory *ForwarderFactoryTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*ForwarderFactoryTransactorSession) SetOwner

func (_ForwarderFactory *ForwarderFactoryTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*ForwarderFactoryTransactorSession) SetRolesContract

func (_ForwarderFactory *ForwarderFactoryTransactorSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*ForwarderFactoryTransactorSession) Stop

func (_ForwarderFactory *ForwarderFactoryTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

type Root

type Root struct {
	RootCaller     // Read-only binding to the contract
	RootTransactor // Write-only binding to the contract
}

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

func NewRoot

func NewRoot(address common.Address, backend bind.ContractBackend) (*Root, error)

NewRoot creates a new instance of Root, bound to a specific deployed contract.

type RootCaller

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

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

func NewRootCaller

func NewRootCaller(address common.Address, caller bind.ContractCaller) (*RootCaller, error)

NewRootCaller creates a new read-only instance of Root, bound to a specific deployed contract.

func (*RootCaller) Brg

func (_Root *RootCaller) Brg(opts *bind.CallOpts, currency [3]byte) (common.Address, error)

Brg is a free data retrieval call binding the contract method 0xf556463b.

Solidity: function brg(currency bytes3) constant returns(address)

func (*RootCaller) ContractHash

func (_Root *RootCaller) ContractHash(opts *bind.CallOpts) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*RootCaller) HasRole

func (_Root *RootCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*RootCaller) Owner

func (_Root *RootCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*RootCaller) Roles

func (_Root *RootCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*RootCaller) SenderHasRole

func (_Root *RootCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*RootCaller) Stopped

func (_Root *RootCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*RootCaller) Swt

func (_Root *RootCaller) Swt(opts *bind.CallOpts) (common.Address, error)

Swt is a free data retrieval call binding the contract method 0xf016b6b6.

Solidity: function swt() constant returns(address)

func (*RootCaller) Treasury

func (_Root *RootCaller) Treasury(opts *bind.CallOpts) (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() constant returns(address)

func (*RootCaller) UserDirFactory

func (_Root *RootCaller) UserDirFactory(opts *bind.CallOpts) (common.Address, error)

UserDirFactory is a free data retrieval call binding the contract method 0x55f42148.

Solidity: function userDirFactory() constant returns(address)

func (*RootCaller) UserDirectories

func (_Root *RootCaller) UserDirectories(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

UserDirectories is a free data retrieval call binding the contract method 0x7b2fa97d.

Solidity: function userDirectories( address) constant returns(address)

func (*RootCaller) VaultConfig

func (_Root *RootCaller) VaultConfig(opts *bind.CallOpts) (common.Address, error)

VaultConfig is a free data retrieval call binding the contract method 0x7cc34bb4.

Solidity: function vaultConfig() constant returns(address)

func (*RootCaller) VaultFactory

func (_Root *RootCaller) VaultFactory(opts *bind.CallOpts) (common.Address, error)

VaultFactory is a free data retrieval call binding the contract method 0xd8a06f73.

Solidity: function vaultFactory() constant returns(address)

func (*RootCaller) WalletFactory

func (_Root *RootCaller) WalletFactory(opts *bind.CallOpts) (common.Address, error)

WalletFactory is a free data retrieval call binding the contract method 0xc5c03699.

Solidity: function walletFactory() constant returns(address)

type RootCallerRaw

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

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

func (*RootCallerRaw) Call

func (_Root *RootCallerRaw) 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 RootCallerSession

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

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

func (*RootCallerSession) Brg

func (_Root *RootCallerSession) Brg(currency [3]byte) (common.Address, error)

Brg is a free data retrieval call binding the contract method 0xf556463b.

Solidity: function brg(currency bytes3) constant returns(address)

func (*RootCallerSession) ContractHash

func (_Root *RootCallerSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*RootCallerSession) HasRole

func (_Root *RootCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*RootCallerSession) Owner

func (_Root *RootCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*RootCallerSession) Roles

func (_Root *RootCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*RootCallerSession) SenderHasRole

func (_Root *RootCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*RootCallerSession) Stopped

func (_Root *RootCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*RootCallerSession) Swt

func (_Root *RootCallerSession) Swt() (common.Address, error)

Swt is a free data retrieval call binding the contract method 0xf016b6b6.

Solidity: function swt() constant returns(address)

func (*RootCallerSession) Treasury

func (_Root *RootCallerSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() constant returns(address)

func (*RootCallerSession) UserDirFactory

func (_Root *RootCallerSession) UserDirFactory() (common.Address, error)

UserDirFactory is a free data retrieval call binding the contract method 0x55f42148.

Solidity: function userDirFactory() constant returns(address)

func (*RootCallerSession) UserDirectories

func (_Root *RootCallerSession) UserDirectories(arg0 common.Address) (common.Address, error)

UserDirectories is a free data retrieval call binding the contract method 0x7b2fa97d.

Solidity: function userDirectories( address) constant returns(address)

func (*RootCallerSession) VaultConfig

func (_Root *RootCallerSession) VaultConfig() (common.Address, error)

VaultConfig is a free data retrieval call binding the contract method 0x7cc34bb4.

Solidity: function vaultConfig() constant returns(address)

func (*RootCallerSession) VaultFactory

func (_Root *RootCallerSession) VaultFactory() (common.Address, error)

VaultFactory is a free data retrieval call binding the contract method 0xd8a06f73.

Solidity: function vaultFactory() constant returns(address)

func (*RootCallerSession) WalletFactory

func (_Root *RootCallerSession) WalletFactory() (common.Address, error)

WalletFactory is a free data retrieval call binding the contract method 0xc5c03699.

Solidity: function walletFactory() constant returns(address)

type RootRaw

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

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

func (*RootRaw) Call

func (_Root *RootRaw) 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 (*RootRaw) Transact

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

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

func (*RootRaw) Transfer

func (_Root *RootRaw) 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 RootSession

type RootSession struct {
	Contract     *Root             // 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
}

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

func (*RootSession) AddDirectory

func (_Root *RootSession) AddDirectory(owner common.Address) (*types.Transaction, error)

AddDirectory is a paid mutator transaction binding the contract method 0xfb244019.

Solidity: function addDirectory(owner address) returns()

func (*RootSession) Brg

func (_Root *RootSession) Brg(currency [3]byte) (common.Address, error)

Brg is a free data retrieval call binding the contract method 0xf556463b.

Solidity: function brg(currency bytes3) constant returns(address)

func (*RootSession) ContractHash

func (_Root *RootSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*RootSession) HasRole

func (_Root *RootSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*RootSession) Owner

func (_Root *RootSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*RootSession) RemoveDirectory

func (_Root *RootSession) RemoveDirectory(owner common.Address) (*types.Transaction, error)

RemoveDirectory is a paid mutator transaction binding the contract method 0xd25ad88b.

Solidity: function removeDirectory(owner address) returns()

func (*RootSession) Restart

func (_Root *RootSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*RootSession) Roles

func (_Root *RootSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*RootSession) SenderHasRole

func (_Root *RootSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*RootSession) SetBRG

func (_Root *RootSession) SetBRG(brg_ common.Address, currency [3]byte) (*types.Transaction, error)

SetBRG is a paid mutator transaction binding the contract method 0x6a35c0cd.

Solidity: function setBRG(brg_ address, currency bytes3) returns()

func (*RootSession) SetOwner

func (_Root *RootSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*RootSession) SetRolesContract

func (_Root *RootSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*RootSession) SetSWT

func (_Root *RootSession) SetSWT(swt_ common.Address) (*types.Transaction, error)

SetSWT is a paid mutator transaction binding the contract method 0x0d1a8df0.

Solidity: function setSWT(swt_ address) returns()

func (*RootSession) SetTreasury

func (_Root *RootSession) SetTreasury(t common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(t address) returns()

func (*RootSession) SetUserFactory

func (_Root *RootSession) SetUserFactory(userDirFactory_ common.Address) (*types.Transaction, error)

SetUserFactory is a paid mutator transaction binding the contract method 0x30cc1543.

Solidity: function setUserFactory(userDirFactory_ address) returns()

func (*RootSession) SetVaultConfig

func (_Root *RootSession) SetVaultConfig(vc common.Address) (*types.Transaction, error)

SetVaultConfig is a paid mutator transaction binding the contract method 0x5faafcaa.

Solidity: function setVaultConfig(vc address) returns()

func (*RootSession) SetVaultFactory

func (_Root *RootSession) SetVaultFactory(vaultFactory_ common.Address) (*types.Transaction, error)

SetVaultFactory is a paid mutator transaction binding the contract method 0x3ea7fbdb.

Solidity: function setVaultFactory(vaultFactory_ address) returns()

func (*RootSession) SetWalletFactory

func (_Root *RootSession) SetWalletFactory(walletFactory_ common.Address) (*types.Transaction, error)

SetWalletFactory is a paid mutator transaction binding the contract method 0x7ebf879c.

Solidity: function setWalletFactory(walletFactory_ address) returns()

func (*RootSession) Stop

func (_Root *RootSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*RootSession) Stopped

func (_Root *RootSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*RootSession) Swt

func (_Root *RootSession) Swt() (common.Address, error)

Swt is a free data retrieval call binding the contract method 0xf016b6b6.

Solidity: function swt() constant returns(address)

func (*RootSession) Treasury

func (_Root *RootSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() constant returns(address)

func (*RootSession) UserDirFactory

func (_Root *RootSession) UserDirFactory() (common.Address, error)

UserDirFactory is a free data retrieval call binding the contract method 0x55f42148.

Solidity: function userDirFactory() constant returns(address)

func (*RootSession) UserDirectories

func (_Root *RootSession) UserDirectories(arg0 common.Address) (common.Address, error)

UserDirectories is a free data retrieval call binding the contract method 0x7b2fa97d.

Solidity: function userDirectories( address) constant returns(address)

func (*RootSession) VaultConfig

func (_Root *RootSession) VaultConfig() (common.Address, error)

VaultConfig is a free data retrieval call binding the contract method 0x7cc34bb4.

Solidity: function vaultConfig() constant returns(address)

func (*RootSession) VaultFactory

func (_Root *RootSession) VaultFactory() (common.Address, error)

VaultFactory is a free data retrieval call binding the contract method 0xd8a06f73.

Solidity: function vaultFactory() constant returns(address)

func (*RootSession) WalletFactory

func (_Root *RootSession) WalletFactory() (common.Address, error)

WalletFactory is a free data retrieval call binding the contract method 0xc5c03699.

Solidity: function walletFactory() constant returns(address)

type RootTransactor

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

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

func NewRootTransactor

func NewRootTransactor(address common.Address, transactor bind.ContractTransactor) (*RootTransactor, error)

NewRootTransactor creates a new write-only instance of Root, bound to a specific deployed contract.

func (*RootTransactor) AddDirectory

func (_Root *RootTransactor) AddDirectory(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

AddDirectory is a paid mutator transaction binding the contract method 0xfb244019.

Solidity: function addDirectory(owner address) returns()

func (*RootTransactor) RemoveDirectory

func (_Root *RootTransactor) RemoveDirectory(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

RemoveDirectory is a paid mutator transaction binding the contract method 0xd25ad88b.

Solidity: function removeDirectory(owner address) returns()

func (*RootTransactor) Restart

func (_Root *RootTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*RootTransactor) SetBRG

func (_Root *RootTransactor) SetBRG(opts *bind.TransactOpts, brg_ common.Address, currency [3]byte) (*types.Transaction, error)

SetBRG is a paid mutator transaction binding the contract method 0x6a35c0cd.

Solidity: function setBRG(brg_ address, currency bytes3) returns()

func (*RootTransactor) SetOwner

func (_Root *RootTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*RootTransactor) SetRolesContract

func (_Root *RootTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*RootTransactor) SetSWT

func (_Root *RootTransactor) SetSWT(opts *bind.TransactOpts, swt_ common.Address) (*types.Transaction, error)

SetSWT is a paid mutator transaction binding the contract method 0x0d1a8df0.

Solidity: function setSWT(swt_ address) returns()

func (*RootTransactor) SetTreasury

func (_Root *RootTransactor) SetTreasury(opts *bind.TransactOpts, t common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(t address) returns()

func (*RootTransactor) SetUserFactory

func (_Root *RootTransactor) SetUserFactory(opts *bind.TransactOpts, userDirFactory_ common.Address) (*types.Transaction, error)

SetUserFactory is a paid mutator transaction binding the contract method 0x30cc1543.

Solidity: function setUserFactory(userDirFactory_ address) returns()

func (*RootTransactor) SetVaultConfig

func (_Root *RootTransactor) SetVaultConfig(opts *bind.TransactOpts, vc common.Address) (*types.Transaction, error)

SetVaultConfig is a paid mutator transaction binding the contract method 0x5faafcaa.

Solidity: function setVaultConfig(vc address) returns()

func (*RootTransactor) SetVaultFactory

func (_Root *RootTransactor) SetVaultFactory(opts *bind.TransactOpts, vaultFactory_ common.Address) (*types.Transaction, error)

SetVaultFactory is a paid mutator transaction binding the contract method 0x3ea7fbdb.

Solidity: function setVaultFactory(vaultFactory_ address) returns()

func (*RootTransactor) SetWalletFactory

func (_Root *RootTransactor) SetWalletFactory(opts *bind.TransactOpts, walletFactory_ common.Address) (*types.Transaction, error)

SetWalletFactory is a paid mutator transaction binding the contract method 0x7ebf879c.

Solidity: function setWalletFactory(walletFactory_ address) returns()

func (*RootTransactor) Stop

func (_Root *RootTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

type RootTransactorRaw

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

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

func (*RootTransactorRaw) Transact

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

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

func (*RootTransactorRaw) Transfer

func (_Root *RootTransactorRaw) 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 RootTransactorSession

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

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

func (*RootTransactorSession) AddDirectory

func (_Root *RootTransactorSession) AddDirectory(owner common.Address) (*types.Transaction, error)

AddDirectory is a paid mutator transaction binding the contract method 0xfb244019.

Solidity: function addDirectory(owner address) returns()

func (*RootTransactorSession) RemoveDirectory

func (_Root *RootTransactorSession) RemoveDirectory(owner common.Address) (*types.Transaction, error)

RemoveDirectory is a paid mutator transaction binding the contract method 0xd25ad88b.

Solidity: function removeDirectory(owner address) returns()

func (*RootTransactorSession) Restart

func (_Root *RootTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*RootTransactorSession) SetBRG

func (_Root *RootTransactorSession) SetBRG(brg_ common.Address, currency [3]byte) (*types.Transaction, error)

SetBRG is a paid mutator transaction binding the contract method 0x6a35c0cd.

Solidity: function setBRG(brg_ address, currency bytes3) returns()

func (*RootTransactorSession) SetOwner

func (_Root *RootTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*RootTransactorSession) SetRolesContract

func (_Root *RootTransactorSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*RootTransactorSession) SetSWT

func (_Root *RootTransactorSession) SetSWT(swt_ common.Address) (*types.Transaction, error)

SetSWT is a paid mutator transaction binding the contract method 0x0d1a8df0.

Solidity: function setSWT(swt_ address) returns()

func (*RootTransactorSession) SetTreasury

func (_Root *RootTransactorSession) SetTreasury(t common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(t address) returns()

func (*RootTransactorSession) SetUserFactory

func (_Root *RootTransactorSession) SetUserFactory(userDirFactory_ common.Address) (*types.Transaction, error)

SetUserFactory is a paid mutator transaction binding the contract method 0x30cc1543.

Solidity: function setUserFactory(userDirFactory_ address) returns()

func (*RootTransactorSession) SetVaultConfig

func (_Root *RootTransactorSession) SetVaultConfig(vc common.Address) (*types.Transaction, error)

SetVaultConfig is a paid mutator transaction binding the contract method 0x5faafcaa.

Solidity: function setVaultConfig(vc address) returns()

func (*RootTransactorSession) SetVaultFactory

func (_Root *RootTransactorSession) SetVaultFactory(vaultFactory_ common.Address) (*types.Transaction, error)

SetVaultFactory is a paid mutator transaction binding the contract method 0x3ea7fbdb.

Solidity: function setVaultFactory(vaultFactory_ address) returns()

func (*RootTransactorSession) SetWalletFactory

func (_Root *RootTransactorSession) SetWalletFactory(walletFactory_ common.Address) (*types.Transaction, error)

SetWalletFactory is a paid mutator transaction binding the contract method 0x7ebf879c.

Solidity: function setWalletFactory(walletFactory_ address) returns()

func (*RootTransactorSession) Stop

func (_Root *RootTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

type SWCqueue

type SWCqueue struct {
	SWCqueueCaller     // Read-only binding to the contract
	SWCqueueTransactor // Write-only binding to the contract
}

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

func NewSWCqueue

func NewSWCqueue(address common.Address, backend bind.ContractBackend) (*SWCqueue, error)

NewSWCqueue creates a new instance of SWCqueue, bound to a specific deployed contract.

type SWCqueueCaller

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

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

func NewSWCqueueCaller

func NewSWCqueueCaller(address common.Address, caller bind.ContractCaller) (*SWCqueueCaller, error)

NewSWCqueueCaller creates a new read-only instance of SWCqueue, bound to a specific deployed contract.

func (*SWCqueueCaller) ContractHash

func (_SWCqueue *SWCqueueCaller) ContractHash(opts *bind.CallOpts, wad *big.Int, currency [3]byte) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x3a7ab04f.

Solidity: function contractHash(wad uint128, currency bytes3) constant returns(bytes32)

func (*SWCqueueCaller) HasRole

func (_SWCqueue *SWCqueueCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SWCqueueCaller) NextBRGusdSWTratio

func (_SWCqueue *SWCqueueCaller) NextBRGusdSWTratio(opts *bind.CallOpts, roles_ common.Address) (*big.Int, error)

NextBRGusdSWTratio is a free data retrieval call binding the contract method 0xb2273eee.

Solidity: function nextBRGusdSWTratio(roles_ address) constant returns(uint256)

func (*SWCqueueCaller) Owner

func (_SWCqueue *SWCqueueCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SWCqueueCaller) Roles

func (_SWCqueue *SWCqueueCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SWCqueueCaller) Root

func (_SWCqueue *SWCqueueCaller) Root(opts *bind.CallOpts) (common.Address, error)

Root is a free data retrieval call binding the contract method 0xebf0c717.

Solidity: function root() constant returns(address)

func (*SWCqueueCaller) SenderHasRole

func (_SWCqueue *SWCqueueCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SWCqueueCaller) Stopped

func (_SWCqueue *SWCqueueCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

type SWCqueueCallerRaw

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

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

func (*SWCqueueCallerRaw) Call

func (_SWCqueue *SWCqueueCallerRaw) 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 SWCqueueCallerSession

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

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

func (*SWCqueueCallerSession) ContractHash

func (_SWCqueue *SWCqueueCallerSession) ContractHash(wad *big.Int, currency [3]byte) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x3a7ab04f.

Solidity: function contractHash(wad uint128, currency bytes3) constant returns(bytes32)

func (*SWCqueueCallerSession) HasRole

func (_SWCqueue *SWCqueueCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SWCqueueCallerSession) NextBRGusdSWTratio

func (_SWCqueue *SWCqueueCallerSession) NextBRGusdSWTratio(roles_ common.Address) (*big.Int, error)

NextBRGusdSWTratio is a free data retrieval call binding the contract method 0xb2273eee.

Solidity: function nextBRGusdSWTratio(roles_ address) constant returns(uint256)

func (*SWCqueueCallerSession) Owner

func (_SWCqueue *SWCqueueCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SWCqueueCallerSession) Roles

func (_SWCqueue *SWCqueueCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SWCqueueCallerSession) Root

func (_SWCqueue *SWCqueueCallerSession) Root() (common.Address, error)

Root is a free data retrieval call binding the contract method 0xebf0c717.

Solidity: function root() constant returns(address)

func (*SWCqueueCallerSession) SenderHasRole

func (_SWCqueue *SWCqueueCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SWCqueueCallerSession) Stopped

func (_SWCqueue *SWCqueueCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

type SWCqueueRaw

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

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

func (*SWCqueueRaw) Call

func (_SWCqueue *SWCqueueRaw) 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 (*SWCqueueRaw) Transact

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

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

func (*SWCqueueRaw) Transfer

func (_SWCqueue *SWCqueueRaw) 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 SWCqueueSession

type SWCqueueSession struct {
	Contract     *SWCqueue         // 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
}

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

func (*SWCqueueSession) Burn

func (_SWCqueue *SWCqueueSession) Burn(wad *big.Int, currency [3]byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xe26a0a98.

Solidity: function burn(wad uint128, currency bytes3) returns()

func (*SWCqueueSession) Cancel

func (_SWCqueue *SWCqueueSession) Cancel(wad *big.Int, currency [3]byte) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x90a160d4.

Solidity: function cancel(wad uint128, currency bytes3) returns(uint256)

func (*SWCqueueSession) ContractHash

func (_SWCqueue *SWCqueueSession) ContractHash(wad *big.Int, currency [3]byte) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x3a7ab04f.

Solidity: function contractHash(wad uint128, currency bytes3) constant returns(bytes32)

func (*SWCqueueSession) DirectPledge

func (_SWCqueue *SWCqueueSession) DirectPledge(who common.Address, wad *big.Int, currency [3]byte) (*types.Transaction, error)

DirectPledge is a paid mutator transaction binding the contract method 0x209c4986.

Solidity: function directPledge(who address, wad uint128, currency bytes3) returns()

func (*SWCqueueSession) HasRole

func (_SWCqueue *SWCqueueSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SWCqueueSession) LogTrancheRelease

func (_SWCqueue *SWCqueueSession) LogTrancheRelease(wad *big.Int) (*types.Transaction, error)

LogTrancheRelease is a paid mutator transaction binding the contract method 0x30311449.

Solidity: function logTrancheRelease(wad uint128) returns()

func (*SWCqueueSession) NextBRGusdSWTratio

func (_SWCqueue *SWCqueueSession) NextBRGusdSWTratio(roles_ common.Address) (*big.Int, error)

NextBRGusdSWTratio is a free data retrieval call binding the contract method 0xb2273eee.

Solidity: function nextBRGusdSWTratio(roles_ address) constant returns(uint256)

func (*SWCqueueSession) Owner

func (_SWCqueue *SWCqueueSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SWCqueueSession) Restart

func (_SWCqueue *SWCqueueSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SWCqueueSession) Roles

func (_SWCqueue *SWCqueueSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SWCqueueSession) Root

func (_SWCqueue *SWCqueueSession) Root() (common.Address, error)

Root is a free data retrieval call binding the contract method 0xebf0c717.

Solidity: function root() constant returns(address)

func (*SWCqueueSession) SenderHasRole

func (_SWCqueue *SWCqueueSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SWCqueueSession) SetNextBRGusdSWTratio

func (_SWCqueue *SWCqueueSession) SetNextBRGusdSWTratio(ratio *big.Int) (*types.Transaction, error)

SetNextBRGusdSWTratio is a paid mutator transaction binding the contract method 0x32f9c912.

Solidity: function setNextBRGusdSWTratio(ratio uint256) returns(address)

func (*SWCqueueSession) SetOwner

func (_SWCqueue *SWCqueueSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SWCqueueSession) SetRolesContract

func (_SWCqueue *SWCqueueSession) SetRolesContract(roles_ common.Address, wad *big.Int) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0x110056df.

Solidity: function setRolesContract(roles_ address, wad uint128) returns()

func (*SWCqueueSession) SetRoot

func (_SWCqueue *SWCqueueSession) SetRoot(root_ common.Address) (*types.Transaction, error)

SetRoot is a paid mutator transaction binding the contract method 0x003ba1ed.

Solidity: function setRoot(root_ address) returns()

func (*SWCqueueSession) Stop

func (_SWCqueue *SWCqueueSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*SWCqueueSession) Stopped

func (_SWCqueue *SWCqueueSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

type SWCqueueTransactor

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

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

func NewSWCqueueTransactor

func NewSWCqueueTransactor(address common.Address, transactor bind.ContractTransactor) (*SWCqueueTransactor, error)

NewSWCqueueTransactor creates a new write-only instance of SWCqueue, bound to a specific deployed contract.

func (*SWCqueueTransactor) Burn

func (_SWCqueue *SWCqueueTransactor) Burn(opts *bind.TransactOpts, wad *big.Int, currency [3]byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xe26a0a98.

Solidity: function burn(wad uint128, currency bytes3) returns()

func (*SWCqueueTransactor) Cancel

func (_SWCqueue *SWCqueueTransactor) Cancel(opts *bind.TransactOpts, wad *big.Int, currency [3]byte) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x90a160d4.

Solidity: function cancel(wad uint128, currency bytes3) returns(uint256)

func (*SWCqueueTransactor) DirectPledge

func (_SWCqueue *SWCqueueTransactor) DirectPledge(opts *bind.TransactOpts, who common.Address, wad *big.Int, currency [3]byte) (*types.Transaction, error)

DirectPledge is a paid mutator transaction binding the contract method 0x209c4986.

Solidity: function directPledge(who address, wad uint128, currency bytes3) returns()

func (*SWCqueueTransactor) LogTrancheRelease

func (_SWCqueue *SWCqueueTransactor) LogTrancheRelease(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

LogTrancheRelease is a paid mutator transaction binding the contract method 0x30311449.

Solidity: function logTrancheRelease(wad uint128) returns()

func (*SWCqueueTransactor) Restart

func (_SWCqueue *SWCqueueTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SWCqueueTransactor) SetNextBRGusdSWTratio

func (_SWCqueue *SWCqueueTransactor) SetNextBRGusdSWTratio(opts *bind.TransactOpts, ratio *big.Int) (*types.Transaction, error)

SetNextBRGusdSWTratio is a paid mutator transaction binding the contract method 0x32f9c912.

Solidity: function setNextBRGusdSWTratio(ratio uint256) returns(address)

func (*SWCqueueTransactor) SetOwner

func (_SWCqueue *SWCqueueTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SWCqueueTransactor) SetRolesContract

func (_SWCqueue *SWCqueueTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address, wad *big.Int) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0x110056df.

Solidity: function setRolesContract(roles_ address, wad uint128) returns()

func (*SWCqueueTransactor) SetRoot

func (_SWCqueue *SWCqueueTransactor) SetRoot(opts *bind.TransactOpts, root_ common.Address) (*types.Transaction, error)

SetRoot is a paid mutator transaction binding the contract method 0x003ba1ed.

Solidity: function setRoot(root_ address) returns()

func (*SWCqueueTransactor) Stop

func (_SWCqueue *SWCqueueTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

type SWCqueueTransactorRaw

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

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

func (*SWCqueueTransactorRaw) Transact

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

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

func (*SWCqueueTransactorRaw) Transfer

func (_SWCqueue *SWCqueueTransactorRaw) 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 SWCqueueTransactorSession

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

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

func (*SWCqueueTransactorSession) Burn

func (_SWCqueue *SWCqueueTransactorSession) Burn(wad *big.Int, currency [3]byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xe26a0a98.

Solidity: function burn(wad uint128, currency bytes3) returns()

func (*SWCqueueTransactorSession) Cancel

func (_SWCqueue *SWCqueueTransactorSession) Cancel(wad *big.Int, currency [3]byte) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x90a160d4.

Solidity: function cancel(wad uint128, currency bytes3) returns(uint256)

func (*SWCqueueTransactorSession) DirectPledge

func (_SWCqueue *SWCqueueTransactorSession) DirectPledge(who common.Address, wad *big.Int, currency [3]byte) (*types.Transaction, error)

DirectPledge is a paid mutator transaction binding the contract method 0x209c4986.

Solidity: function directPledge(who address, wad uint128, currency bytes3) returns()

func (*SWCqueueTransactorSession) LogTrancheRelease

func (_SWCqueue *SWCqueueTransactorSession) LogTrancheRelease(wad *big.Int) (*types.Transaction, error)

LogTrancheRelease is a paid mutator transaction binding the contract method 0x30311449.

Solidity: function logTrancheRelease(wad uint128) returns()

func (*SWCqueueTransactorSession) Restart

func (_SWCqueue *SWCqueueTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SWCqueueTransactorSession) SetNextBRGusdSWTratio

func (_SWCqueue *SWCqueueTransactorSession) SetNextBRGusdSWTratio(ratio *big.Int) (*types.Transaction, error)

SetNextBRGusdSWTratio is a paid mutator transaction binding the contract method 0x32f9c912.

Solidity: function setNextBRGusdSWTratio(ratio uint256) returns(address)

func (*SWCqueueTransactorSession) SetOwner

func (_SWCqueue *SWCqueueTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SWCqueueTransactorSession) SetRolesContract

func (_SWCqueue *SWCqueueTransactorSession) SetRolesContract(roles_ common.Address, wad *big.Int) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0x110056df.

Solidity: function setRolesContract(roles_ address, wad uint128) returns()

func (*SWCqueueTransactorSession) SetRoot

func (_SWCqueue *SWCqueueTransactorSession) SetRoot(root_ common.Address) (*types.Transaction, error)

SetRoot is a paid mutator transaction binding the contract method 0x003ba1ed.

Solidity: function setRoot(root_ address) returns()

func (*SWCqueueTransactorSession) Stop

func (_SWCqueue *SWCqueueTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

type SweetToken

type SweetToken struct {
	SweetTokenCaller     // Read-only binding to the contract
	SweetTokenTransactor // Write-only binding to the contract
}

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

func NewSweetToken

func NewSweetToken(address common.Address, backend bind.ContractBackend) (*SweetToken, error)

NewSweetToken creates a new instance of SweetToken, bound to a specific deployed contract.

type SweetTokenCaller

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

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

func NewSweetTokenCaller

func NewSweetTokenCaller(address common.Address, caller bind.ContractCaller) (*SweetTokenCaller, error)

NewSweetTokenCaller creates a new read-only instance of SweetToken, bound to a specific deployed contract.

func (*SweetTokenCaller) Allowance

func (_SweetToken *SweetTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(_allowance uint256)

func (*SweetTokenCaller) BalanceOf

func (_SweetToken *SweetTokenCaller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(value uint256)

func (*SweetTokenCaller) ContractHash

func (_SweetToken *SweetTokenCaller) ContractHash(opts *bind.CallOpts) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*SweetTokenCaller) Decimals

func (_SweetToken *SweetTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*SweetTokenCaller) HasRole

func (_SweetToken *SweetTokenCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SweetTokenCaller) Logic

func (_SweetToken *SweetTokenCaller) Logic(opts *bind.CallOpts) (common.Address, error)

Logic is a free data retrieval call binding the contract method 0xd7dfa0dd.

Solidity: function logic() constant returns(address)

func (*SweetTokenCaller) Name

func (_SweetToken *SweetTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*SweetTokenCaller) Owner

func (_SweetToken *SweetTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SweetTokenCaller) Roles

func (_SweetToken *SweetTokenCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SweetTokenCaller) SenderHasRole

func (_SweetToken *SweetTokenCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SweetTokenCaller) Stopped

func (_SweetToken *SweetTokenCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*SweetTokenCaller) Symbol

func (_SweetToken *SweetTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*SweetTokenCaller) TotalSupply

func (_SweetToken *SweetTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type SweetTokenCallerRaw

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

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

func (*SweetTokenCallerRaw) Call

func (_SweetToken *SweetTokenCallerRaw) 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 SweetTokenCallerSession

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

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

func (*SweetTokenCallerSession) Allowance

func (_SweetToken *SweetTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(_allowance uint256)

func (*SweetTokenCallerSession) BalanceOf

func (_SweetToken *SweetTokenCallerSession) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(value uint256)

func (*SweetTokenCallerSession) ContractHash

func (_SweetToken *SweetTokenCallerSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*SweetTokenCallerSession) Decimals

func (_SweetToken *SweetTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*SweetTokenCallerSession) HasRole

func (_SweetToken *SweetTokenCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SweetTokenCallerSession) Logic

func (_SweetToken *SweetTokenCallerSession) Logic() (common.Address, error)

Logic is a free data retrieval call binding the contract method 0xd7dfa0dd.

Solidity: function logic() constant returns(address)

func (*SweetTokenCallerSession) Name

func (_SweetToken *SweetTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*SweetTokenCallerSession) Owner

func (_SweetToken *SweetTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SweetTokenCallerSession) Roles

func (_SweetToken *SweetTokenCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SweetTokenCallerSession) SenderHasRole

func (_SweetToken *SweetTokenCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SweetTokenCallerSession) Stopped

func (_SweetToken *SweetTokenCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*SweetTokenCallerSession) Symbol

func (_SweetToken *SweetTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*SweetTokenCallerSession) TotalSupply

func (_SweetToken *SweetTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type SweetTokenLogic

type SweetTokenLogic struct {
	SweetTokenLogicCaller     // Read-only binding to the contract
	SweetTokenLogicTransactor // Write-only binding to the contract
}

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

func NewSweetTokenLogic

func NewSweetTokenLogic(address common.Address, backend bind.ContractBackend) (*SweetTokenLogic, error)

NewSweetTokenLogic creates a new instance of SweetTokenLogic, bound to a specific deployed contract.

type SweetTokenLogicCaller

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

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

func NewSweetTokenLogicCaller

func NewSweetTokenLogicCaller(address common.Address, caller bind.ContractCaller) (*SweetTokenLogicCaller, error)

NewSweetTokenLogicCaller creates a new read-only instance of SweetTokenLogic, bound to a specific deployed contract.

func (*SweetTokenLogicCaller) Allowance

func (_SweetTokenLogic *SweetTokenLogicCaller) Allowance(opts *bind.CallOpts, src common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(src address, spender address) constant returns(uint256)

func (*SweetTokenLogicCaller) BalanceOf

func (_SweetTokenLogic *SweetTokenLogicCaller) BalanceOf(opts *bind.CallOpts, src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(src address) constant returns(uint256)

func (*SweetTokenLogicCaller) ContractHash

func (_SweetTokenLogic *SweetTokenLogicCaller) ContractHash(opts *bind.CallOpts) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*SweetTokenLogicCaller) Data

func (_SweetTokenLogic *SweetTokenLogicCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*SweetTokenLogicCaller) FreeTransfer

func (_SweetTokenLogic *SweetTokenLogicCaller) FreeTransfer(opts *bind.CallOpts) (bool, error)

FreeTransfer is a free data retrieval call binding the contract method 0x211ed6c1.

Solidity: function freeTransfer() constant returns(bool)

func (*SweetTokenLogicCaller) HasRole

func (_SweetTokenLogic *SweetTokenLogicCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SweetTokenLogicCaller) IndexOf

func (_SweetTokenLogic *SweetTokenLogicCaller) IndexOf(opts *bind.CallOpts, listName [32]byte) (uint8, bool, error)

IndexOf is a free data retrieval call binding the contract method 0x6f4ce56a.

Solidity: function indexOf(listName bytes32) constant returns(uint8, bool)

func (*SweetTokenLogicCaller) ListExists

func (_SweetTokenLogic *SweetTokenLogicCaller) ListExists(opts *bind.CallOpts, listName [32]byte) (bool, error)

ListExists is a free data retrieval call binding the contract method 0x9495ad6c.

Solidity: function listExists(listName bytes32) constant returns(bool)

func (*SweetTokenLogicCaller) ListNames

func (_SweetTokenLogic *SweetTokenLogicCaller) ListNames(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

ListNames is a free data retrieval call binding the contract method 0x66272623.

Solidity: function listNames( uint256) constant returns(bytes32)

func (*SweetTokenLogicCaller) ListNamesLen

func (_SweetTokenLogic *SweetTokenLogicCaller) ListNamesLen(opts *bind.CallOpts) (*big.Int, error)

ListNamesLen is a free data retrieval call binding the contract method 0x1f99c458.

Solidity: function listNamesLen() constant returns(uint256)

func (*SweetTokenLogicCaller) Owner

func (_SweetTokenLogic *SweetTokenLogicCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SweetTokenLogicCaller) Roles

func (_SweetTokenLogic *SweetTokenLogicCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SweetTokenLogicCaller) SenderHasRole

func (_SweetTokenLogic *SweetTokenLogicCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SweetTokenLogicCaller) Stopped

func (_SweetTokenLogic *SweetTokenLogicCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*SweetTokenLogicCaller) Token

func (_SweetTokenLogic *SweetTokenLogicCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*SweetTokenLogicCaller) TotalSupply

func (_SweetTokenLogic *SweetTokenLogicCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*SweetTokenLogicCaller) WhiteLists

func (_SweetTokenLogic *SweetTokenLogicCaller) WhiteLists(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (bool, error)

WhiteLists is a free data retrieval call binding the contract method 0x4b4d0d45.

Solidity: function whiteLists( address, bytes32) constant returns(bool)

type SweetTokenLogicCallerRaw

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

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

func (*SweetTokenLogicCallerRaw) Call

func (_SweetTokenLogic *SweetTokenLogicCallerRaw) 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 SweetTokenLogicCallerSession

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

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

func (*SweetTokenLogicCallerSession) Allowance

func (_SweetTokenLogic *SweetTokenLogicCallerSession) Allowance(src common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(src address, spender address) constant returns(uint256)

func (*SweetTokenLogicCallerSession) BalanceOf

func (_SweetTokenLogic *SweetTokenLogicCallerSession) BalanceOf(src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(src address) constant returns(uint256)

func (*SweetTokenLogicCallerSession) ContractHash

func (_SweetTokenLogic *SweetTokenLogicCallerSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*SweetTokenLogicCallerSession) Data

func (_SweetTokenLogic *SweetTokenLogicCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*SweetTokenLogicCallerSession) FreeTransfer

func (_SweetTokenLogic *SweetTokenLogicCallerSession) FreeTransfer() (bool, error)

FreeTransfer is a free data retrieval call binding the contract method 0x211ed6c1.

Solidity: function freeTransfer() constant returns(bool)

func (*SweetTokenLogicCallerSession) HasRole

func (_SweetTokenLogic *SweetTokenLogicCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SweetTokenLogicCallerSession) IndexOf

func (_SweetTokenLogic *SweetTokenLogicCallerSession) IndexOf(listName [32]byte) (uint8, bool, error)

IndexOf is a free data retrieval call binding the contract method 0x6f4ce56a.

Solidity: function indexOf(listName bytes32) constant returns(uint8, bool)

func (*SweetTokenLogicCallerSession) ListExists

func (_SweetTokenLogic *SweetTokenLogicCallerSession) ListExists(listName [32]byte) (bool, error)

ListExists is a free data retrieval call binding the contract method 0x9495ad6c.

Solidity: function listExists(listName bytes32) constant returns(bool)

func (*SweetTokenLogicCallerSession) ListNames

func (_SweetTokenLogic *SweetTokenLogicCallerSession) ListNames(arg0 *big.Int) ([32]byte, error)

ListNames is a free data retrieval call binding the contract method 0x66272623.

Solidity: function listNames( uint256) constant returns(bytes32)

func (*SweetTokenLogicCallerSession) ListNamesLen

func (_SweetTokenLogic *SweetTokenLogicCallerSession) ListNamesLen() (*big.Int, error)

ListNamesLen is a free data retrieval call binding the contract method 0x1f99c458.

Solidity: function listNamesLen() constant returns(uint256)

func (*SweetTokenLogicCallerSession) Owner

func (_SweetTokenLogic *SweetTokenLogicCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SweetTokenLogicCallerSession) Roles

func (_SweetTokenLogic *SweetTokenLogicCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SweetTokenLogicCallerSession) SenderHasRole

func (_SweetTokenLogic *SweetTokenLogicCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SweetTokenLogicCallerSession) Stopped

func (_SweetTokenLogic *SweetTokenLogicCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*SweetTokenLogicCallerSession) Token

func (_SweetTokenLogic *SweetTokenLogicCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*SweetTokenLogicCallerSession) TotalSupply

func (_SweetTokenLogic *SweetTokenLogicCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*SweetTokenLogicCallerSession) WhiteLists

func (_SweetTokenLogic *SweetTokenLogicCallerSession) WhiteLists(arg0 common.Address, arg1 [32]byte) (bool, error)

WhiteLists is a free data retrieval call binding the contract method 0x4b4d0d45.

Solidity: function whiteLists( address, bytes32) constant returns(bool)

type SweetTokenLogicRaw

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

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

func (*SweetTokenLogicRaw) Call

func (_SweetTokenLogic *SweetTokenLogicRaw) 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 (*SweetTokenLogicRaw) Transact

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

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

func (*SweetTokenLogicRaw) Transfer

func (_SweetTokenLogic *SweetTokenLogicRaw) 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 SweetTokenLogicSession

type SweetTokenLogicSession struct {
	Contract     *SweetTokenLogic  // 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
}

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

func (*SweetTokenLogicSession) AddToWhiteList

func (_SweetTokenLogic *SweetTokenLogicSession) AddToWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

AddToWhiteList is a paid mutator transaction binding the contract method 0x693382a9.

Solidity: function addToWhiteList(listName bytes32, guy address) returns()

func (*SweetTokenLogicSession) AddWhiteList

func (_SweetTokenLogic *SweetTokenLogicSession) AddWhiteList(listName [32]byte) (*types.Transaction, error)

AddWhiteList is a paid mutator transaction binding the contract method 0x3bd04d69.

Solidity: function addWhiteList(listName bytes32) returns()

func (*SweetTokenLogicSession) Allowance

func (_SweetTokenLogic *SweetTokenLogicSession) Allowance(src common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(src address, spender address) constant returns(uint256)

func (*SweetTokenLogicSession) Approve

func (_SweetTokenLogic *SweetTokenLogicSession) Approve(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xe1f21c67.

Solidity: function approve(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenLogicSession) BalanceOf

func (_SweetTokenLogic *SweetTokenLogicSession) BalanceOf(src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(src address) constant returns(uint256)

func (*SweetTokenLogicSession) Burn

func (_SweetTokenLogic *SweetTokenLogicSession) Burn(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn( address, uint256) returns()

func (*SweetTokenLogicSession) ContractHash

func (_SweetTokenLogic *SweetTokenLogicSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*SweetTokenLogicSession) Data

func (_SweetTokenLogic *SweetTokenLogicSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*SweetTokenLogicSession) FreeTransfer

func (_SweetTokenLogic *SweetTokenLogicSession) FreeTransfer() (bool, error)

FreeTransfer is a free data retrieval call binding the contract method 0x211ed6c1.

Solidity: function freeTransfer() constant returns(bool)

func (*SweetTokenLogicSession) HasRole

func (_SweetTokenLogic *SweetTokenLogicSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SweetTokenLogicSession) IndexOf

func (_SweetTokenLogic *SweetTokenLogicSession) IndexOf(listName [32]byte) (uint8, bool, error)

IndexOf is a free data retrieval call binding the contract method 0x6f4ce56a.

Solidity: function indexOf(listName bytes32) constant returns(uint8, bool)

func (*SweetTokenLogicSession) ListExists

func (_SweetTokenLogic *SweetTokenLogicSession) ListExists(listName [32]byte) (bool, error)

ListExists is a free data retrieval call binding the contract method 0x9495ad6c.

Solidity: function listExists(listName bytes32) constant returns(bool)

func (*SweetTokenLogicSession) ListNames

func (_SweetTokenLogic *SweetTokenLogicSession) ListNames(arg0 *big.Int) ([32]byte, error)

ListNames is a free data retrieval call binding the contract method 0x66272623.

Solidity: function listNames( uint256) constant returns(bytes32)

func (*SweetTokenLogicSession) ListNamesLen

func (_SweetTokenLogic *SweetTokenLogicSession) ListNamesLen() (*big.Int, error)

ListNamesLen is a free data retrieval call binding the contract method 0x1f99c458.

Solidity: function listNamesLen() constant returns(uint256)

func (*SweetTokenLogicSession) MintFor

func (_SweetTokenLogic *SweetTokenLogicSession) MintFor(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor( address, uint256) returns()

func (*SweetTokenLogicSession) Owner

func (_SweetTokenLogic *SweetTokenLogicSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SweetTokenLogicSession) RemoveFromWhiteList

func (_SweetTokenLogic *SweetTokenLogicSession) RemoveFromWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

RemoveFromWhiteList is a paid mutator transaction binding the contract method 0x3f32aa70.

Solidity: function removeFromWhiteList(listName bytes32, guy address) returns()

func (*SweetTokenLogicSession) RemoveWhiteList

func (_SweetTokenLogic *SweetTokenLogicSession) RemoveWhiteList(listName [32]byte) (*types.Transaction, error)

RemoveWhiteList is a paid mutator transaction binding the contract method 0x9aef8999.

Solidity: function removeWhiteList(listName bytes32) returns()

func (*SweetTokenLogicSession) ReplaceLogic

func (_SweetTokenLogic *SweetTokenLogicSession) ReplaceLogic(newLogic common.Address) (*types.Transaction, error)

ReplaceLogic is a paid mutator transaction binding the contract method 0xc8d47f16.

Solidity: function replaceLogic(newLogic address) returns()

func (*SweetTokenLogicSession) Restart

func (_SweetTokenLogic *SweetTokenLogicSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SweetTokenLogicSession) Roles

func (_SweetTokenLogic *SweetTokenLogicSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SweetTokenLogicSession) SenderHasRole

func (_SweetTokenLogic *SweetTokenLogicSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SweetTokenLogicSession) SetFreeTransfer

func (_SweetTokenLogic *SweetTokenLogicSession) SetFreeTransfer(isFree bool) (*types.Transaction, error)

SetFreeTransfer is a paid mutator transaction binding the contract method 0x2abfaf1f.

Solidity: function setFreeTransfer(isFree bool) returns()

func (*SweetTokenLogicSession) SetOwner

func (_SweetTokenLogic *SweetTokenLogicSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SweetTokenLogicSession) SetRolesContract

func (_SweetTokenLogic *SweetTokenLogicSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*SweetTokenLogicSession) SetToken

func (_SweetTokenLogic *SweetTokenLogicSession) SetToken(token_ common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(token_ address) returns()

func (*SweetTokenLogicSession) Stop

func (_SweetTokenLogic *SweetTokenLogicSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*SweetTokenLogicSession) Stopped

func (_SweetTokenLogic *SweetTokenLogicSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*SweetTokenLogicSession) Token

func (_SweetTokenLogic *SweetTokenLogicSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*SweetTokenLogicSession) TotalSupply

func (_SweetTokenLogic *SweetTokenLogicSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*SweetTokenLogicSession) Transfer

func (_SweetTokenLogic *SweetTokenLogicSession) Transfer(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenLogicSession) TransferFrom

func (_SweetTokenLogic *SweetTokenLogicSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenLogicSession) WhiteLists

func (_SweetTokenLogic *SweetTokenLogicSession) WhiteLists(arg0 common.Address, arg1 [32]byte) (bool, error)

WhiteLists is a free data retrieval call binding the contract method 0x4b4d0d45.

Solidity: function whiteLists( address, bytes32) constant returns(bool)

type SweetTokenLogicTransactor

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

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

func NewSweetTokenLogicTransactor

func NewSweetTokenLogicTransactor(address common.Address, transactor bind.ContractTransactor) (*SweetTokenLogicTransactor, error)

NewSweetTokenLogicTransactor creates a new write-only instance of SweetTokenLogic, bound to a specific deployed contract.

func (*SweetTokenLogicTransactor) AddToWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactor) AddToWhiteList(opts *bind.TransactOpts, listName [32]byte, guy common.Address) (*types.Transaction, error)

AddToWhiteList is a paid mutator transaction binding the contract method 0x693382a9.

Solidity: function addToWhiteList(listName bytes32, guy address) returns()

func (*SweetTokenLogicTransactor) AddWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactor) AddWhiteList(opts *bind.TransactOpts, listName [32]byte) (*types.Transaction, error)

AddWhiteList is a paid mutator transaction binding the contract method 0x3bd04d69.

Solidity: function addWhiteList(listName bytes32) returns()

func (*SweetTokenLogicTransactor) Approve

func (_SweetTokenLogic *SweetTokenLogicTransactor) Approve(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xe1f21c67.

Solidity: function approve(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenLogicTransactor) Burn

func (_SweetTokenLogic *SweetTokenLogicTransactor) Burn(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn( address, uint256) returns()

func (*SweetTokenLogicTransactor) MintFor

func (_SweetTokenLogic *SweetTokenLogicTransactor) MintFor(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor( address, uint256) returns()

func (*SweetTokenLogicTransactor) RemoveFromWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactor) RemoveFromWhiteList(opts *bind.TransactOpts, listName [32]byte, guy common.Address) (*types.Transaction, error)

RemoveFromWhiteList is a paid mutator transaction binding the contract method 0x3f32aa70.

Solidity: function removeFromWhiteList(listName bytes32, guy address) returns()

func (*SweetTokenLogicTransactor) RemoveWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactor) RemoveWhiteList(opts *bind.TransactOpts, listName [32]byte) (*types.Transaction, error)

RemoveWhiteList is a paid mutator transaction binding the contract method 0x9aef8999.

Solidity: function removeWhiteList(listName bytes32) returns()

func (*SweetTokenLogicTransactor) ReplaceLogic

func (_SweetTokenLogic *SweetTokenLogicTransactor) ReplaceLogic(opts *bind.TransactOpts, newLogic common.Address) (*types.Transaction, error)

ReplaceLogic is a paid mutator transaction binding the contract method 0xc8d47f16.

Solidity: function replaceLogic(newLogic address) returns()

func (*SweetTokenLogicTransactor) Restart

func (_SweetTokenLogic *SweetTokenLogicTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SweetTokenLogicTransactor) SetFreeTransfer

func (_SweetTokenLogic *SweetTokenLogicTransactor) SetFreeTransfer(opts *bind.TransactOpts, isFree bool) (*types.Transaction, error)

SetFreeTransfer is a paid mutator transaction binding the contract method 0x2abfaf1f.

Solidity: function setFreeTransfer(isFree bool) returns()

func (*SweetTokenLogicTransactor) SetOwner

func (_SweetTokenLogic *SweetTokenLogicTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SweetTokenLogicTransactor) SetRolesContract

func (_SweetTokenLogic *SweetTokenLogicTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*SweetTokenLogicTransactor) SetToken

func (_SweetTokenLogic *SweetTokenLogicTransactor) SetToken(opts *bind.TransactOpts, token_ common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(token_ address) returns()

func (*SweetTokenLogicTransactor) Stop

func (_SweetTokenLogic *SweetTokenLogicTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*SweetTokenLogicTransactor) Transfer

func (_SweetTokenLogic *SweetTokenLogicTransactor) Transfer(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenLogicTransactor) TransferFrom

func (_SweetTokenLogic *SweetTokenLogicTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

type SweetTokenLogicTransactorRaw

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

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

func (*SweetTokenLogicTransactorRaw) Transact

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

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

func (*SweetTokenLogicTransactorRaw) Transfer

func (_SweetTokenLogic *SweetTokenLogicTransactorRaw) 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 SweetTokenLogicTransactorSession

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

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

func (*SweetTokenLogicTransactorSession) AddToWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) AddToWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

AddToWhiteList is a paid mutator transaction binding the contract method 0x693382a9.

Solidity: function addToWhiteList(listName bytes32, guy address) returns()

func (*SweetTokenLogicTransactorSession) AddWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) AddWhiteList(listName [32]byte) (*types.Transaction, error)

AddWhiteList is a paid mutator transaction binding the contract method 0x3bd04d69.

Solidity: function addWhiteList(listName bytes32) returns()

func (*SweetTokenLogicTransactorSession) Approve

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) Approve(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xe1f21c67.

Solidity: function approve(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenLogicTransactorSession) Burn

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) Burn(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn( address, uint256) returns()

func (*SweetTokenLogicTransactorSession) MintFor

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) MintFor(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor( address, uint256) returns()

func (*SweetTokenLogicTransactorSession) RemoveFromWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) RemoveFromWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

RemoveFromWhiteList is a paid mutator transaction binding the contract method 0x3f32aa70.

Solidity: function removeFromWhiteList(listName bytes32, guy address) returns()

func (*SweetTokenLogicTransactorSession) RemoveWhiteList

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) RemoveWhiteList(listName [32]byte) (*types.Transaction, error)

RemoveWhiteList is a paid mutator transaction binding the contract method 0x9aef8999.

Solidity: function removeWhiteList(listName bytes32) returns()

func (*SweetTokenLogicTransactorSession) ReplaceLogic

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) ReplaceLogic(newLogic common.Address) (*types.Transaction, error)

ReplaceLogic is a paid mutator transaction binding the contract method 0xc8d47f16.

Solidity: function replaceLogic(newLogic address) returns()

func (*SweetTokenLogicTransactorSession) Restart

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SweetTokenLogicTransactorSession) SetFreeTransfer

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) SetFreeTransfer(isFree bool) (*types.Transaction, error)

SetFreeTransfer is a paid mutator transaction binding the contract method 0x2abfaf1f.

Solidity: function setFreeTransfer(isFree bool) returns()

func (*SweetTokenLogicTransactorSession) SetOwner

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SweetTokenLogicTransactorSession) SetRolesContract

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*SweetTokenLogicTransactorSession) SetToken

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) SetToken(token_ common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(token_ address) returns()

func (*SweetTokenLogicTransactorSession) Stop

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*SweetTokenLogicTransactorSession) Transfer

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) Transfer(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenLogicTransactorSession) TransferFrom

func (_SweetTokenLogic *SweetTokenLogicTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

type SweetTokenRaw

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

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

func (*SweetTokenRaw) Call

func (_SweetToken *SweetTokenRaw) 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 (*SweetTokenRaw) Transact

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

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

func (*SweetTokenRaw) Transfer

func (_SweetToken *SweetTokenRaw) 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 SweetTokenSession

type SweetTokenSession struct {
	Contract     *SweetToken       // 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
}

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

func (*SweetTokenSession) Allowance

func (_SweetToken *SweetTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(_allowance uint256)

func (*SweetTokenSession) Approve

func (_SweetToken *SweetTokenSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(guy address, wad uint256) returns(bool)

func (*SweetTokenSession) BalanceOf

func (_SweetToken *SweetTokenSession) BalanceOf(who common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(who address) constant returns(value uint256)

func (*SweetTokenSession) Burn

func (_SweetToken *SweetTokenSession) Burn(wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(wad uint256) returns()

func (*SweetTokenSession) ContractHash

func (_SweetToken *SweetTokenSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*SweetTokenSession) Decimals

func (_SweetToken *SweetTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*SweetTokenSession) HasRole

func (_SweetToken *SweetTokenSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*SweetTokenSession) Logic

func (_SweetToken *SweetTokenSession) Logic() (common.Address, error)

Logic is a free data retrieval call binding the contract method 0xd7dfa0dd.

Solidity: function logic() constant returns(address)

func (*SweetTokenSession) MintFor

func (_SweetToken *SweetTokenSession) MintFor(recipient common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(recipient address, wad uint256) returns()

func (*SweetTokenSession) Name

func (_SweetToken *SweetTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*SweetTokenSession) Owner

func (_SweetToken *SweetTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*SweetTokenSession) Pull

func (_SweetToken *SweetTokenSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(src address, wad uint256) returns(bool)

func (*SweetTokenSession) Restart

func (_SweetToken *SweetTokenSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SweetTokenSession) Roles

func (_SweetToken *SweetTokenSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*SweetTokenSession) SenderHasRole

func (_SweetToken *SweetTokenSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*SweetTokenSession) SetLogic

func (_SweetToken *SweetTokenSession) SetLogic(logic_ common.Address) (*types.Transaction, error)

SetLogic is a paid mutator transaction binding the contract method 0x71857000.

Solidity: function setLogic(logic_ address) returns()

func (*SweetTokenSession) SetName

func (_SweetToken *SweetTokenSession) SetName(name_ string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(name_ string) returns()

func (*SweetTokenSession) SetOwner

func (_SweetToken *SweetTokenSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SweetTokenSession) SetRolesContract

func (_SweetToken *SweetTokenSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*SweetTokenSession) Stop

func (_SweetToken *SweetTokenSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*SweetTokenSession) Stopped

func (_SweetToken *SweetTokenSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*SweetTokenSession) Symbol

func (_SweetToken *SweetTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*SweetTokenSession) TotalSupply

func (_SweetToken *SweetTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*SweetTokenSession) Transfer

func (_SweetToken *SweetTokenSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(dst address, wad uint256) returns(bool)

func (*SweetTokenSession) TransferFrom

func (_SweetToken *SweetTokenSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenSession) TriggerTransfer

func (_SweetToken *SweetTokenSession) TriggerTransfer(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TriggerTransfer is a paid mutator transaction binding the contract method 0xe31a7c01.

Solidity: function triggerTransfer(src address, dst address, wad uint256) returns()

type SweetTokenTransactor

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

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

func NewSweetTokenTransactor

func NewSweetTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*SweetTokenTransactor, error)

NewSweetTokenTransactor creates a new write-only instance of SweetToken, bound to a specific deployed contract.

func (*SweetTokenTransactor) Approve

func (_SweetToken *SweetTokenTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(guy address, wad uint256) returns(bool)

func (*SweetTokenTransactor) Burn

func (_SweetToken *SweetTokenTransactor) Burn(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(wad uint256) returns()

func (*SweetTokenTransactor) MintFor

func (_SweetToken *SweetTokenTransactor) MintFor(opts *bind.TransactOpts, recipient common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(recipient address, wad uint256) returns()

func (*SweetTokenTransactor) Pull

func (_SweetToken *SweetTokenTransactor) Pull(opts *bind.TransactOpts, src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(src address, wad uint256) returns(bool)

func (*SweetTokenTransactor) Restart

func (_SweetToken *SweetTokenTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SweetTokenTransactor) SetLogic

func (_SweetToken *SweetTokenTransactor) SetLogic(opts *bind.TransactOpts, logic_ common.Address) (*types.Transaction, error)

SetLogic is a paid mutator transaction binding the contract method 0x71857000.

Solidity: function setLogic(logic_ address) returns()

func (*SweetTokenTransactor) SetName

func (_SweetToken *SweetTokenTransactor) SetName(opts *bind.TransactOpts, name_ string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(name_ string) returns()

func (*SweetTokenTransactor) SetOwner

func (_SweetToken *SweetTokenTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SweetTokenTransactor) SetRolesContract

func (_SweetToken *SweetTokenTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*SweetTokenTransactor) Stop

func (_SweetToken *SweetTokenTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*SweetTokenTransactor) Transfer

func (_SweetToken *SweetTokenTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(dst address, wad uint256) returns(bool)

func (*SweetTokenTransactor) TransferFrom

func (_SweetToken *SweetTokenTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenTransactor) TriggerTransfer

func (_SweetToken *SweetTokenTransactor) TriggerTransfer(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TriggerTransfer is a paid mutator transaction binding the contract method 0xe31a7c01.

Solidity: function triggerTransfer(src address, dst address, wad uint256) returns()

type SweetTokenTransactorRaw

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

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

func (*SweetTokenTransactorRaw) Transact

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

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

func (*SweetTokenTransactorRaw) Transfer

func (_SweetToken *SweetTokenTransactorRaw) 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 SweetTokenTransactorSession

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

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

func (*SweetTokenTransactorSession) Approve

func (_SweetToken *SweetTokenTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(guy address, wad uint256) returns(bool)

func (*SweetTokenTransactorSession) Burn

func (_SweetToken *SweetTokenTransactorSession) Burn(wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(wad uint256) returns()

func (*SweetTokenTransactorSession) MintFor

func (_SweetToken *SweetTokenTransactorSession) MintFor(recipient common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(recipient address, wad uint256) returns()

func (*SweetTokenTransactorSession) Pull

func (_SweetToken *SweetTokenTransactorSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(src address, wad uint256) returns(bool)

func (*SweetTokenTransactorSession) Restart

func (_SweetToken *SweetTokenTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*SweetTokenTransactorSession) SetLogic

func (_SweetToken *SweetTokenTransactorSession) SetLogic(logic_ common.Address) (*types.Transaction, error)

SetLogic is a paid mutator transaction binding the contract method 0x71857000.

Solidity: function setLogic(logic_ address) returns()

func (*SweetTokenTransactorSession) SetName

func (_SweetToken *SweetTokenTransactorSession) SetName(name_ string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(name_ string) returns()

func (*SweetTokenTransactorSession) SetOwner

func (_SweetToken *SweetTokenTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*SweetTokenTransactorSession) SetRolesContract

func (_SweetToken *SweetTokenTransactorSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*SweetTokenTransactorSession) Stop

func (_SweetToken *SweetTokenTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*SweetTokenTransactorSession) Transfer

func (_SweetToken *SweetTokenTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(dst address, wad uint256) returns(bool)

func (*SweetTokenTransactorSession) TransferFrom

func (_SweetToken *SweetTokenTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

func (*SweetTokenTransactorSession) TriggerTransfer

func (_SweetToken *SweetTokenTransactorSession) TriggerTransfer(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TriggerTransfer is a paid mutator transaction binding the contract method 0xe31a7c01.

Solidity: function triggerTransfer(src address, dst address, wad uint256) returns()

type TokenLogic

type TokenLogic struct {
	TokenLogicCaller     // Read-only binding to the contract
	TokenLogicTransactor // Write-only binding to the contract
}

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

func NewTokenLogic

func NewTokenLogic(address common.Address, backend bind.ContractBackend) (*TokenLogic, error)

NewTokenLogic creates a new instance of TokenLogic, bound to a specific deployed contract.

type TokenLogicCaller

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

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

func NewTokenLogicCaller

func NewTokenLogicCaller(address common.Address, caller bind.ContractCaller) (*TokenLogicCaller, error)

NewTokenLogicCaller creates a new read-only instance of TokenLogic, bound to a specific deployed contract.

func (*TokenLogicCaller) Allowance

func (_TokenLogic *TokenLogicCaller) Allowance(opts *bind.CallOpts, src common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(src address, spender address) constant returns(uint256)

func (*TokenLogicCaller) BalanceOf

func (_TokenLogic *TokenLogicCaller) BalanceOf(opts *bind.CallOpts, src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(src address) constant returns(uint256)

func (*TokenLogicCaller) ContractHash

func (_TokenLogic *TokenLogicCaller) ContractHash(opts *bind.CallOpts) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*TokenLogicCaller) Data

func (_TokenLogic *TokenLogicCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*TokenLogicCaller) FreeTransfer

func (_TokenLogic *TokenLogicCaller) FreeTransfer(opts *bind.CallOpts) (bool, error)

FreeTransfer is a free data retrieval call binding the contract method 0x211ed6c1.

Solidity: function freeTransfer() constant returns(bool)

func (*TokenLogicCaller) HasRole

func (_TokenLogic *TokenLogicCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*TokenLogicCaller) IndexOf

func (_TokenLogic *TokenLogicCaller) IndexOf(opts *bind.CallOpts, listName [32]byte) (uint8, bool, error)

IndexOf is a free data retrieval call binding the contract method 0x6f4ce56a.

Solidity: function indexOf(listName bytes32) constant returns(uint8, bool)

func (*TokenLogicCaller) ListExists

func (_TokenLogic *TokenLogicCaller) ListExists(opts *bind.CallOpts, listName [32]byte) (bool, error)

ListExists is a free data retrieval call binding the contract method 0x9495ad6c.

Solidity: function listExists(listName bytes32) constant returns(bool)

func (*TokenLogicCaller) ListNames

func (_TokenLogic *TokenLogicCaller) ListNames(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

ListNames is a free data retrieval call binding the contract method 0x66272623.

Solidity: function listNames( uint256) constant returns(bytes32)

func (*TokenLogicCaller) ListNamesLen

func (_TokenLogic *TokenLogicCaller) ListNamesLen(opts *bind.CallOpts) (*big.Int, error)

ListNamesLen is a free data retrieval call binding the contract method 0x1f99c458.

Solidity: function listNamesLen() constant returns(uint256)

func (*TokenLogicCaller) Owner

func (_TokenLogic *TokenLogicCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TokenLogicCaller) Roles

func (_TokenLogic *TokenLogicCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*TokenLogicCaller) SenderHasRole

func (_TokenLogic *TokenLogicCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*TokenLogicCaller) Stopped

func (_TokenLogic *TokenLogicCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*TokenLogicCaller) Token

func (_TokenLogic *TokenLogicCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*TokenLogicCaller) TotalSupply

func (_TokenLogic *TokenLogicCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*TokenLogicCaller) WhiteLists

func (_TokenLogic *TokenLogicCaller) WhiteLists(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (bool, error)

WhiteLists is a free data retrieval call binding the contract method 0x4b4d0d45.

Solidity: function whiteLists( address, bytes32) constant returns(bool)

type TokenLogicCallerRaw

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

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

func (*TokenLogicCallerRaw) Call

func (_TokenLogic *TokenLogicCallerRaw) 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 TokenLogicCallerSession

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

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

func (*TokenLogicCallerSession) Allowance

func (_TokenLogic *TokenLogicCallerSession) Allowance(src common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(src address, spender address) constant returns(uint256)

func (*TokenLogicCallerSession) BalanceOf

func (_TokenLogic *TokenLogicCallerSession) BalanceOf(src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(src address) constant returns(uint256)

func (*TokenLogicCallerSession) ContractHash

func (_TokenLogic *TokenLogicCallerSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*TokenLogicCallerSession) Data

func (_TokenLogic *TokenLogicCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*TokenLogicCallerSession) FreeTransfer

func (_TokenLogic *TokenLogicCallerSession) FreeTransfer() (bool, error)

FreeTransfer is a free data retrieval call binding the contract method 0x211ed6c1.

Solidity: function freeTransfer() constant returns(bool)

func (*TokenLogicCallerSession) HasRole

func (_TokenLogic *TokenLogicCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*TokenLogicCallerSession) IndexOf

func (_TokenLogic *TokenLogicCallerSession) IndexOf(listName [32]byte) (uint8, bool, error)

IndexOf is a free data retrieval call binding the contract method 0x6f4ce56a.

Solidity: function indexOf(listName bytes32) constant returns(uint8, bool)

func (*TokenLogicCallerSession) ListExists

func (_TokenLogic *TokenLogicCallerSession) ListExists(listName [32]byte) (bool, error)

ListExists is a free data retrieval call binding the contract method 0x9495ad6c.

Solidity: function listExists(listName bytes32) constant returns(bool)

func (*TokenLogicCallerSession) ListNames

func (_TokenLogic *TokenLogicCallerSession) ListNames(arg0 *big.Int) ([32]byte, error)

ListNames is a free data retrieval call binding the contract method 0x66272623.

Solidity: function listNames( uint256) constant returns(bytes32)

func (*TokenLogicCallerSession) ListNamesLen

func (_TokenLogic *TokenLogicCallerSession) ListNamesLen() (*big.Int, error)

ListNamesLen is a free data retrieval call binding the contract method 0x1f99c458.

Solidity: function listNamesLen() constant returns(uint256)

func (*TokenLogicCallerSession) Owner

func (_TokenLogic *TokenLogicCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TokenLogicCallerSession) Roles

func (_TokenLogic *TokenLogicCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*TokenLogicCallerSession) SenderHasRole

func (_TokenLogic *TokenLogicCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*TokenLogicCallerSession) Stopped

func (_TokenLogic *TokenLogicCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*TokenLogicCallerSession) Token

func (_TokenLogic *TokenLogicCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*TokenLogicCallerSession) TotalSupply

func (_TokenLogic *TokenLogicCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*TokenLogicCallerSession) WhiteLists

func (_TokenLogic *TokenLogicCallerSession) WhiteLists(arg0 common.Address, arg1 [32]byte) (bool, error)

WhiteLists is a free data retrieval call binding the contract method 0x4b4d0d45.

Solidity: function whiteLists( address, bytes32) constant returns(bool)

type TokenLogicRaw

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

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

func (*TokenLogicRaw) Call

func (_TokenLogic *TokenLogicRaw) 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 (*TokenLogicRaw) Transact

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

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

func (*TokenLogicRaw) Transfer

func (_TokenLogic *TokenLogicRaw) 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 TokenLogicSession

type TokenLogicSession struct {
	Contract     *TokenLogic       // 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
}

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

func (*TokenLogicSession) AddToWhiteList

func (_TokenLogic *TokenLogicSession) AddToWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

AddToWhiteList is a paid mutator transaction binding the contract method 0x693382a9.

Solidity: function addToWhiteList(listName bytes32, guy address) returns()

func (*TokenLogicSession) AddWhiteList

func (_TokenLogic *TokenLogicSession) AddWhiteList(listName [32]byte) (*types.Transaction, error)

AddWhiteList is a paid mutator transaction binding the contract method 0x3bd04d69.

Solidity: function addWhiteList(listName bytes32) returns()

func (*TokenLogicSession) Allowance

func (_TokenLogic *TokenLogicSession) Allowance(src common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(src address, spender address) constant returns(uint256)

func (*TokenLogicSession) Approve

func (_TokenLogic *TokenLogicSession) Approve(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xe1f21c67.

Solidity: function approve(src address, dst address, wad uint256) returns(bool)

func (*TokenLogicSession) BalanceOf

func (_TokenLogic *TokenLogicSession) BalanceOf(src common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(src address) constant returns(uint256)

func (*TokenLogicSession) Burn

func (_TokenLogic *TokenLogicSession) Burn(src common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(src address, wad uint256) returns()

func (*TokenLogicSession) ContractHash

func (_TokenLogic *TokenLogicSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*TokenLogicSession) Data

func (_TokenLogic *TokenLogicSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*TokenLogicSession) FreeTransfer

func (_TokenLogic *TokenLogicSession) FreeTransfer() (bool, error)

FreeTransfer is a free data retrieval call binding the contract method 0x211ed6c1.

Solidity: function freeTransfer() constant returns(bool)

func (*TokenLogicSession) HasRole

func (_TokenLogic *TokenLogicSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*TokenLogicSession) IndexOf

func (_TokenLogic *TokenLogicSession) IndexOf(listName [32]byte) (uint8, bool, error)

IndexOf is a free data retrieval call binding the contract method 0x6f4ce56a.

Solidity: function indexOf(listName bytes32) constant returns(uint8, bool)

func (*TokenLogicSession) ListExists

func (_TokenLogic *TokenLogicSession) ListExists(listName [32]byte) (bool, error)

ListExists is a free data retrieval call binding the contract method 0x9495ad6c.

Solidity: function listExists(listName bytes32) constant returns(bool)

func (*TokenLogicSession) ListNames

func (_TokenLogic *TokenLogicSession) ListNames(arg0 *big.Int) ([32]byte, error)

ListNames is a free data retrieval call binding the contract method 0x66272623.

Solidity: function listNames( uint256) constant returns(bytes32)

func (*TokenLogicSession) ListNamesLen

func (_TokenLogic *TokenLogicSession) ListNamesLen() (*big.Int, error)

ListNamesLen is a free data retrieval call binding the contract method 0x1f99c458.

Solidity: function listNamesLen() constant returns(uint256)

func (*TokenLogicSession) MintFor

func (_TokenLogic *TokenLogicSession) MintFor(dst common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(dst address, wad uint256) returns()

func (*TokenLogicSession) Owner

func (_TokenLogic *TokenLogicSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TokenLogicSession) RemoveFromWhiteList

func (_TokenLogic *TokenLogicSession) RemoveFromWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

RemoveFromWhiteList is a paid mutator transaction binding the contract method 0x3f32aa70.

Solidity: function removeFromWhiteList(listName bytes32, guy address) returns()

func (*TokenLogicSession) RemoveWhiteList

func (_TokenLogic *TokenLogicSession) RemoveWhiteList(listName [32]byte) (*types.Transaction, error)

RemoveWhiteList is a paid mutator transaction binding the contract method 0x9aef8999.

Solidity: function removeWhiteList(listName bytes32) returns()

func (*TokenLogicSession) ReplaceLogic

func (_TokenLogic *TokenLogicSession) ReplaceLogic(newLogic common.Address) (*types.Transaction, error)

ReplaceLogic is a paid mutator transaction binding the contract method 0xc8d47f16.

Solidity: function replaceLogic(newLogic address) returns()

func (*TokenLogicSession) Restart

func (_TokenLogic *TokenLogicSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*TokenLogicSession) Roles

func (_TokenLogic *TokenLogicSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*TokenLogicSession) SenderHasRole

func (_TokenLogic *TokenLogicSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*TokenLogicSession) SetFreeTransfer

func (_TokenLogic *TokenLogicSession) SetFreeTransfer(isFree bool) (*types.Transaction, error)

SetFreeTransfer is a paid mutator transaction binding the contract method 0x2abfaf1f.

Solidity: function setFreeTransfer(isFree bool) returns()

func (*TokenLogicSession) SetOwner

func (_TokenLogic *TokenLogicSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*TokenLogicSession) SetRolesContract

func (_TokenLogic *TokenLogicSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*TokenLogicSession) SetToken

func (_TokenLogic *TokenLogicSession) SetToken(token_ common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(token_ address) returns()

func (*TokenLogicSession) Stop

func (_TokenLogic *TokenLogicSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*TokenLogicSession) Stopped

func (_TokenLogic *TokenLogicSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*TokenLogicSession) Token

func (_TokenLogic *TokenLogicSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*TokenLogicSession) TotalSupply

func (_TokenLogic *TokenLogicSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*TokenLogicSession) Transfer

func (_TokenLogic *TokenLogicSession) Transfer(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(src address, dst address, wad uint256) returns(bool)

func (*TokenLogicSession) TransferFrom

func (_TokenLogic *TokenLogicSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

func (*TokenLogicSession) WhiteLists

func (_TokenLogic *TokenLogicSession) WhiteLists(arg0 common.Address, arg1 [32]byte) (bool, error)

WhiteLists is a free data retrieval call binding the contract method 0x4b4d0d45.

Solidity: function whiteLists( address, bytes32) constant returns(bool)

type TokenLogicTransactor

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

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

func NewTokenLogicTransactor

func NewTokenLogicTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenLogicTransactor, error)

NewTokenLogicTransactor creates a new write-only instance of TokenLogic, bound to a specific deployed contract.

func (*TokenLogicTransactor) AddToWhiteList

func (_TokenLogic *TokenLogicTransactor) AddToWhiteList(opts *bind.TransactOpts, listName [32]byte, guy common.Address) (*types.Transaction, error)

AddToWhiteList is a paid mutator transaction binding the contract method 0x693382a9.

Solidity: function addToWhiteList(listName bytes32, guy address) returns()

func (*TokenLogicTransactor) AddWhiteList

func (_TokenLogic *TokenLogicTransactor) AddWhiteList(opts *bind.TransactOpts, listName [32]byte) (*types.Transaction, error)

AddWhiteList is a paid mutator transaction binding the contract method 0x3bd04d69.

Solidity: function addWhiteList(listName bytes32) returns()

func (*TokenLogicTransactor) Approve

func (_TokenLogic *TokenLogicTransactor) Approve(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xe1f21c67.

Solidity: function approve(src address, dst address, wad uint256) returns(bool)

func (*TokenLogicTransactor) Burn

func (_TokenLogic *TokenLogicTransactor) Burn(opts *bind.TransactOpts, src common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(src address, wad uint256) returns()

func (*TokenLogicTransactor) MintFor

func (_TokenLogic *TokenLogicTransactor) MintFor(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(dst address, wad uint256) returns()

func (*TokenLogicTransactor) RemoveFromWhiteList

func (_TokenLogic *TokenLogicTransactor) RemoveFromWhiteList(opts *bind.TransactOpts, listName [32]byte, guy common.Address) (*types.Transaction, error)

RemoveFromWhiteList is a paid mutator transaction binding the contract method 0x3f32aa70.

Solidity: function removeFromWhiteList(listName bytes32, guy address) returns()

func (*TokenLogicTransactor) RemoveWhiteList

func (_TokenLogic *TokenLogicTransactor) RemoveWhiteList(opts *bind.TransactOpts, listName [32]byte) (*types.Transaction, error)

RemoveWhiteList is a paid mutator transaction binding the contract method 0x9aef8999.

Solidity: function removeWhiteList(listName bytes32) returns()

func (*TokenLogicTransactor) ReplaceLogic

func (_TokenLogic *TokenLogicTransactor) ReplaceLogic(opts *bind.TransactOpts, newLogic common.Address) (*types.Transaction, error)

ReplaceLogic is a paid mutator transaction binding the contract method 0xc8d47f16.

Solidity: function replaceLogic(newLogic address) returns()

func (*TokenLogicTransactor) Restart

func (_TokenLogic *TokenLogicTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*TokenLogicTransactor) SetFreeTransfer

func (_TokenLogic *TokenLogicTransactor) SetFreeTransfer(opts *bind.TransactOpts, isFree bool) (*types.Transaction, error)

SetFreeTransfer is a paid mutator transaction binding the contract method 0x2abfaf1f.

Solidity: function setFreeTransfer(isFree bool) returns()

func (*TokenLogicTransactor) SetOwner

func (_TokenLogic *TokenLogicTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*TokenLogicTransactor) SetRolesContract

func (_TokenLogic *TokenLogicTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*TokenLogicTransactor) SetToken

func (_TokenLogic *TokenLogicTransactor) SetToken(opts *bind.TransactOpts, token_ common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(token_ address) returns()

func (*TokenLogicTransactor) Stop

func (_TokenLogic *TokenLogicTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*TokenLogicTransactor) Transfer

func (_TokenLogic *TokenLogicTransactor) Transfer(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(src address, dst address, wad uint256) returns(bool)

func (*TokenLogicTransactor) TransferFrom

func (_TokenLogic *TokenLogicTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

type TokenLogicTransactorRaw

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

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

func (*TokenLogicTransactorRaw) Transact

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

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

func (*TokenLogicTransactorRaw) Transfer

func (_TokenLogic *TokenLogicTransactorRaw) 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 TokenLogicTransactorSession

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

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

func (*TokenLogicTransactorSession) AddToWhiteList

func (_TokenLogic *TokenLogicTransactorSession) AddToWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

AddToWhiteList is a paid mutator transaction binding the contract method 0x693382a9.

Solidity: function addToWhiteList(listName bytes32, guy address) returns()

func (*TokenLogicTransactorSession) AddWhiteList

func (_TokenLogic *TokenLogicTransactorSession) AddWhiteList(listName [32]byte) (*types.Transaction, error)

AddWhiteList is a paid mutator transaction binding the contract method 0x3bd04d69.

Solidity: function addWhiteList(listName bytes32) returns()

func (*TokenLogicTransactorSession) Approve

func (_TokenLogic *TokenLogicTransactorSession) Approve(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0xe1f21c67.

Solidity: function approve(src address, dst address, wad uint256) returns(bool)

func (*TokenLogicTransactorSession) Burn

func (_TokenLogic *TokenLogicTransactorSession) Burn(src common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(src address, wad uint256) returns()

func (*TokenLogicTransactorSession) MintFor

func (_TokenLogic *TokenLogicTransactorSession) MintFor(dst common.Address, wad *big.Int) (*types.Transaction, error)

MintFor is a paid mutator transaction binding the contract method 0xda1919b3.

Solidity: function mintFor(dst address, wad uint256) returns()

func (*TokenLogicTransactorSession) RemoveFromWhiteList

func (_TokenLogic *TokenLogicTransactorSession) RemoveFromWhiteList(listName [32]byte, guy common.Address) (*types.Transaction, error)

RemoveFromWhiteList is a paid mutator transaction binding the contract method 0x3f32aa70.

Solidity: function removeFromWhiteList(listName bytes32, guy address) returns()

func (*TokenLogicTransactorSession) RemoveWhiteList

func (_TokenLogic *TokenLogicTransactorSession) RemoveWhiteList(listName [32]byte) (*types.Transaction, error)

RemoveWhiteList is a paid mutator transaction binding the contract method 0x9aef8999.

Solidity: function removeWhiteList(listName bytes32) returns()

func (*TokenLogicTransactorSession) ReplaceLogic

func (_TokenLogic *TokenLogicTransactorSession) ReplaceLogic(newLogic common.Address) (*types.Transaction, error)

ReplaceLogic is a paid mutator transaction binding the contract method 0xc8d47f16.

Solidity: function replaceLogic(newLogic address) returns()

func (*TokenLogicTransactorSession) Restart

func (_TokenLogic *TokenLogicTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*TokenLogicTransactorSession) SetFreeTransfer

func (_TokenLogic *TokenLogicTransactorSession) SetFreeTransfer(isFree bool) (*types.Transaction, error)

SetFreeTransfer is a paid mutator transaction binding the contract method 0x2abfaf1f.

Solidity: function setFreeTransfer(isFree bool) returns()

func (*TokenLogicTransactorSession) SetOwner

func (_TokenLogic *TokenLogicTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*TokenLogicTransactorSession) SetRolesContract

func (_TokenLogic *TokenLogicTransactorSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*TokenLogicTransactorSession) SetToken

func (_TokenLogic *TokenLogicTransactorSession) SetToken(token_ common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(token_ address) returns()

func (*TokenLogicTransactorSession) Stop

func (_TokenLogic *TokenLogicTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*TokenLogicTransactorSession) Transfer

func (_TokenLogic *TokenLogicTransactorSession) Transfer(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(src address, dst address, wad uint256) returns(bool)

func (*TokenLogicTransactorSession) TransferFrom

func (_TokenLogic *TokenLogicTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(src address, dst address, wad uint256) returns(bool)

type UserDirectory

type UserDirectory struct {
	UserDirectoryCaller     // Read-only binding to the contract
	UserDirectoryTransactor // Write-only binding to the contract
}

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

func DeployUserDirectory

func DeployUserDirectory(auth *bind.TransactOpts, backend bind.ContractBackend, root_ common.Address, owner_ common.Address, rolesContract common.Address) (common.Address, *types.Transaction, *UserDirectory, error)

DeployUserDirectory deploys a new Ethereum contract, binding an instance of UserDirectory to it.

func NewUserDirectory

func NewUserDirectory(address common.Address, backend bind.ContractBackend) (*UserDirectory, error)

NewUserDirectory creates a new instance of UserDirectory, bound to a specific deployed contract.

type UserDirectoryCaller

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

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

func NewUserDirectoryCaller

func NewUserDirectoryCaller(address common.Address, caller bind.ContractCaller) (*UserDirectoryCaller, error)

NewUserDirectoryCaller creates a new read-only instance of UserDirectory, bound to a specific deployed contract.

func (*UserDirectoryCaller) Active

func (_UserDirectory *UserDirectoryCaller) Active(opts *bind.CallOpts) (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*UserDirectoryCaller) ContractHash

func (_UserDirectory *UserDirectoryCaller) ContractHash(opts *bind.CallOpts) ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*UserDirectoryCaller) HasRole

func (_UserDirectory *UserDirectoryCaller) HasRole(opts *bind.CallOpts, roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*UserDirectoryCaller) Owner

func (_UserDirectory *UserDirectoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*UserDirectoryCaller) Profile

func (_UserDirectory *UserDirectoryCaller) Profile(opts *bind.CallOpts) (string, error)

Profile is a free data retrieval call binding the contract method 0xab60636c.

Solidity: function profile() constant returns(string)

func (*UserDirectoryCaller) Roles

func (_UserDirectory *UserDirectoryCaller) Roles(opts *bind.CallOpts) (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*UserDirectoryCaller) Root

func (_UserDirectory *UserDirectoryCaller) Root(opts *bind.CallOpts) (common.Address, error)

Root is a free data retrieval call binding the contract method 0xebf0c717.

Solidity: function root() constant returns(address)

func (*UserDirectoryCaller) SenderHasRole

func (_UserDirectory *UserDirectoryCaller) SenderHasRole(opts *bind.CallOpts, roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*UserDirectoryCaller) Stopped

func (_UserDirectory *UserDirectoryCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*UserDirectoryCaller) WalletCount

func (_UserDirectory *UserDirectoryCaller) WalletCount(opts *bind.CallOpts) (uint32, error)

WalletCount is a free data retrieval call binding the contract method 0x29b57c69.

Solidity: function walletCount() constant returns(uint32)

func (*UserDirectoryCaller) Wallets

func (_UserDirectory *UserDirectoryCaller) Wallets(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Wallets is a free data retrieval call binding the contract method 0x7ad71f72.

Solidity: function wallets( uint256) constant returns(address)

type UserDirectoryCallerRaw

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

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

func (*UserDirectoryCallerRaw) Call

func (_UserDirectory *UserDirectoryCallerRaw) 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 UserDirectoryCallerSession

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

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

func (*UserDirectoryCallerSession) Active

func (_UserDirectory *UserDirectoryCallerSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*UserDirectoryCallerSession) ContractHash

func (_UserDirectory *UserDirectoryCallerSession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*UserDirectoryCallerSession) HasRole

func (_UserDirectory *UserDirectoryCallerSession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*UserDirectoryCallerSession) Owner

func (_UserDirectory *UserDirectoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*UserDirectoryCallerSession) Profile

func (_UserDirectory *UserDirectoryCallerSession) Profile() (string, error)

Profile is a free data retrieval call binding the contract method 0xab60636c.

Solidity: function profile() constant returns(string)

func (*UserDirectoryCallerSession) Roles

func (_UserDirectory *UserDirectoryCallerSession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*UserDirectoryCallerSession) Root

func (_UserDirectory *UserDirectoryCallerSession) Root() (common.Address, error)

Root is a free data retrieval call binding the contract method 0xebf0c717.

Solidity: function root() constant returns(address)

func (*UserDirectoryCallerSession) SenderHasRole

func (_UserDirectory *UserDirectoryCallerSession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*UserDirectoryCallerSession) Stopped

func (_UserDirectory *UserDirectoryCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*UserDirectoryCallerSession) WalletCount

func (_UserDirectory *UserDirectoryCallerSession) WalletCount() (uint32, error)

WalletCount is a free data retrieval call binding the contract method 0x29b57c69.

Solidity: function walletCount() constant returns(uint32)

func (*UserDirectoryCallerSession) Wallets

func (_UserDirectory *UserDirectoryCallerSession) Wallets(arg0 *big.Int) (common.Address, error)

Wallets is a free data retrieval call binding the contract method 0x7ad71f72.

Solidity: function wallets( uint256) constant returns(address)

type UserDirectoryRaw

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

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

func (*UserDirectoryRaw) Call

func (_UserDirectory *UserDirectoryRaw) 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 (*UserDirectoryRaw) Transact

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

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

func (*UserDirectoryRaw) Transfer

func (_UserDirectory *UserDirectoryRaw) 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 UserDirectorySession

type UserDirectorySession struct {
	Contract     *UserDirectory    // 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
}

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

func (*UserDirectorySession) Active

func (_UserDirectory *UserDirectorySession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*UserDirectorySession) AddWallet

func (_UserDirectory *UserDirectorySession) AddWallet(currency [3]byte) (*types.Transaction, error)

AddWallet is a paid mutator transaction binding the contract method 0x186caa30.

Solidity: function addWallet(currency bytes3) returns()

func (*UserDirectorySession) ContractHash

func (_UserDirectory *UserDirectorySession) ContractHash() ([32]byte, error)

ContractHash is a free data retrieval call binding the contract method 0x904c6094.

Solidity: function contractHash() constant returns(bytes32)

func (*UserDirectorySession) HasRole

func (_UserDirectory *UserDirectorySession) HasRole(roleName string) (bool, error)

HasRole is a free data retrieval call binding the contract method 0xe3c33a9b.

Solidity: function hasRole(roleName string) constant returns(bool)

func (*UserDirectorySession) Owner

func (_UserDirectory *UserDirectorySession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*UserDirectorySession) Profile

func (_UserDirectory *UserDirectorySession) Profile() (string, error)

Profile is a free data retrieval call binding the contract method 0xab60636c.

Solidity: function profile() constant returns(string)

func (*UserDirectorySession) RemoveWallet

func (_UserDirectory *UserDirectorySession) RemoveWallet() (*types.Transaction, error)

RemoveWallet is a paid mutator transaction binding the contract method 0x2286975c.

Solidity: function removeWallet() returns()

func (*UserDirectorySession) Restart

func (_UserDirectory *UserDirectorySession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*UserDirectorySession) Roles

func (_UserDirectory *UserDirectorySession) Roles() (common.Address, error)

Roles is a free data retrieval call binding the contract method 0x392f5f64.

Solidity: function roles() constant returns(address)

func (*UserDirectorySession) Root

func (_UserDirectory *UserDirectorySession) Root() (common.Address, error)

Root is a free data retrieval call binding the contract method 0xebf0c717.

Solidity: function root() constant returns(address)

func (*UserDirectorySession) SenderHasRole

func (_UserDirectory *UserDirectorySession) SenderHasRole(roleName string) (bool, error)

SenderHasRole is a free data retrieval call binding the contract method 0x1ca03b8e.

Solidity: function senderHasRole(roleName string) constant returns(bool)

func (*UserDirectorySession) SetActive

func (_UserDirectory *UserDirectorySession) SetActive(active_ bool) (*types.Transaction, error)

SetActive is a paid mutator transaction binding the contract method 0xacec338a.

Solidity: function setActive(active_ bool) returns()

func (*UserDirectorySession) SetOwner

func (_UserDirectory *UserDirectorySession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*UserDirectorySession) SetRolesContract

func (_UserDirectory *UserDirectorySession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*UserDirectorySession) Stop

func (_UserDirectory *UserDirectorySession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*UserDirectorySession) Stopped

func (_UserDirectory *UserDirectorySession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() constant returns(bool)

func (*UserDirectorySession) Transfer

func (_UserDirectory *UserDirectorySession) Transfer(token common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(token address, to address, value uint256) returns(bool)

func (*UserDirectorySession) WalletCount

func (_UserDirectory *UserDirectorySession) WalletCount() (uint32, error)

WalletCount is a free data retrieval call binding the contract method 0x29b57c69.

Solidity: function walletCount() constant returns(uint32)

func (*UserDirectorySession) Wallets

func (_UserDirectory *UserDirectorySession) Wallets(arg0 *big.Int) (common.Address, error)

Wallets is a free data retrieval call binding the contract method 0x7ad71f72.

Solidity: function wallets( uint256) constant returns(address)

type UserDirectoryTransactor

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

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

func NewUserDirectoryTransactor

func NewUserDirectoryTransactor(address common.Address, transactor bind.ContractTransactor) (*UserDirectoryTransactor, error)

NewUserDirectoryTransactor creates a new write-only instance of UserDirectory, bound to a specific deployed contract.

func (*UserDirectoryTransactor) AddWallet

func (_UserDirectory *UserDirectoryTransactor) AddWallet(opts *bind.TransactOpts, currency [3]byte) (*types.Transaction, error)

AddWallet is a paid mutator transaction binding the contract method 0x186caa30.

Solidity: function addWallet(currency bytes3) returns()

func (*UserDirectoryTransactor) RemoveWallet

func (_UserDirectory *UserDirectoryTransactor) RemoveWallet(opts *bind.TransactOpts) (*types.Transaction, error)

RemoveWallet is a paid mutator transaction binding the contract method 0x2286975c.

Solidity: function removeWallet() returns()

func (*UserDirectoryTransactor) Restart

func (_UserDirectory *UserDirectoryTransactor) Restart(opts *bind.TransactOpts) (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*UserDirectoryTransactor) SetActive

func (_UserDirectory *UserDirectoryTransactor) SetActive(opts *bind.TransactOpts, active_ bool) (*types.Transaction, error)

SetActive is a paid mutator transaction binding the contract method 0xacec338a.

Solidity: function setActive(active_ bool) returns()

func (*UserDirectoryTransactor) SetOwner

func (_UserDirectory *UserDirectoryTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*UserDirectoryTransactor) SetRolesContract

func (_UserDirectory *UserDirectoryTransactor) SetRolesContract(opts *bind.TransactOpts, roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*UserDirectoryTransactor) Stop

func (_UserDirectory *UserDirectoryTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*UserDirectoryTransactor) Transfer

func (_UserDirectory *UserDirectoryTransactor) Transfer(opts *bind.TransactOpts, token common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(token address, to address, value uint256) returns(bool)

type UserDirectoryTransactorRaw

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

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

func (*UserDirectoryTransactorRaw) Transact

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

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

func (*UserDirectoryTransactorRaw) Transfer

func (_UserDirectory *UserDirectoryTransactorRaw) 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 UserDirectoryTransactorSession

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

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

func (*UserDirectoryTransactorSession) AddWallet

func (_UserDirectory *UserDirectoryTransactorSession) AddWallet(currency [3]byte) (*types.Transaction, error)

AddWallet is a paid mutator transaction binding the contract method 0x186caa30.

Solidity: function addWallet(currency bytes3) returns()

func (*UserDirectoryTransactorSession) RemoveWallet

func (_UserDirectory *UserDirectoryTransactorSession) RemoveWallet() (*types.Transaction, error)

RemoveWallet is a paid mutator transaction binding the contract method 0x2286975c.

Solidity: function removeWallet() returns()

func (*UserDirectoryTransactorSession) Restart

func (_UserDirectory *UserDirectoryTransactorSession) Restart() (*types.Transaction, error)

Restart is a paid mutator transaction binding the contract method 0x1ef3755d.

Solidity: function restart() returns()

func (*UserDirectoryTransactorSession) SetActive

func (_UserDirectory *UserDirectoryTransactorSession) SetActive(active_ bool) (*types.Transaction, error)

SetActive is a paid mutator transaction binding the contract method 0xacec338a.

Solidity: function setActive(active_ bool) returns()

func (*UserDirectoryTransactorSession) SetOwner

func (_UserDirectory *UserDirectoryTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(owner_ address) returns()

func (*UserDirectoryTransactorSession) SetRolesContract

func (_UserDirectory *UserDirectoryTransactorSession) SetRolesContract(roles_ common.Address) (*types.Transaction, error)

SetRolesContract is a paid mutator transaction binding the contract method 0xafa202ac.

Solidity: function setRolesContract(roles_ address) returns()

func (*UserDirectoryTransactorSession) Stop

func (_UserDirectory *UserDirectoryTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*UserDirectoryTransactorSession) Transfer

func (_UserDirectory *UserDirectoryTransactorSession) Transfer(token common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xbeabacc8.

Solidity: function transfer(token address, to address, value uint256) returns(bool)

Jump to

Keyboard shortcuts

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