vabi

package
v0.0.0-...-80a1494 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: OSL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DigitalReserveSystemABI = "" /* 5389-byte string literal not displayed */

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

View Source
const FeederABI = "" /* 3046-byte string literal not displayed */

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

View Source
const HeartABI = "" /* 10721-byte string literal not displayed */

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

View Source
const LagABI = "" /* 4409-byte string literal not displayed */

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

View Source
const MedianizerABI = "" /* 5979-byte string literal not displayed */

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

View Source
const PriceABI = "" /* 2970-byte string literal not displayed */

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

View Source
const PriceFeedersABI = "" /* 5159-byte string literal not displayed */

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

View Source
const StableCreditABI = "" /* 8195-byte string literal not displayed */

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

View Source
const TokenABI = "" /* 5882-byte string literal not displayed */

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

Variables

View Source
var DigitalReserveSystemBin = "" /* 42282-byte string literal not displayed */

DigitalReserveSystemBin is the compiled bytecode used for deploying new contracts.

View Source
var FeederBin = "" /* 2642-byte string literal not displayed */

FeederBin is the compiled bytecode used for deploying new contracts.

View Source
var HeartBin = "" /* 12174-byte string literal not displayed */

HeartBin is the compiled bytecode used for deploying new contracts.

View Source
var LagBin = "" /* 6288-byte string literal not displayed */

LagBin is the compiled bytecode used for deploying new contracts.

View Source
var MedianizerBin = "" /* 10648-byte string literal not displayed */

MedianizerBin is the compiled bytecode used for deploying new contracts.

View Source
var PriceBin = "" /* 4294-byte string literal not displayed */

PriceBin is the compiled bytecode used for deploying new contracts.

View Source
var PriceFeedersBin = "" /* 9638-byte string literal not displayed */

PriceFeedersBin is the compiled bytecode used for deploying new contracts.

View Source
var StableCreditBin = "" /* 14176-byte string literal not displayed */

StableCreditBin is the compiled bytecode used for deploying new contracts.

View Source
var TokenBin = "" /* 10854-byte string literal not displayed */

TokenBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type DigitalReserveSystem

type DigitalReserveSystem struct {
	DigitalReserveSystemCaller     // Read-only binding to the contract
	DigitalReserveSystemTransactor // Write-only binding to the contract
	DigitalReserveSystemFilterer   // Log filterer for contract events
}

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

func DeployDigitalReserveSystem

func DeployDigitalReserveSystem(auth *bind.TransactOpts, backend bind.ContractBackend, heartAddr common.Address) (common.Address, *types.Transaction, *DigitalReserveSystem, error)

DeployDigitalReserveSystem deploys a new Ethereum contract, binding an instance of DigitalReserveSystem to it.

func NewDigitalReserveSystem

func NewDigitalReserveSystem(address common.Address, backend bind.ContractBackend) (*DigitalReserveSystem, error)

NewDigitalReserveSystem creates a new instance of DigitalReserveSystem, bound to a specific deployed contract.

type DigitalReserveSystemCaller

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

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

func NewDigitalReserveSystemCaller

func NewDigitalReserveSystemCaller(address common.Address, caller bind.ContractCaller) (*DigitalReserveSystemCaller, error)

NewDigitalReserveSystemCaller creates a new read-only instance of DigitalReserveSystem, bound to a specific deployed contract.

func (*DigitalReserveSystemCaller) CollateralHealthCheck

func (_DigitalReserveSystem *DigitalReserveSystemCaller) CollateralHealthCheck(opts *bind.CallOpts, assetCode string) (common.Address, [32]byte, *big.Int, *big.Int, error)

CollateralHealthCheck is a free data retrieval call binding the contract method 0x48268143.

Solidity: function collateralHealthCheck(string assetCode) constant returns(address, bytes32, uint256, uint256)

func (*DigitalReserveSystemCaller) GetExchange

func (_DigitalReserveSystem *DigitalReserveSystemCaller) GetExchange(opts *bind.CallOpts, assetCode string) (string, [32]byte, *big.Int, error)

GetExchange is a free data retrieval call binding the contract method 0xff4b2032.

Solidity: function getExchange(string assetCode) constant returns(string, bytes32, uint256)

func (*DigitalReserveSystemCaller) Heart

func (_DigitalReserveSystem *DigitalReserveSystemCaller) Heart(opts *bind.CallOpts) (common.Address, error)

Heart is a free data retrieval call binding the contract method 0xf58d1c94.

Solidity: function heart() constant returns(address)

type DigitalReserveSystemCallerRaw

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

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

func (*DigitalReserveSystemCallerRaw) Call

func (_DigitalReserveSystem *DigitalReserveSystemCallerRaw) 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 DigitalReserveSystemCallerSession

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

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

func (*DigitalReserveSystemCallerSession) CollateralHealthCheck

func (_DigitalReserveSystem *DigitalReserveSystemCallerSession) CollateralHealthCheck(assetCode string) (common.Address, [32]byte, *big.Int, *big.Int, error)

CollateralHealthCheck is a free data retrieval call binding the contract method 0x48268143.

Solidity: function collateralHealthCheck(string assetCode) constant returns(address, bytes32, uint256, uint256)

func (*DigitalReserveSystemCallerSession) GetExchange

func (_DigitalReserveSystem *DigitalReserveSystemCallerSession) GetExchange(assetCode string) (string, [32]byte, *big.Int, error)

GetExchange is a free data retrieval call binding the contract method 0xff4b2032.

Solidity: function getExchange(string assetCode) constant returns(string, bytes32, uint256)

func (*DigitalReserveSystemCallerSession) Heart

func (_DigitalReserveSystem *DigitalReserveSystemCallerSession) Heart() (common.Address, error)

Heart is a free data retrieval call binding the contract method 0xf58d1c94.

Solidity: function heart() constant returns(address)

type DigitalReserveSystemFilterer

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

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

func NewDigitalReserveSystemFilterer

func NewDigitalReserveSystemFilterer(address common.Address, filterer bind.ContractFilterer) (*DigitalReserveSystemFilterer, error)

NewDigitalReserveSystemFilterer creates a new log filterer instance of DigitalReserveSystem, bound to a specific deployed contract.

func (*DigitalReserveSystemFilterer) FilterMint

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) FilterMint(opts *bind.FilterOpts, assetAddress []common.Address, collateralAssetCode [][32]byte) (*DigitalReserveSystemMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0xddd98b18c74c43aa2894d989d78dde03a92ddf9e04a53b5655fdfdb73ddd06dc.

Solidity: event Mint(string assetCode, uint256 mintAmount, address indexed assetAddress, bytes32 indexed collateralAssetCode, uint256 collateralAmount)

func (*DigitalReserveSystemFilterer) FilterRebalance

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) FilterRebalance(opts *bind.FilterOpts, collateralAssetCode [][32]byte) (*DigitalReserveSystemRebalanceIterator, error)

FilterRebalance is a free log retrieval operation binding the contract event 0x008e62cd96b0691398a041f2299585aff60e32ad8c758616f09bdebded312571.

Solidity: event Rebalance(string assetCode, bytes32 indexed collateralAssetCode, uint256 requiredAmount, uint256 presentAmount)

func (*DigitalReserveSystemFilterer) FilterRedeem

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) FilterRedeem(opts *bind.FilterOpts, collateralAssetAddress []common.Address, collateralAssetCode [][32]byte) (*DigitalReserveSystemRedeemIterator, error)

FilterRedeem is a free log retrieval operation binding the contract event 0xa10c2c65339d202e362f405266f364b6d67e3d643f28be672e5629015930e94e.

Solidity: event Redeem(string assetCode, uint256 stableCreditAmount, address indexed collateralAssetAddress, bytes32 indexed collateralAssetCode, uint256 collateralAmount)

func (*DigitalReserveSystemFilterer) FilterSetup

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) FilterSetup(opts *bind.FilterOpts, collateralAssetCode [][32]byte) (*DigitalReserveSystemSetupIterator, error)

FilterSetup is a free log retrieval operation binding the contract event 0xcab34b46abfe0198ee940493abe1167b55efc2b24ff7c43c988360d197c962df.

Solidity: event Setup(string assetCode, bytes32 peggedCurrency, uint256 peggedValue, bytes32 indexed collateralAssetCode, address assetAddress)

func (*DigitalReserveSystemFilterer) ParseMint

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) ParseMint(log types.Log) (*DigitalReserveSystemMint, error)

ParseMint is a log parse operation binding the contract event 0xddd98b18c74c43aa2894d989d78dde03a92ddf9e04a53b5655fdfdb73ddd06dc.

Solidity: event Mint(string assetCode, uint256 mintAmount, address indexed assetAddress, bytes32 indexed collateralAssetCode, uint256 collateralAmount)

func (*DigitalReserveSystemFilterer) ParseRebalance

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) ParseRebalance(log types.Log) (*DigitalReserveSystemRebalance, error)

ParseRebalance is a log parse operation binding the contract event 0x008e62cd96b0691398a041f2299585aff60e32ad8c758616f09bdebded312571.

Solidity: event Rebalance(string assetCode, bytes32 indexed collateralAssetCode, uint256 requiredAmount, uint256 presentAmount)

func (*DigitalReserveSystemFilterer) ParseRedeem

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) ParseRedeem(log types.Log) (*DigitalReserveSystemRedeem, error)

ParseRedeem is a log parse operation binding the contract event 0xa10c2c65339d202e362f405266f364b6d67e3d643f28be672e5629015930e94e.

Solidity: event Redeem(string assetCode, uint256 stableCreditAmount, address indexed collateralAssetAddress, bytes32 indexed collateralAssetCode, uint256 collateralAmount)

func (*DigitalReserveSystemFilterer) ParseSetup

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) ParseSetup(log types.Log) (*DigitalReserveSystemSetup, error)

ParseSetup is a log parse operation binding the contract event 0xcab34b46abfe0198ee940493abe1167b55efc2b24ff7c43c988360d197c962df.

Solidity: event Setup(string assetCode, bytes32 peggedCurrency, uint256 peggedValue, bytes32 indexed collateralAssetCode, address assetAddress)

func (*DigitalReserveSystemFilterer) WatchMint

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *DigitalReserveSystemMint, assetAddress []common.Address, collateralAssetCode [][32]byte) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0xddd98b18c74c43aa2894d989d78dde03a92ddf9e04a53b5655fdfdb73ddd06dc.

Solidity: event Mint(string assetCode, uint256 mintAmount, address indexed assetAddress, bytes32 indexed collateralAssetCode, uint256 collateralAmount)

func (*DigitalReserveSystemFilterer) WatchRebalance

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *DigitalReserveSystemRebalance, collateralAssetCode [][32]byte) (event.Subscription, error)

WatchRebalance is a free log subscription operation binding the contract event 0x008e62cd96b0691398a041f2299585aff60e32ad8c758616f09bdebded312571.

Solidity: event Rebalance(string assetCode, bytes32 indexed collateralAssetCode, uint256 requiredAmount, uint256 presentAmount)

func (*DigitalReserveSystemFilterer) WatchRedeem

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *DigitalReserveSystemRedeem, collateralAssetAddress []common.Address, collateralAssetCode [][32]byte) (event.Subscription, error)

WatchRedeem is a free log subscription operation binding the contract event 0xa10c2c65339d202e362f405266f364b6d67e3d643f28be672e5629015930e94e.

Solidity: event Redeem(string assetCode, uint256 stableCreditAmount, address indexed collateralAssetAddress, bytes32 indexed collateralAssetCode, uint256 collateralAmount)

func (*DigitalReserveSystemFilterer) WatchSetup

func (_DigitalReserveSystem *DigitalReserveSystemFilterer) WatchSetup(opts *bind.WatchOpts, sink chan<- *DigitalReserveSystemSetup, collateralAssetCode [][32]byte) (event.Subscription, error)

WatchSetup is a free log subscription operation binding the contract event 0xcab34b46abfe0198ee940493abe1167b55efc2b24ff7c43c988360d197c962df.

Solidity: event Setup(string assetCode, bytes32 peggedCurrency, uint256 peggedValue, bytes32 indexed collateralAssetCode, address assetAddress)

type DigitalReserveSystemMint

type DigitalReserveSystemMint struct {
	AssetCode           string
	MintAmount          *big.Int
	AssetAddress        common.Address
	CollateralAssetCode [32]byte
	CollateralAmount    *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

DigitalReserveSystemMint represents a Mint event raised by the DigitalReserveSystem contract.

type DigitalReserveSystemMintIterator

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

DigitalReserveSystemMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the DigitalReserveSystem contract.

func (*DigitalReserveSystemMintIterator) Close

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

func (*DigitalReserveSystemMintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DigitalReserveSystemMintIterator) Next

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

type DigitalReserveSystemRaw

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

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

func (*DigitalReserveSystemRaw) Call

func (_DigitalReserveSystem *DigitalReserveSystemRaw) 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 (*DigitalReserveSystemRaw) Transact

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

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

func (*DigitalReserveSystemRaw) Transfer

func (_DigitalReserveSystem *DigitalReserveSystemRaw) 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 DigitalReserveSystemRebalance

type DigitalReserveSystemRebalance struct {
	AssetCode           string
	CollateralAssetCode [32]byte
	RequiredAmount      *big.Int
	PresentAmount       *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

DigitalReserveSystemRebalance represents a Rebalance event raised by the DigitalReserveSystem contract.

type DigitalReserveSystemRebalanceIterator

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

DigitalReserveSystemRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the DigitalReserveSystem contract.

func (*DigitalReserveSystemRebalanceIterator) Close

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

func (*DigitalReserveSystemRebalanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DigitalReserveSystemRebalanceIterator) Next

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

type DigitalReserveSystemRedeem

type DigitalReserveSystemRedeem struct {
	AssetCode              string
	StableCreditAmount     *big.Int
	CollateralAssetAddress common.Address
	CollateralAssetCode    [32]byte
	CollateralAmount       *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

DigitalReserveSystemRedeem represents a Redeem event raised by the DigitalReserveSystem contract.

type DigitalReserveSystemRedeemIterator

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

DigitalReserveSystemRedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the DigitalReserveSystem contract.

func (*DigitalReserveSystemRedeemIterator) Close

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

func (*DigitalReserveSystemRedeemIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DigitalReserveSystemRedeemIterator) Next

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

type DigitalReserveSystemSession

type DigitalReserveSystemSession struct {
	Contract     *DigitalReserveSystem // 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
}

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

func (*DigitalReserveSystemSession) CollateralHealthCheck

func (_DigitalReserveSystem *DigitalReserveSystemSession) CollateralHealthCheck(assetCode string) (common.Address, [32]byte, *big.Int, *big.Int, error)

CollateralHealthCheck is a free data retrieval call binding the contract method 0x48268143.

Solidity: function collateralHealthCheck(string assetCode) constant returns(address, bytes32, uint256, uint256)

func (*DigitalReserveSystemSession) GetExchange

func (_DigitalReserveSystem *DigitalReserveSystemSession) GetExchange(assetCode string) (string, [32]byte, *big.Int, error)

GetExchange is a free data retrieval call binding the contract method 0xff4b2032.

Solidity: function getExchange(string assetCode) constant returns(string, bytes32, uint256)

func (*DigitalReserveSystemSession) Heart

func (_DigitalReserveSystem *DigitalReserveSystemSession) Heart() (common.Address, error)

Heart is a free data retrieval call binding the contract method 0xf58d1c94.

Solidity: function heart() constant returns(address)

func (*DigitalReserveSystemSession) MintFromCollateralAmount

func (_DigitalReserveSystem *DigitalReserveSystemSession) MintFromCollateralAmount(netCollateralAmount *big.Int, assetCode string) (*types.Transaction, error)

MintFromCollateralAmount is a paid mutator transaction binding the contract method 0xf15821f7.

Solidity: function mintFromCollateralAmount(uint256 netCollateralAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemSession) MintFromStableCreditAmount

func (_DigitalReserveSystem *DigitalReserveSystemSession) MintFromStableCreditAmount(mintAmount *big.Int, assetCode string) (*types.Transaction, error)

MintFromStableCreditAmount is a paid mutator transaction binding the contract method 0x99bbfd72.

Solidity: function mintFromStableCreditAmount(uint256 mintAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemSession) Rebalance

func (_DigitalReserveSystem *DigitalReserveSystemSession) Rebalance(assetCode string) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x41212e9e.

Solidity: function rebalance(string assetCode) returns(bool)

func (*DigitalReserveSystemSession) Redeem

func (_DigitalReserveSystem *DigitalReserveSystemSession) Redeem(stableCreditAmount *big.Int, assetCode string) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x24b76fd5.

Solidity: function redeem(uint256 stableCreditAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemSession) Setup

func (_DigitalReserveSystem *DigitalReserveSystemSession) Setup(collateralAssetCode [32]byte, peggedCurrency [32]byte, assetCode string, peggedValue *big.Int) (*types.Transaction, error)

Setup is a paid mutator transaction binding the contract method 0xcbbaa9a0.

Solidity: function setup(bytes32 collateralAssetCode, bytes32 peggedCurrency, string assetCode, uint256 peggedValue) returns(string, address)

type DigitalReserveSystemSetup

type DigitalReserveSystemSetup struct {
	AssetCode           string
	PeggedCurrency      [32]byte
	PeggedValue         *big.Int
	CollateralAssetCode [32]byte
	AssetAddress        common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

DigitalReserveSystemSetup represents a Setup event raised by the DigitalReserveSystem contract.

type DigitalReserveSystemSetupIterator

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

DigitalReserveSystemSetupIterator is returned from FilterSetup and is used to iterate over the raw logs and unpacked data for Setup events raised by the DigitalReserveSystem contract.

func (*DigitalReserveSystemSetupIterator) Close

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

func (*DigitalReserveSystemSetupIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DigitalReserveSystemSetupIterator) Next

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

type DigitalReserveSystemTransactor

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

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

func NewDigitalReserveSystemTransactor

func NewDigitalReserveSystemTransactor(address common.Address, transactor bind.ContractTransactor) (*DigitalReserveSystemTransactor, error)

NewDigitalReserveSystemTransactor creates a new write-only instance of DigitalReserveSystem, bound to a specific deployed contract.

func (*DigitalReserveSystemTransactor) MintFromCollateralAmount

func (_DigitalReserveSystem *DigitalReserveSystemTransactor) MintFromCollateralAmount(opts *bind.TransactOpts, netCollateralAmount *big.Int, assetCode string) (*types.Transaction, error)

MintFromCollateralAmount is a paid mutator transaction binding the contract method 0xf15821f7.

Solidity: function mintFromCollateralAmount(uint256 netCollateralAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemTransactor) MintFromStableCreditAmount

func (_DigitalReserveSystem *DigitalReserveSystemTransactor) MintFromStableCreditAmount(opts *bind.TransactOpts, mintAmount *big.Int, assetCode string) (*types.Transaction, error)

MintFromStableCreditAmount is a paid mutator transaction binding the contract method 0x99bbfd72.

Solidity: function mintFromStableCreditAmount(uint256 mintAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemTransactor) Rebalance

func (_DigitalReserveSystem *DigitalReserveSystemTransactor) Rebalance(opts *bind.TransactOpts, assetCode string) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x41212e9e.

Solidity: function rebalance(string assetCode) returns(bool)

func (*DigitalReserveSystemTransactor) Redeem

func (_DigitalReserveSystem *DigitalReserveSystemTransactor) Redeem(opts *bind.TransactOpts, stableCreditAmount *big.Int, assetCode string) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x24b76fd5.

Solidity: function redeem(uint256 stableCreditAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemTransactor) Setup

func (_DigitalReserveSystem *DigitalReserveSystemTransactor) Setup(opts *bind.TransactOpts, collateralAssetCode [32]byte, peggedCurrency [32]byte, assetCode string, peggedValue *big.Int) (*types.Transaction, error)

Setup is a paid mutator transaction binding the contract method 0xcbbaa9a0.

Solidity: function setup(bytes32 collateralAssetCode, bytes32 peggedCurrency, string assetCode, uint256 peggedValue) returns(string, address)

type DigitalReserveSystemTransactorRaw

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

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

func (*DigitalReserveSystemTransactorRaw) Transact

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

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

func (*DigitalReserveSystemTransactorRaw) Transfer

func (_DigitalReserveSystem *DigitalReserveSystemTransactorRaw) 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 DigitalReserveSystemTransactorSession

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

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

func (*DigitalReserveSystemTransactorSession) MintFromCollateralAmount

func (_DigitalReserveSystem *DigitalReserveSystemTransactorSession) MintFromCollateralAmount(netCollateralAmount *big.Int, assetCode string) (*types.Transaction, error)

MintFromCollateralAmount is a paid mutator transaction binding the contract method 0xf15821f7.

Solidity: function mintFromCollateralAmount(uint256 netCollateralAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemTransactorSession) MintFromStableCreditAmount

func (_DigitalReserveSystem *DigitalReserveSystemTransactorSession) MintFromStableCreditAmount(mintAmount *big.Int, assetCode string) (*types.Transaction, error)

MintFromStableCreditAmount is a paid mutator transaction binding the contract method 0x99bbfd72.

Solidity: function mintFromStableCreditAmount(uint256 mintAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemTransactorSession) Rebalance

func (_DigitalReserveSystem *DigitalReserveSystemTransactorSession) Rebalance(assetCode string) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x41212e9e.

Solidity: function rebalance(string assetCode) returns(bool)

func (*DigitalReserveSystemTransactorSession) Redeem

func (_DigitalReserveSystem *DigitalReserveSystemTransactorSession) Redeem(stableCreditAmount *big.Int, assetCode string) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x24b76fd5.

Solidity: function redeem(uint256 stableCreditAmount, string assetCode) returns(bool)

func (*DigitalReserveSystemTransactorSession) Setup

func (_DigitalReserveSystem *DigitalReserveSystemTransactorSession) Setup(collateralAssetCode [32]byte, peggedCurrency [32]byte, assetCode string, peggedValue *big.Int) (*types.Transaction, error)

Setup is a paid mutator transaction binding the contract method 0xcbbaa9a0.

Solidity: function setup(bytes32 collateralAssetCode, bytes32 peggedCurrency, string assetCode, uint256 peggedValue) returns(string, address)

type Feeder

type Feeder struct {
	FeederCaller     // Read-only binding to the contract
	FeederTransactor // Write-only binding to the contract
	FeederFilterer   // Log filterer for contract events
}

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

func DeployFeeder

func DeployFeeder(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address, _fiatCode [32]byte, _collateralCode [32]byte) (common.Address, *types.Transaction, *Feeder, error)

DeployFeeder deploys a new Ethereum contract, binding an instance of Feeder to it.

func NewFeeder

func NewFeeder(address common.Address, backend bind.ContractBackend) (*Feeder, error)

NewFeeder creates a new instance of Feeder, bound to a specific deployed contract.

type FeederCaller

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

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

func NewFeederCaller

func NewFeederCaller(address common.Address, caller bind.ContractCaller) (*FeederCaller, error)

NewFeederCaller creates a new read-only instance of Feeder, bound to a specific deployed contract.

func (*FeederCaller) Active

func (_Feeder *FeederCaller) 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 (*FeederCaller) CollateralCode

func (_Feeder *FeederCaller) CollateralCode(opts *bind.CallOpts) ([32]byte, error)

CollateralCode is a free data retrieval call binding the contract method 0x5587c436.

Solidity: function collateralCode() constant returns(bytes32)

func (*FeederCaller) FiatCode

func (_Feeder *FeederCaller) FiatCode(opts *bind.CallOpts) ([32]byte, error)

FiatCode is a free data retrieval call binding the contract method 0x64bc5204.

Solidity: function fiatCode() constant returns(bytes32)

func (*FeederCaller) Get

func (_Feeder *FeederCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*FeederCaller) GetWithError

func (_Feeder *FeederCaller) GetWithError(opts *bind.CallOpts) (*big.Int, *big.Int, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, uint256, bool)

func (*FeederCaller) Owner

func (_Feeder *FeederCaller) 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 (*FeederCaller) Value

func (_Feeder *FeederCaller) Value(opts *bind.CallOpts) (*big.Int, error)

Value is a free data retrieval call binding the contract method 0x3fa4f245.

Solidity: function value() constant returns(uint256)

func (*FeederCaller) ValueTimestamp

func (_Feeder *FeederCaller) ValueTimestamp(opts *bind.CallOpts) (*big.Int, error)

ValueTimestamp is a free data retrieval call binding the contract method 0xdc9eaf38.

Solidity: function valueTimestamp() constant returns(uint256)

type FeederCallerRaw

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

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

func (*FeederCallerRaw) Call

func (_Feeder *FeederCallerRaw) 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 FeederCallerSession

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

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

func (*FeederCallerSession) Active

func (_Feeder *FeederCallerSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*FeederCallerSession) CollateralCode

func (_Feeder *FeederCallerSession) CollateralCode() ([32]byte, error)

CollateralCode is a free data retrieval call binding the contract method 0x5587c436.

Solidity: function collateralCode() constant returns(bytes32)

func (*FeederCallerSession) FiatCode

func (_Feeder *FeederCallerSession) FiatCode() ([32]byte, error)

FiatCode is a free data retrieval call binding the contract method 0x64bc5204.

Solidity: function fiatCode() constant returns(bytes32)

func (*FeederCallerSession) Get

func (_Feeder *FeederCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*FeederCallerSession) GetWithError

func (_Feeder *FeederCallerSession) GetWithError() (*big.Int, *big.Int, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, uint256, bool)

func (*FeederCallerSession) Owner

func (_Feeder *FeederCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*FeederCallerSession) Value

func (_Feeder *FeederCallerSession) Value() (*big.Int, error)

Value is a free data retrieval call binding the contract method 0x3fa4f245.

Solidity: function value() constant returns(uint256)

func (*FeederCallerSession) ValueTimestamp

func (_Feeder *FeederCallerSession) ValueTimestamp() (*big.Int, error)

ValueTimestamp is a free data retrieval call binding the contract method 0xdc9eaf38.

Solidity: function valueTimestamp() constant returns(uint256)

type FeederFilterer

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

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

func NewFeederFilterer

func NewFeederFilterer(address common.Address, filterer bind.ContractFilterer) (*FeederFilterer, error)

NewFeederFilterer creates a new log filterer instance of Feeder, bound to a specific deployed contract.

func (*FeederFilterer) FilterPriceSet

func (_Feeder *FeederFilterer) FilterPriceSet(opts *bind.FilterOpts) (*FeederPriceSetIterator, error)

FilterPriceSet is a free log retrieval operation binding the contract event 0x409a3cd8da9fd5287dcd055b527b58b542d9e4efcb0c72732ed3f0046b77d868.

Solidity: event PriceSet(uint256 prevValue, uint256 prevTimestamp, uint256 curPrice, uint256 curTimestamp)

func (*FeederFilterer) ParsePriceSet

func (_Feeder *FeederFilterer) ParsePriceSet(log types.Log) (*FeederPriceSet, error)

ParsePriceSet is a log parse operation binding the contract event 0x409a3cd8da9fd5287dcd055b527b58b542d9e4efcb0c72732ed3f0046b77d868.

Solidity: event PriceSet(uint256 prevValue, uint256 prevTimestamp, uint256 curPrice, uint256 curTimestamp)

func (*FeederFilterer) WatchPriceSet

func (_Feeder *FeederFilterer) WatchPriceSet(opts *bind.WatchOpts, sink chan<- *FeederPriceSet) (event.Subscription, error)

WatchPriceSet is a free log subscription operation binding the contract event 0x409a3cd8da9fd5287dcd055b527b58b542d9e4efcb0c72732ed3f0046b77d868.

Solidity: event PriceSet(uint256 prevValue, uint256 prevTimestamp, uint256 curPrice, uint256 curTimestamp)

type FeederPriceSet

type FeederPriceSet struct {
	PrevValue     *big.Int
	PrevTimestamp *big.Int
	CurPrice      *big.Int
	CurTimestamp  *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FeederPriceSet represents a PriceSet event raised by the Feeder contract.

type FeederPriceSetIterator

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

FeederPriceSetIterator is returned from FilterPriceSet and is used to iterate over the raw logs and unpacked data for PriceSet events raised by the Feeder contract.

func (*FeederPriceSetIterator) Close

func (it *FeederPriceSetIterator) Close() error

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

func (*FeederPriceSetIterator) Error

func (it *FeederPriceSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FeederPriceSetIterator) Next

func (it *FeederPriceSetIterator) Next() bool

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

type FeederRaw

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

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

func (*FeederRaw) Call

func (_Feeder *FeederRaw) 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 (*FeederRaw) Transact

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

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

func (*FeederRaw) Transfer

func (_Feeder *FeederRaw) 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 FeederSession

type FeederSession struct {
	Contract     *Feeder           // 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
}

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

func (*FeederSession) Active

func (_Feeder *FeederSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*FeederSession) CollateralCode

func (_Feeder *FeederSession) CollateralCode() ([32]byte, error)

CollateralCode is a free data retrieval call binding the contract method 0x5587c436.

Solidity: function collateralCode() constant returns(bytes32)

func (*FeederSession) Disable

func (_Feeder *FeederSession) Disable() (*types.Transaction, error)

Disable is a paid mutator transaction binding the contract method 0x2f2770db.

Solidity: function disable() returns()

func (*FeederSession) Enable

func (_Feeder *FeederSession) Enable() (*types.Transaction, error)

Enable is a paid mutator transaction binding the contract method 0xa3907d71.

Solidity: function enable() returns()

func (*FeederSession) FiatCode

func (_Feeder *FeederSession) FiatCode() ([32]byte, error)

FiatCode is a free data retrieval call binding the contract method 0x64bc5204.

Solidity: function fiatCode() constant returns(bytes32)

func (*FeederSession) Get

func (_Feeder *FeederSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*FeederSession) GetWithError

func (_Feeder *FeederSession) GetWithError() (*big.Int, *big.Int, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, uint256, bool)

func (*FeederSession) Owner

func (_Feeder *FeederSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*FeederSession) Post

func (_Feeder *FeederSession) Post(newValue *big.Int) (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0xcaa5863c.

Solidity: function post(uint256 newValue) returns()

func (*FeederSession) Value

func (_Feeder *FeederSession) Value() (*big.Int, error)

Value is a free data retrieval call binding the contract method 0x3fa4f245.

Solidity: function value() constant returns(uint256)

func (*FeederSession) ValueTimestamp

func (_Feeder *FeederSession) ValueTimestamp() (*big.Int, error)

ValueTimestamp is a free data retrieval call binding the contract method 0xdc9eaf38.

Solidity: function valueTimestamp() constant returns(uint256)

type FeederTransactor

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

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

func NewFeederTransactor

func NewFeederTransactor(address common.Address, transactor bind.ContractTransactor) (*FeederTransactor, error)

NewFeederTransactor creates a new write-only instance of Feeder, bound to a specific deployed contract.

func (*FeederTransactor) Disable

func (_Feeder *FeederTransactor) Disable(opts *bind.TransactOpts) (*types.Transaction, error)

Disable is a paid mutator transaction binding the contract method 0x2f2770db.

Solidity: function disable() returns()

func (*FeederTransactor) Enable

func (_Feeder *FeederTransactor) Enable(opts *bind.TransactOpts) (*types.Transaction, error)

Enable is a paid mutator transaction binding the contract method 0xa3907d71.

Solidity: function enable() returns()

func (*FeederTransactor) Post

func (_Feeder *FeederTransactor) Post(opts *bind.TransactOpts, newValue *big.Int) (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0xcaa5863c.

Solidity: function post(uint256 newValue) returns()

type FeederTransactorRaw

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

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

func (*FeederTransactorRaw) Transact

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

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

func (*FeederTransactorRaw) Transfer

func (_Feeder *FeederTransactorRaw) 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 FeederTransactorSession

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

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

func (*FeederTransactorSession) Disable

func (_Feeder *FeederTransactorSession) Disable() (*types.Transaction, error)

Disable is a paid mutator transaction binding the contract method 0x2f2770db.

Solidity: function disable() returns()

func (*FeederTransactorSession) Enable

func (_Feeder *FeederTransactorSession) Enable() (*types.Transaction, error)

Enable is a paid mutator transaction binding the contract method 0xa3907d71.

Solidity: function enable() returns()

func (*FeederTransactorSession) Post

func (_Feeder *FeederTransactorSession) Post(newValue *big.Int) (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0xcaa5863c.

Solidity: function post(uint256 newValue) returns()

type Heart

type Heart struct {
	HeartCaller     // Read-only binding to the contract
	HeartTransactor // Write-only binding to the contract
	HeartFilterer   // Log filterer for contract events
}

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

func DeployHeart

func DeployHeart(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Heart, error)

DeployHeart deploys a new Ethereum contract, binding an instance of Heart to it.

func NewHeart

func NewHeart(address common.Address, backend bind.ContractBackend) (*Heart, error)

NewHeart creates a new instance of Heart, bound to a specific deployed contract.

type HeartCaller

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

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

func NewHeartCaller

func NewHeartCaller(address common.Address, caller bind.ContractCaller) (*HeartCaller, error)

NewHeartCaller creates a new read-only instance of Heart, bound to a specific deployed contract.

func (*HeartCaller) CollateralAssets

func (_Heart *HeartCaller) CollateralAssets(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

CollateralAssets is a free data retrieval call binding the contract method 0x0f09f97c.

Solidity: function collateralAssets(bytes32 ) constant returns(address)

func (*HeartCaller) CollateralRatios

func (_Heart *HeartCaller) CollateralRatios(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

CollateralRatios is a free data retrieval call binding the contract method 0x7c0fa9a7.

Solidity: function collateralRatios(bytes32 ) constant returns(uint256)

func (*HeartCaller) CollectedFee

func (_Heart *HeartCaller) CollectedFee(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

CollectedFee is a free data retrieval call binding the contract method 0xd0d4212e.

Solidity: function collectedFee(bytes32 ) constant returns(uint256)

func (*HeartCaller) CreditIssuanceFee

func (_Heart *HeartCaller) CreditIssuanceFee(opts *bind.CallOpts) (*big.Int, error)

CreditIssuanceFee is a free data retrieval call binding the contract method 0x1f6f2072.

Solidity: function creditIssuanceFee() constant returns(uint256)

func (*HeartCaller) DrsAddr

func (_Heart *HeartCaller) DrsAddr(opts *bind.CallOpts) (common.Address, error)

DrsAddr is a free data retrieval call binding the contract method 0x716ec8ee.

Solidity: function drsAddr() constant returns(address)

func (*HeartCaller) GetCollateralAsset

func (_Heart *HeartCaller) GetCollateralAsset(opts *bind.CallOpts, assetCode [32]byte) (common.Address, error)

GetCollateralAsset is a free data retrieval call binding the contract method 0xd476f04b.

Solidity: function getCollateralAsset(bytes32 assetCode) constant returns(address)

func (*HeartCaller) GetCollateralRatio

func (_Heart *HeartCaller) GetCollateralRatio(opts *bind.CallOpts, assetCode [32]byte) (*big.Int, error)

GetCollateralRatio is a free data retrieval call binding the contract method 0x0fb79eb2.

Solidity: function getCollateralRatio(bytes32 assetCode) constant returns(uint256)

func (*HeartCaller) GetCollectedFee

func (_Heart *HeartCaller) GetCollectedFee(opts *bind.CallOpts, collateralAssetCode [32]byte) (*big.Int, error)

GetCollectedFee is a free data retrieval call binding the contract method 0xf9af9ce0.

Solidity: function getCollectedFee(bytes32 collateralAssetCode) constant returns(uint256)

func (*HeartCaller) GetCreditIssuanceFee

func (_Heart *HeartCaller) GetCreditIssuanceFee(opts *bind.CallOpts) (*big.Int, error)

GetCreditIssuanceFee is a free data retrieval call binding the contract method 0x016b3a11.

Solidity: function getCreditIssuanceFee() constant returns(uint256)

func (*HeartCaller) GetDrsAddress

func (_Heart *HeartCaller) GetDrsAddress(opts *bind.CallOpts) (common.Address, error)

GetDrsAddress is a free data retrieval call binding the contract method 0x70fa9a6d.

Solidity: function getDrsAddress() constant returns(address)

func (*HeartCaller) GetNextStableCredit

func (_Heart *HeartCaller) GetNextStableCredit(opts *bind.CallOpts, stableCreditId [32]byte) (common.Address, error)

GetNextStableCredit is a free data retrieval call binding the contract method 0xbb31146e.

Solidity: function getNextStableCredit(bytes32 stableCreditId) constant returns(address)

func (*HeartCaller) GetPriceContract

func (_Heart *HeartCaller) GetPriceContract(opts *bind.CallOpts, linkId [32]byte) (common.Address, error)

GetPriceContract is a free data retrieval call binding the contract method 0xdd06356c.

Solidity: function getPriceContract(bytes32 linkId) constant returns(address)

func (*HeartCaller) GetRecentStableCredit

func (_Heart *HeartCaller) GetRecentStableCredit(opts *bind.CallOpts) (common.Address, error)

GetRecentStableCredit is a free data retrieval call binding the contract method 0x33aec2fd.

Solidity: function getRecentStableCredit() constant returns(address)

func (*HeartCaller) GetReserveFreeze

func (_Heart *HeartCaller) GetReserveFreeze(opts *bind.CallOpts, assetCode [32]byte) (uint32, error)

GetReserveFreeze is a free data retrieval call binding the contract method 0xbd09b85d.

Solidity: function getReserveFreeze(bytes32 assetCode) constant returns(uint32)

func (*HeartCaller) GetReserveManager

func (_Heart *HeartCaller) GetReserveManager(opts *bind.CallOpts) (common.Address, error)

GetReserveManager is a free data retrieval call binding the contract method 0x81c210f8.

Solidity: function getReserveManager() constant returns(address)

func (*HeartCaller) GetStableCreditById

func (_Heart *HeartCaller) GetStableCreditById(opts *bind.CallOpts, stableCreditId [32]byte) (common.Address, error)

GetStableCreditById is a free data retrieval call binding the contract method 0xf1e476a6.

Solidity: function getStableCreditById(bytes32 stableCreditId) constant returns(address)

func (*HeartCaller) GetStableCreditCount

func (_Heart *HeartCaller) GetStableCreditCount(opts *bind.CallOpts) (uint8, error)

GetStableCreditCount is a free data retrieval call binding the contract method 0x573ae02a.

Solidity: function getStableCreditCount() constant returns(uint8)

func (*HeartCaller) Governor

func (_Heart *HeartCaller) Governor(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Governor is a free data retrieval call binding the contract method 0x70ec42e8.

Solidity: function governor(address ) constant returns(bool)

func (*HeartCaller) IsGovernor

func (_Heart *HeartCaller) IsGovernor(opts *bind.CallOpts, addr common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address addr) constant returns(bool)

func (*HeartCaller) IsLinkAllowed

func (_Heart *HeartCaller) IsLinkAllowed(opts *bind.CallOpts, linkId [32]byte) (bool, error)

IsLinkAllowed is a free data retrieval call binding the contract method 0xc084770d.

Solidity: function isLinkAllowed(bytes32 linkId) constant returns(bool)

func (*HeartCaller) IsTrustedPartner

func (_Heart *HeartCaller) IsTrustedPartner(opts *bind.CallOpts, addr common.Address) (bool, error)

IsTrustedPartner is a free data retrieval call binding the contract method 0x449c3b74.

Solidity: function isTrustedPartner(address addr) constant returns(bool)

func (*HeartCaller) Prices

func (_Heart *HeartCaller) Prices(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

Prices is a free data retrieval call binding the contract method 0x60846bc6.

Solidity: function prices(bytes32 ) constant returns(address)

func (*HeartCaller) ReserveFreeze

func (_Heart *HeartCaller) ReserveFreeze(opts *bind.CallOpts, arg0 [32]byte) (uint32, error)

ReserveFreeze is a free data retrieval call binding the contract method 0x78f4dce8.

Solidity: function reserveFreeze(bytes32 ) constant returns(uint32)

func (*HeartCaller) ReserveManager

func (_Heart *HeartCaller) ReserveManager(opts *bind.CallOpts) (common.Address, error)

ReserveManager is a free data retrieval call binding the contract method 0xbb004abc.

Solidity: function reserveManager() constant returns(address)

func (*HeartCaller) StableCredits

func (_Heart *HeartCaller) StableCredits(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

StableCredits is a free data retrieval call binding the contract method 0x22042f9f.

Solidity: function stableCredits(bytes32 ) constant returns(address)

func (*HeartCaller) StableCreditsLL

func (_Heart *HeartCaller) StableCreditsLL(opts *bind.CallOpts) (uint8, error)

StableCreditsLL is a free data retrieval call binding the contract method 0x8019155e.

Solidity: function stableCreditsLL() constant returns(uint8 llSize)

func (*HeartCaller) TrustedPartners

func (_Heart *HeartCaller) TrustedPartners(opts *bind.CallOpts, arg0 common.Address) (bool, error)

TrustedPartners is a free data retrieval call binding the contract method 0x29fc9ec8.

Solidity: function trustedPartners(address ) constant returns(bool)

type HeartCallerRaw

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

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

func (*HeartCallerRaw) Call

func (_Heart *HeartCallerRaw) 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 HeartCallerSession

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

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

func (*HeartCallerSession) CollateralAssets

func (_Heart *HeartCallerSession) CollateralAssets(arg0 [32]byte) (common.Address, error)

CollateralAssets is a free data retrieval call binding the contract method 0x0f09f97c.

Solidity: function collateralAssets(bytes32 ) constant returns(address)

func (*HeartCallerSession) CollateralRatios

func (_Heart *HeartCallerSession) CollateralRatios(arg0 [32]byte) (*big.Int, error)

CollateralRatios is a free data retrieval call binding the contract method 0x7c0fa9a7.

Solidity: function collateralRatios(bytes32 ) constant returns(uint256)

func (*HeartCallerSession) CollectedFee

func (_Heart *HeartCallerSession) CollectedFee(arg0 [32]byte) (*big.Int, error)

CollectedFee is a free data retrieval call binding the contract method 0xd0d4212e.

Solidity: function collectedFee(bytes32 ) constant returns(uint256)

func (*HeartCallerSession) CreditIssuanceFee

func (_Heart *HeartCallerSession) CreditIssuanceFee() (*big.Int, error)

CreditIssuanceFee is a free data retrieval call binding the contract method 0x1f6f2072.

Solidity: function creditIssuanceFee() constant returns(uint256)

func (*HeartCallerSession) DrsAddr

func (_Heart *HeartCallerSession) DrsAddr() (common.Address, error)

DrsAddr is a free data retrieval call binding the contract method 0x716ec8ee.

Solidity: function drsAddr() constant returns(address)

func (*HeartCallerSession) GetCollateralAsset

func (_Heart *HeartCallerSession) GetCollateralAsset(assetCode [32]byte) (common.Address, error)

GetCollateralAsset is a free data retrieval call binding the contract method 0xd476f04b.

Solidity: function getCollateralAsset(bytes32 assetCode) constant returns(address)

func (*HeartCallerSession) GetCollateralRatio

func (_Heart *HeartCallerSession) GetCollateralRatio(assetCode [32]byte) (*big.Int, error)

GetCollateralRatio is a free data retrieval call binding the contract method 0x0fb79eb2.

Solidity: function getCollateralRatio(bytes32 assetCode) constant returns(uint256)

func (*HeartCallerSession) GetCollectedFee

func (_Heart *HeartCallerSession) GetCollectedFee(collateralAssetCode [32]byte) (*big.Int, error)

GetCollectedFee is a free data retrieval call binding the contract method 0xf9af9ce0.

Solidity: function getCollectedFee(bytes32 collateralAssetCode) constant returns(uint256)

func (*HeartCallerSession) GetCreditIssuanceFee

func (_Heart *HeartCallerSession) GetCreditIssuanceFee() (*big.Int, error)

GetCreditIssuanceFee is a free data retrieval call binding the contract method 0x016b3a11.

Solidity: function getCreditIssuanceFee() constant returns(uint256)

func (*HeartCallerSession) GetDrsAddress

func (_Heart *HeartCallerSession) GetDrsAddress() (common.Address, error)

GetDrsAddress is a free data retrieval call binding the contract method 0x70fa9a6d.

Solidity: function getDrsAddress() constant returns(address)

func (*HeartCallerSession) GetNextStableCredit

func (_Heart *HeartCallerSession) GetNextStableCredit(stableCreditId [32]byte) (common.Address, error)

GetNextStableCredit is a free data retrieval call binding the contract method 0xbb31146e.

Solidity: function getNextStableCredit(bytes32 stableCreditId) constant returns(address)

func (*HeartCallerSession) GetPriceContract

func (_Heart *HeartCallerSession) GetPriceContract(linkId [32]byte) (common.Address, error)

GetPriceContract is a free data retrieval call binding the contract method 0xdd06356c.

Solidity: function getPriceContract(bytes32 linkId) constant returns(address)

func (*HeartCallerSession) GetRecentStableCredit

func (_Heart *HeartCallerSession) GetRecentStableCredit() (common.Address, error)

GetRecentStableCredit is a free data retrieval call binding the contract method 0x33aec2fd.

Solidity: function getRecentStableCredit() constant returns(address)

func (*HeartCallerSession) GetReserveFreeze

func (_Heart *HeartCallerSession) GetReserveFreeze(assetCode [32]byte) (uint32, error)

GetReserveFreeze is a free data retrieval call binding the contract method 0xbd09b85d.

Solidity: function getReserveFreeze(bytes32 assetCode) constant returns(uint32)

func (*HeartCallerSession) GetReserveManager

func (_Heart *HeartCallerSession) GetReserveManager() (common.Address, error)

GetReserveManager is a free data retrieval call binding the contract method 0x81c210f8.

Solidity: function getReserveManager() constant returns(address)

func (*HeartCallerSession) GetStableCreditById

func (_Heart *HeartCallerSession) GetStableCreditById(stableCreditId [32]byte) (common.Address, error)

GetStableCreditById is a free data retrieval call binding the contract method 0xf1e476a6.

Solidity: function getStableCreditById(bytes32 stableCreditId) constant returns(address)

func (*HeartCallerSession) GetStableCreditCount

func (_Heart *HeartCallerSession) GetStableCreditCount() (uint8, error)

GetStableCreditCount is a free data retrieval call binding the contract method 0x573ae02a.

Solidity: function getStableCreditCount() constant returns(uint8)

func (*HeartCallerSession) Governor

func (_Heart *HeartCallerSession) Governor(arg0 common.Address) (bool, error)

Governor is a free data retrieval call binding the contract method 0x70ec42e8.

Solidity: function governor(address ) constant returns(bool)

func (*HeartCallerSession) IsGovernor

func (_Heart *HeartCallerSession) IsGovernor(addr common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address addr) constant returns(bool)

func (*HeartCallerSession) IsLinkAllowed

func (_Heart *HeartCallerSession) IsLinkAllowed(linkId [32]byte) (bool, error)

IsLinkAllowed is a free data retrieval call binding the contract method 0xc084770d.

Solidity: function isLinkAllowed(bytes32 linkId) constant returns(bool)

func (*HeartCallerSession) IsTrustedPartner

func (_Heart *HeartCallerSession) IsTrustedPartner(addr common.Address) (bool, error)

IsTrustedPartner is a free data retrieval call binding the contract method 0x449c3b74.

Solidity: function isTrustedPartner(address addr) constant returns(bool)

func (*HeartCallerSession) Prices

func (_Heart *HeartCallerSession) Prices(arg0 [32]byte) (common.Address, error)

Prices is a free data retrieval call binding the contract method 0x60846bc6.

Solidity: function prices(bytes32 ) constant returns(address)

func (*HeartCallerSession) ReserveFreeze

func (_Heart *HeartCallerSession) ReserveFreeze(arg0 [32]byte) (uint32, error)

ReserveFreeze is a free data retrieval call binding the contract method 0x78f4dce8.

Solidity: function reserveFreeze(bytes32 ) constant returns(uint32)

func (*HeartCallerSession) ReserveManager

func (_Heart *HeartCallerSession) ReserveManager() (common.Address, error)

ReserveManager is a free data retrieval call binding the contract method 0xbb004abc.

Solidity: function reserveManager() constant returns(address)

func (*HeartCallerSession) StableCredits

func (_Heart *HeartCallerSession) StableCredits(arg0 [32]byte) (common.Address, error)

StableCredits is a free data retrieval call binding the contract method 0x22042f9f.

Solidity: function stableCredits(bytes32 ) constant returns(address)

func (*HeartCallerSession) StableCreditsLL

func (_Heart *HeartCallerSession) StableCreditsLL() (uint8, error)

StableCreditsLL is a free data retrieval call binding the contract method 0x8019155e.

Solidity: function stableCreditsLL() constant returns(uint8 llSize)

func (*HeartCallerSession) TrustedPartners

func (_Heart *HeartCallerSession) TrustedPartners(arg0 common.Address) (bool, error)

TrustedPartners is a free data retrieval call binding the contract method 0x29fc9ec8.

Solidity: function trustedPartners(address ) constant returns(bool)

type HeartFilterer

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

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

func NewHeartFilterer

func NewHeartFilterer(address common.Address, filterer bind.ContractFilterer) (*HeartFilterer, error)

NewHeartFilterer creates a new log filterer instance of Heart, bound to a specific deployed contract.

type HeartRaw

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

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

func (*HeartRaw) Call

func (_Heart *HeartRaw) 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 (*HeartRaw) Transact

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

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

func (*HeartRaw) Transfer

func (_Heart *HeartRaw) 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 HeartSession

type HeartSession struct {
	Contract     *Heart            // 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
}

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

func (*HeartSession) AddPrice

func (_Heart *HeartSession) AddPrice(linkId [32]byte, newPrice common.Address) (*types.Transaction, error)

AddPrice is a paid mutator transaction binding the contract method 0x29582080.

Solidity: function addPrice(bytes32 linkId, address newPrice) returns()

func (*HeartSession) AddStableCredit

func (_Heart *HeartSession) AddStableCredit(newStableCredit common.Address) (*types.Transaction, error)

AddStableCredit is a paid mutator transaction binding the contract method 0xbb33674a.

Solidity: function addStableCredit(address newStableCredit) returns()

func (*HeartSession) CollateralAssets

func (_Heart *HeartSession) CollateralAssets(arg0 [32]byte) (common.Address, error)

CollateralAssets is a free data retrieval call binding the contract method 0x0f09f97c.

Solidity: function collateralAssets(bytes32 ) constant returns(address)

func (*HeartSession) CollateralRatios

func (_Heart *HeartSession) CollateralRatios(arg0 [32]byte) (*big.Int, error)

CollateralRatios is a free data retrieval call binding the contract method 0x7c0fa9a7.

Solidity: function collateralRatios(bytes32 ) constant returns(uint256)

func (*HeartSession) CollectFee

func (_Heart *HeartSession) CollectFee(fee *big.Int, collateralAssetCode [32]byte) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x0171af56.

Solidity: function collectFee(uint256 fee, bytes32 collateralAssetCode) returns()

func (*HeartSession) CollectedFee

func (_Heart *HeartSession) CollectedFee(arg0 [32]byte) (*big.Int, error)

CollectedFee is a free data retrieval call binding the contract method 0xd0d4212e.

Solidity: function collectedFee(bytes32 ) constant returns(uint256)

func (*HeartSession) CreditIssuanceFee

func (_Heart *HeartSession) CreditIssuanceFee() (*big.Int, error)

CreditIssuanceFee is a free data retrieval call binding the contract method 0x1f6f2072.

Solidity: function creditIssuanceFee() constant returns(uint256)

func (*HeartSession) DrsAddr

func (_Heart *HeartSession) DrsAddr() (common.Address, error)

DrsAddr is a free data retrieval call binding the contract method 0x716ec8ee.

Solidity: function drsAddr() constant returns(address)

func (*HeartSession) GetCollateralAsset

func (_Heart *HeartSession) GetCollateralAsset(assetCode [32]byte) (common.Address, error)

GetCollateralAsset is a free data retrieval call binding the contract method 0xd476f04b.

Solidity: function getCollateralAsset(bytes32 assetCode) constant returns(address)

func (*HeartSession) GetCollateralRatio

func (_Heart *HeartSession) GetCollateralRatio(assetCode [32]byte) (*big.Int, error)

GetCollateralRatio is a free data retrieval call binding the contract method 0x0fb79eb2.

Solidity: function getCollateralRatio(bytes32 assetCode) constant returns(uint256)

func (*HeartSession) GetCollectedFee

func (_Heart *HeartSession) GetCollectedFee(collateralAssetCode [32]byte) (*big.Int, error)

GetCollectedFee is a free data retrieval call binding the contract method 0xf9af9ce0.

Solidity: function getCollectedFee(bytes32 collateralAssetCode) constant returns(uint256)

func (*HeartSession) GetCreditIssuanceFee

func (_Heart *HeartSession) GetCreditIssuanceFee() (*big.Int, error)

GetCreditIssuanceFee is a free data retrieval call binding the contract method 0x016b3a11.

Solidity: function getCreditIssuanceFee() constant returns(uint256)

func (*HeartSession) GetDrsAddress

func (_Heart *HeartSession) GetDrsAddress() (common.Address, error)

GetDrsAddress is a free data retrieval call binding the contract method 0x70fa9a6d.

Solidity: function getDrsAddress() constant returns(address)

func (*HeartSession) GetNextStableCredit

func (_Heart *HeartSession) GetNextStableCredit(stableCreditId [32]byte) (common.Address, error)

GetNextStableCredit is a free data retrieval call binding the contract method 0xbb31146e.

Solidity: function getNextStableCredit(bytes32 stableCreditId) constant returns(address)

func (*HeartSession) GetPriceContract

func (_Heart *HeartSession) GetPriceContract(linkId [32]byte) (common.Address, error)

GetPriceContract is a free data retrieval call binding the contract method 0xdd06356c.

Solidity: function getPriceContract(bytes32 linkId) constant returns(address)

func (*HeartSession) GetRecentStableCredit

func (_Heart *HeartSession) GetRecentStableCredit() (common.Address, error)

GetRecentStableCredit is a free data retrieval call binding the contract method 0x33aec2fd.

Solidity: function getRecentStableCredit() constant returns(address)

func (*HeartSession) GetReserveFreeze

func (_Heart *HeartSession) GetReserveFreeze(assetCode [32]byte) (uint32, error)

GetReserveFreeze is a free data retrieval call binding the contract method 0xbd09b85d.

Solidity: function getReserveFreeze(bytes32 assetCode) constant returns(uint32)

func (*HeartSession) GetReserveManager

func (_Heart *HeartSession) GetReserveManager() (common.Address, error)

GetReserveManager is a free data retrieval call binding the contract method 0x81c210f8.

Solidity: function getReserveManager() constant returns(address)

func (*HeartSession) GetStableCreditById

func (_Heart *HeartSession) GetStableCreditById(stableCreditId [32]byte) (common.Address, error)

GetStableCreditById is a free data retrieval call binding the contract method 0xf1e476a6.

Solidity: function getStableCreditById(bytes32 stableCreditId) constant returns(address)

func (*HeartSession) GetStableCreditCount

func (_Heart *HeartSession) GetStableCreditCount() (uint8, error)

GetStableCreditCount is a free data retrieval call binding the contract method 0x573ae02a.

Solidity: function getStableCreditCount() constant returns(uint8)

func (*HeartSession) Governor

func (_Heart *HeartSession) Governor(arg0 common.Address) (bool, error)

Governor is a free data retrieval call binding the contract method 0x70ec42e8.

Solidity: function governor(address ) constant returns(bool)

func (*HeartSession) IsGovernor

func (_Heart *HeartSession) IsGovernor(addr common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address addr) constant returns(bool)

func (*HeartSession) IsLinkAllowed

func (_Heart *HeartSession) IsLinkAllowed(linkId [32]byte) (bool, error)

IsLinkAllowed is a free data retrieval call binding the contract method 0xc084770d.

Solidity: function isLinkAllowed(bytes32 linkId) constant returns(bool)

func (*HeartSession) IsTrustedPartner

func (_Heart *HeartSession) IsTrustedPartner(addr common.Address) (bool, error)

IsTrustedPartner is a free data retrieval call binding the contract method 0x449c3b74.

Solidity: function isTrustedPartner(address addr) constant returns(bool)

func (*HeartSession) Prices

func (_Heart *HeartSession) Prices(arg0 [32]byte) (common.Address, error)

Prices is a free data retrieval call binding the contract method 0x60846bc6.

Solidity: function prices(bytes32 ) constant returns(address)

func (*HeartSession) ReserveFreeze

func (_Heart *HeartSession) ReserveFreeze(arg0 [32]byte) (uint32, error)

ReserveFreeze is a free data retrieval call binding the contract method 0x78f4dce8.

Solidity: function reserveFreeze(bytes32 ) constant returns(uint32)

func (*HeartSession) ReserveManager

func (_Heart *HeartSession) ReserveManager() (common.Address, error)

ReserveManager is a free data retrieval call binding the contract method 0xbb004abc.

Solidity: function reserveManager() constant returns(address)

func (_Heart *HeartSession) SetAllowedLink(linkId [32]byte, enable bool) (*types.Transaction, error)

SetAllowedLink is a paid mutator transaction binding the contract method 0xe402da4e.

Solidity: function setAllowedLink(bytes32 linkId, bool enable) returns()

func (*HeartSession) SetCollateralAsset

func (_Heart *HeartSession) SetCollateralAsset(assetCode [32]byte, addr common.Address, ratio *big.Int) (*types.Transaction, error)

SetCollateralAsset is a paid mutator transaction binding the contract method 0x88bed352.

Solidity: function setCollateralAsset(bytes32 assetCode, address addr, uint256 ratio) returns()

func (*HeartSession) SetCollateralRatio

func (_Heart *HeartSession) SetCollateralRatio(assetCode [32]byte, ratio *big.Int) (*types.Transaction, error)

SetCollateralRatio is a paid mutator transaction binding the contract method 0xdb4d96d1.

Solidity: function setCollateralRatio(bytes32 assetCode, uint256 ratio) returns()

func (*HeartSession) SetCreditIssuanceFee

func (_Heart *HeartSession) SetCreditIssuanceFee(newFee *big.Int) (*types.Transaction, error)

SetCreditIssuanceFee is a paid mutator transaction binding the contract method 0xaedb08d4.

Solidity: function setCreditIssuanceFee(uint256 newFee) returns()

func (*HeartSession) SetDrsAddress

func (_Heart *HeartSession) SetDrsAddress(newDrsAddress common.Address) (*types.Transaction, error)

SetDrsAddress is a paid mutator transaction binding the contract method 0xe12b39f5.

Solidity: function setDrsAddress(address newDrsAddress) returns()

func (*HeartSession) SetGovernor

func (_Heart *HeartSession) SetGovernor(addr common.Address) (*types.Transaction, error)

SetGovernor is a paid mutator transaction binding the contract method 0xc42cf535.

Solidity: function setGovernor(address addr) returns()

func (*HeartSession) SetReserveFreeze

func (_Heart *HeartSession) SetReserveFreeze(assetCode [32]byte, newSeconds uint32) (*types.Transaction, error)

SetReserveFreeze is a paid mutator transaction binding the contract method 0xf3685b7f.

Solidity: function setReserveFreeze(bytes32 assetCode, uint32 newSeconds) returns()

func (*HeartSession) SetReserveManager

func (_Heart *HeartSession) SetReserveManager(newReserveManager common.Address) (*types.Transaction, error)

SetReserveManager is a paid mutator transaction binding the contract method 0xdf7da754.

Solidity: function setReserveManager(address newReserveManager) returns()

func (*HeartSession) SetTrustedPartner

func (_Heart *HeartSession) SetTrustedPartner(addr common.Address) (*types.Transaction, error)

SetTrustedPartner is a paid mutator transaction binding the contract method 0x68698406.

Solidity: function setTrustedPartner(address addr) returns()

func (*HeartSession) StableCredits

func (_Heart *HeartSession) StableCredits(arg0 [32]byte) (common.Address, error)

StableCredits is a free data retrieval call binding the contract method 0x22042f9f.

Solidity: function stableCredits(bytes32 ) constant returns(address)

func (*HeartSession) StableCreditsLL

func (_Heart *HeartSession) StableCreditsLL() (uint8, error)

StableCreditsLL is a free data retrieval call binding the contract method 0x8019155e.

Solidity: function stableCreditsLL() constant returns(uint8 llSize)

func (*HeartSession) TrustedPartners

func (_Heart *HeartSession) TrustedPartners(arg0 common.Address) (bool, error)

TrustedPartners is a free data retrieval call binding the contract method 0x29fc9ec8.

Solidity: function trustedPartners(address ) constant returns(bool)

func (*HeartSession) WithdrawFee

func (_Heart *HeartSession) WithdrawFee(collateralAssetCode [32]byte, amount *big.Int) (*types.Transaction, error)

WithdrawFee is a paid mutator transaction binding the contract method 0xd77da9a2.

Solidity: function withdrawFee(bytes32 collateralAssetCode, uint256 amount) returns()

type HeartTransactor

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

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

func NewHeartTransactor

func NewHeartTransactor(address common.Address, transactor bind.ContractTransactor) (*HeartTransactor, error)

NewHeartTransactor creates a new write-only instance of Heart, bound to a specific deployed contract.

func (*HeartTransactor) AddPrice

func (_Heart *HeartTransactor) AddPrice(opts *bind.TransactOpts, linkId [32]byte, newPrice common.Address) (*types.Transaction, error)

AddPrice is a paid mutator transaction binding the contract method 0x29582080.

Solidity: function addPrice(bytes32 linkId, address newPrice) returns()

func (*HeartTransactor) AddStableCredit

func (_Heart *HeartTransactor) AddStableCredit(opts *bind.TransactOpts, newStableCredit common.Address) (*types.Transaction, error)

AddStableCredit is a paid mutator transaction binding the contract method 0xbb33674a.

Solidity: function addStableCredit(address newStableCredit) returns()

func (*HeartTransactor) CollectFee

func (_Heart *HeartTransactor) CollectFee(opts *bind.TransactOpts, fee *big.Int, collateralAssetCode [32]byte) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x0171af56.

Solidity: function collectFee(uint256 fee, bytes32 collateralAssetCode) returns()

func (_Heart *HeartTransactor) SetAllowedLink(opts *bind.TransactOpts, linkId [32]byte, enable bool) (*types.Transaction, error)

SetAllowedLink is a paid mutator transaction binding the contract method 0xe402da4e.

Solidity: function setAllowedLink(bytes32 linkId, bool enable) returns()

func (*HeartTransactor) SetCollateralAsset

func (_Heart *HeartTransactor) SetCollateralAsset(opts *bind.TransactOpts, assetCode [32]byte, addr common.Address, ratio *big.Int) (*types.Transaction, error)

SetCollateralAsset is a paid mutator transaction binding the contract method 0x88bed352.

Solidity: function setCollateralAsset(bytes32 assetCode, address addr, uint256 ratio) returns()

func (*HeartTransactor) SetCollateralRatio

func (_Heart *HeartTransactor) SetCollateralRatio(opts *bind.TransactOpts, assetCode [32]byte, ratio *big.Int) (*types.Transaction, error)

SetCollateralRatio is a paid mutator transaction binding the contract method 0xdb4d96d1.

Solidity: function setCollateralRatio(bytes32 assetCode, uint256 ratio) returns()

func (*HeartTransactor) SetCreditIssuanceFee

func (_Heart *HeartTransactor) SetCreditIssuanceFee(opts *bind.TransactOpts, newFee *big.Int) (*types.Transaction, error)

SetCreditIssuanceFee is a paid mutator transaction binding the contract method 0xaedb08d4.

Solidity: function setCreditIssuanceFee(uint256 newFee) returns()

func (*HeartTransactor) SetDrsAddress

func (_Heart *HeartTransactor) SetDrsAddress(opts *bind.TransactOpts, newDrsAddress common.Address) (*types.Transaction, error)

SetDrsAddress is a paid mutator transaction binding the contract method 0xe12b39f5.

Solidity: function setDrsAddress(address newDrsAddress) returns()

func (*HeartTransactor) SetGovernor

func (_Heart *HeartTransactor) SetGovernor(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

SetGovernor is a paid mutator transaction binding the contract method 0xc42cf535.

Solidity: function setGovernor(address addr) returns()

func (*HeartTransactor) SetReserveFreeze

func (_Heart *HeartTransactor) SetReserveFreeze(opts *bind.TransactOpts, assetCode [32]byte, newSeconds uint32) (*types.Transaction, error)

SetReserveFreeze is a paid mutator transaction binding the contract method 0xf3685b7f.

Solidity: function setReserveFreeze(bytes32 assetCode, uint32 newSeconds) returns()

func (*HeartTransactor) SetReserveManager

func (_Heart *HeartTransactor) SetReserveManager(opts *bind.TransactOpts, newReserveManager common.Address) (*types.Transaction, error)

SetReserveManager is a paid mutator transaction binding the contract method 0xdf7da754.

Solidity: function setReserveManager(address newReserveManager) returns()

func (*HeartTransactor) SetTrustedPartner

func (_Heart *HeartTransactor) SetTrustedPartner(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

SetTrustedPartner is a paid mutator transaction binding the contract method 0x68698406.

Solidity: function setTrustedPartner(address addr) returns()

func (*HeartTransactor) WithdrawFee

func (_Heart *HeartTransactor) WithdrawFee(opts *bind.TransactOpts, collateralAssetCode [32]byte, amount *big.Int) (*types.Transaction, error)

WithdrawFee is a paid mutator transaction binding the contract method 0xd77da9a2.

Solidity: function withdrawFee(bytes32 collateralAssetCode, uint256 amount) returns()

type HeartTransactorRaw

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

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

func (*HeartTransactorRaw) Transact

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

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

func (*HeartTransactorRaw) Transfer

func (_Heart *HeartTransactorRaw) 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 HeartTransactorSession

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

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

func (*HeartTransactorSession) AddPrice

func (_Heart *HeartTransactorSession) AddPrice(linkId [32]byte, newPrice common.Address) (*types.Transaction, error)

AddPrice is a paid mutator transaction binding the contract method 0x29582080.

Solidity: function addPrice(bytes32 linkId, address newPrice) returns()

func (*HeartTransactorSession) AddStableCredit

func (_Heart *HeartTransactorSession) AddStableCredit(newStableCredit common.Address) (*types.Transaction, error)

AddStableCredit is a paid mutator transaction binding the contract method 0xbb33674a.

Solidity: function addStableCredit(address newStableCredit) returns()

func (*HeartTransactorSession) CollectFee

func (_Heart *HeartTransactorSession) CollectFee(fee *big.Int, collateralAssetCode [32]byte) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x0171af56.

Solidity: function collectFee(uint256 fee, bytes32 collateralAssetCode) returns()

func (_Heart *HeartTransactorSession) SetAllowedLink(linkId [32]byte, enable bool) (*types.Transaction, error)

SetAllowedLink is a paid mutator transaction binding the contract method 0xe402da4e.

Solidity: function setAllowedLink(bytes32 linkId, bool enable) returns()

func (*HeartTransactorSession) SetCollateralAsset

func (_Heart *HeartTransactorSession) SetCollateralAsset(assetCode [32]byte, addr common.Address, ratio *big.Int) (*types.Transaction, error)

SetCollateralAsset is a paid mutator transaction binding the contract method 0x88bed352.

Solidity: function setCollateralAsset(bytes32 assetCode, address addr, uint256 ratio) returns()

func (*HeartTransactorSession) SetCollateralRatio

func (_Heart *HeartTransactorSession) SetCollateralRatio(assetCode [32]byte, ratio *big.Int) (*types.Transaction, error)

SetCollateralRatio is a paid mutator transaction binding the contract method 0xdb4d96d1.

Solidity: function setCollateralRatio(bytes32 assetCode, uint256 ratio) returns()

func (*HeartTransactorSession) SetCreditIssuanceFee

func (_Heart *HeartTransactorSession) SetCreditIssuanceFee(newFee *big.Int) (*types.Transaction, error)

SetCreditIssuanceFee is a paid mutator transaction binding the contract method 0xaedb08d4.

Solidity: function setCreditIssuanceFee(uint256 newFee) returns()

func (*HeartTransactorSession) SetDrsAddress

func (_Heart *HeartTransactorSession) SetDrsAddress(newDrsAddress common.Address) (*types.Transaction, error)

SetDrsAddress is a paid mutator transaction binding the contract method 0xe12b39f5.

Solidity: function setDrsAddress(address newDrsAddress) returns()

func (*HeartTransactorSession) SetGovernor

func (_Heart *HeartTransactorSession) SetGovernor(addr common.Address) (*types.Transaction, error)

SetGovernor is a paid mutator transaction binding the contract method 0xc42cf535.

Solidity: function setGovernor(address addr) returns()

func (*HeartTransactorSession) SetReserveFreeze

func (_Heart *HeartTransactorSession) SetReserveFreeze(assetCode [32]byte, newSeconds uint32) (*types.Transaction, error)

SetReserveFreeze is a paid mutator transaction binding the contract method 0xf3685b7f.

Solidity: function setReserveFreeze(bytes32 assetCode, uint32 newSeconds) returns()

func (*HeartTransactorSession) SetReserveManager

func (_Heart *HeartTransactorSession) SetReserveManager(newReserveManager common.Address) (*types.Transaction, error)

SetReserveManager is a paid mutator transaction binding the contract method 0xdf7da754.

Solidity: function setReserveManager(address newReserveManager) returns()

func (*HeartTransactorSession) SetTrustedPartner

func (_Heart *HeartTransactorSession) SetTrustedPartner(addr common.Address) (*types.Transaction, error)

SetTrustedPartner is a paid mutator transaction binding the contract method 0x68698406.

Solidity: function setTrustedPartner(address addr) returns()

func (*HeartTransactorSession) WithdrawFee

func (_Heart *HeartTransactorSession) WithdrawFee(collateralAssetCode [32]byte, amount *big.Int) (*types.Transaction, error)

WithdrawFee is a paid mutator transaction binding the contract method 0xd77da9a2.

Solidity: function withdrawFee(bytes32 collateralAssetCode, uint256 amount) returns()

type Lag

type Lag struct {
	LagCaller     // Read-only binding to the contract
	LagTransactor // Write-only binding to the contract
	LagFilterer   // Log filterer for contract events
}

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

func DeployLag

func DeployLag(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Lag, error)

DeployLag deploys a new Ethereum contract, binding an instance of Lag to it.

func NewLag

func NewLag(address common.Address, backend bind.ContractBackend) (*Lag, error)

NewLag creates a new instance of Lag, bound to a specific deployed contract.

type LagCaller

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

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

func NewLagCaller

func NewLagCaller(address common.Address, caller bind.ContractCaller) (*LagCaller, error)

NewLagCaller creates a new read-only instance of Lag, bound to a specific deployed contract.

func (*LagCaller) Active

func (_Lag *LagCaller) 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 (*LagCaller) Get

func (_Lag *LagCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*LagCaller) GetNextWithError

func (_Lag *LagCaller) GetNextWithError(opts *bind.CallOpts) (*big.Int, bool, bool, error)

GetNextWithError is a free data retrieval call binding the contract method 0x26f25c04.

Solidity: function getNextWithError() constant returns(uint256, bool, bool)

func (*LagCaller) GetWithError

func (_Lag *LagCaller) GetWithError(opts *bind.CallOpts) (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*LagCaller) IsMinimumPeriodPass

func (_Lag *LagCaller) IsMinimumPeriodPass(opts *bind.CallOpts) (bool, error)

IsMinimumPeriodPass is a free data retrieval call binding the contract method 0x67a493f9.

Solidity: function isMinimumPeriodPass() constant returns(bool)

func (*LagCaller) MedianizerAddr

func (_Lag *LagCaller) MedianizerAddr(opts *bind.CallOpts) (common.Address, error)

MedianizerAddr is a free data retrieval call binding the contract method 0x2482c6d1.

Solidity: function medianizerAddr() constant returns(address)

func (*LagCaller) MinimumPeriod

func (_Lag *LagCaller) MinimumPeriod(opts *bind.CallOpts) (*big.Int, error)

MinimumPeriod is a free data retrieval call binding the contract method 0x457c85eb.

Solidity: function minimumPeriod() constant returns(uint256)

func (*LagCaller) MinimumPeriodLimit

func (_Lag *LagCaller) MinimumPeriodLimit(opts *bind.CallOpts) (*big.Int, error)

MinimumPeriodLimit is a free data retrieval call binding the contract method 0xf4bae7d5.

Solidity: function minimumPeriodLimit() constant returns(uint256)

func (*LagCaller) Owner

func (_Lag *LagCaller) 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 (*LagCaller) TimeLastUpdate

func (_Lag *LagCaller) TimeLastUpdate(opts *bind.CallOpts) (*big.Int, error)

TimeLastUpdate is a free data retrieval call binding the contract method 0xbb07f8dd.

Solidity: function timeLastUpdate() constant returns(uint256)

type LagCallerRaw

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

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

func (*LagCallerRaw) Call

func (_Lag *LagCallerRaw) 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 LagCallerSession

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

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

func (*LagCallerSession) Active

func (_Lag *LagCallerSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*LagCallerSession) Get

func (_Lag *LagCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*LagCallerSession) GetNextWithError

func (_Lag *LagCallerSession) GetNextWithError() (*big.Int, bool, bool, error)

GetNextWithError is a free data retrieval call binding the contract method 0x26f25c04.

Solidity: function getNextWithError() constant returns(uint256, bool, bool)

func (*LagCallerSession) GetWithError

func (_Lag *LagCallerSession) GetWithError() (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*LagCallerSession) IsMinimumPeriodPass

func (_Lag *LagCallerSession) IsMinimumPeriodPass() (bool, error)

IsMinimumPeriodPass is a free data retrieval call binding the contract method 0x67a493f9.

Solidity: function isMinimumPeriodPass() constant returns(bool)

func (*LagCallerSession) MedianizerAddr

func (_Lag *LagCallerSession) MedianizerAddr() (common.Address, error)

MedianizerAddr is a free data retrieval call binding the contract method 0x2482c6d1.

Solidity: function medianizerAddr() constant returns(address)

func (*LagCallerSession) MinimumPeriod

func (_Lag *LagCallerSession) MinimumPeriod() (*big.Int, error)

MinimumPeriod is a free data retrieval call binding the contract method 0x457c85eb.

Solidity: function minimumPeriod() constant returns(uint256)

func (*LagCallerSession) MinimumPeriodLimit

func (_Lag *LagCallerSession) MinimumPeriodLimit() (*big.Int, error)

MinimumPeriodLimit is a free data retrieval call binding the contract method 0xf4bae7d5.

Solidity: function minimumPeriodLimit() constant returns(uint256)

func (*LagCallerSession) Owner

func (_Lag *LagCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*LagCallerSession) TimeLastUpdate

func (_Lag *LagCallerSession) TimeLastUpdate() (*big.Int, error)

TimeLastUpdate is a free data retrieval call binding the contract method 0xbb07f8dd.

Solidity: function timeLastUpdate() constant returns(uint256)

type LagFilterer

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

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

func NewLagFilterer

func NewLagFilterer(address common.Address, filterer bind.ContractFilterer) (*LagFilterer, error)

NewLagFilterer creates a new log filterer instance of Lag, bound to a specific deployed contract.

func (*LagFilterer) FilterLagActivate

func (_Lag *LagFilterer) FilterLagActivate(opts *bind.FilterOpts) (*LagLagActivateIterator, error)

FilterLagActivate is a free log retrieval operation binding the contract event 0x7f62a36327a11de3be66fdb622fb3631e71b9145fd53295d111869c49f8bbe38.

Solidity: event LagActivate(address caller, address lag, bool isActive)

func (*LagFilterer) FilterLagVoid

func (_Lag *LagFilterer) FilterLagVoid(opts *bind.FilterOpts) (*LagLagVoidIterator, error)

FilterLagVoid is a free log retrieval operation binding the contract event 0x007c5635357dbfc3e0e64195a2d3cb69d46a53fe985e127be4d6aa371bc6809e.

Solidity: event LagVoid(address caller, address lag, bool isActive)

func (*LagFilterer) ParseLagActivate

func (_Lag *LagFilterer) ParseLagActivate(log types.Log) (*LagLagActivate, error)

ParseLagActivate is a log parse operation binding the contract event 0x7f62a36327a11de3be66fdb622fb3631e71b9145fd53295d111869c49f8bbe38.

Solidity: event LagActivate(address caller, address lag, bool isActive)

func (*LagFilterer) ParseLagVoid

func (_Lag *LagFilterer) ParseLagVoid(log types.Log) (*LagLagVoid, error)

ParseLagVoid is a log parse operation binding the contract event 0x007c5635357dbfc3e0e64195a2d3cb69d46a53fe985e127be4d6aa371bc6809e.

Solidity: event LagVoid(address caller, address lag, bool isActive)

func (*LagFilterer) WatchLagActivate

func (_Lag *LagFilterer) WatchLagActivate(opts *bind.WatchOpts, sink chan<- *LagLagActivate) (event.Subscription, error)

WatchLagActivate is a free log subscription operation binding the contract event 0x7f62a36327a11de3be66fdb622fb3631e71b9145fd53295d111869c49f8bbe38.

Solidity: event LagActivate(address caller, address lag, bool isActive)

func (*LagFilterer) WatchLagVoid

func (_Lag *LagFilterer) WatchLagVoid(opts *bind.WatchOpts, sink chan<- *LagLagVoid) (event.Subscription, error)

WatchLagVoid is a free log subscription operation binding the contract event 0x007c5635357dbfc3e0e64195a2d3cb69d46a53fe985e127be4d6aa371bc6809e.

Solidity: event LagVoid(address caller, address lag, bool isActive)

type LagLagActivate

type LagLagActivate struct {
	Caller   common.Address
	Lag      common.Address
	IsActive bool
	Raw      types.Log // Blockchain specific contextual infos
}

LagLagActivate represents a LagActivate event raised by the Lag contract.

type LagLagActivateIterator

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

LagLagActivateIterator is returned from FilterLagActivate and is used to iterate over the raw logs and unpacked data for LagActivate events raised by the Lag contract.

func (*LagLagActivateIterator) Close

func (it *LagLagActivateIterator) Close() error

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

func (*LagLagActivateIterator) Error

func (it *LagLagActivateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LagLagActivateIterator) Next

func (it *LagLagActivateIterator) Next() bool

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

type LagLagVoid

type LagLagVoid struct {
	Caller   common.Address
	Lag      common.Address
	IsActive bool
	Raw      types.Log // Blockchain specific contextual infos
}

LagLagVoid represents a LagVoid event raised by the Lag contract.

type LagLagVoidIterator

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

LagLagVoidIterator is returned from FilterLagVoid and is used to iterate over the raw logs and unpacked data for LagVoid events raised by the Lag contract.

func (*LagLagVoidIterator) Close

func (it *LagLagVoidIterator) Close() error

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

func (*LagLagVoidIterator) Error

func (it *LagLagVoidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LagLagVoidIterator) Next

func (it *LagLagVoidIterator) Next() bool

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

type LagRaw

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

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

func (*LagRaw) Call

func (_Lag *LagRaw) 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 (*LagRaw) Transact

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

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

func (*LagRaw) Transfer

func (_Lag *LagRaw) 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 LagSession

type LagSession struct {
	Contract     *Lag              // 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
}

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

func (*LagSession) Activate

func (_Lag *LagSession) Activate() (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*LagSession) Active

func (_Lag *LagSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*LagSession) Deactivate

func (_Lag *LagSession) Deactivate() (*types.Transaction, error)

Deactivate is a paid mutator transaction binding the contract method 0x51b42b00.

Solidity: function deactivate() returns()

func (*LagSession) Get

func (_Lag *LagSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*LagSession) GetNextWithError

func (_Lag *LagSession) GetNextWithError() (*big.Int, bool, bool, error)

GetNextWithError is a free data retrieval call binding the contract method 0x26f25c04.

Solidity: function getNextWithError() constant returns(uint256, bool, bool)

func (*LagSession) GetWithError

func (_Lag *LagSession) GetWithError() (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*LagSession) Initialize

func (_Lag *LagSession) Initialize(_owner common.Address, _medianizerAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _owner, address _medianizerAddr) returns()

func (*LagSession) IsMinimumPeriodPass

func (_Lag *LagSession) IsMinimumPeriodPass() (bool, error)

IsMinimumPeriodPass is a free data retrieval call binding the contract method 0x67a493f9.

Solidity: function isMinimumPeriodPass() constant returns(bool)

func (*LagSession) MedianizerAddr

func (_Lag *LagSession) MedianizerAddr() (common.Address, error)

MedianizerAddr is a free data retrieval call binding the contract method 0x2482c6d1.

Solidity: function medianizerAddr() constant returns(address)

func (*LagSession) MinimumPeriod

func (_Lag *LagSession) MinimumPeriod() (*big.Int, error)

MinimumPeriod is a free data retrieval call binding the contract method 0x457c85eb.

Solidity: function minimumPeriod() constant returns(uint256)

func (*LagSession) MinimumPeriodLimit

func (_Lag *LagSession) MinimumPeriodLimit() (*big.Int, error)

MinimumPeriodLimit is a free data retrieval call binding the contract method 0xf4bae7d5.

Solidity: function minimumPeriodLimit() constant returns(uint256)

func (*LagSession) Owner

func (_Lag *LagSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*LagSession) Post

func (_Lag *LagSession) Post() (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns(bool)

func (*LagSession) SetMedianizer

func (_Lag *LagSession) SetMedianizer(newMedianizerAddr common.Address) (*types.Transaction, error)

SetMedianizer is a paid mutator transaction binding the contract method 0xe7baf8dd.

Solidity: function setMedianizer(address newMedianizerAddr) returns()

func (*LagSession) SetMinimumPeriod

func (_Lag *LagSession) SetMinimumPeriod(newMinimumPeriod *big.Int) (*types.Transaction, error)

SetMinimumPeriod is a paid mutator transaction binding the contract method 0x418819da.

Solidity: function setMinimumPeriod(int256 newMinimumPeriod) returns()

func (*LagSession) TimeLastUpdate

func (_Lag *LagSession) TimeLastUpdate() (*big.Int, error)

TimeLastUpdate is a free data retrieval call binding the contract method 0xbb07f8dd.

Solidity: function timeLastUpdate() constant returns(uint256)

func (*LagSession) Void

func (_Lag *LagSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type LagTransactor

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

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

func NewLagTransactor

func NewLagTransactor(address common.Address, transactor bind.ContractTransactor) (*LagTransactor, error)

NewLagTransactor creates a new write-only instance of Lag, bound to a specific deployed contract.

func (*LagTransactor) Activate

func (_Lag *LagTransactor) Activate(opts *bind.TransactOpts) (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*LagTransactor) Deactivate

func (_Lag *LagTransactor) Deactivate(opts *bind.TransactOpts) (*types.Transaction, error)

Deactivate is a paid mutator transaction binding the contract method 0x51b42b00.

Solidity: function deactivate() returns()

func (*LagTransactor) Initialize

func (_Lag *LagTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address, _medianizerAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _owner, address _medianizerAddr) returns()

func (*LagTransactor) Post

func (_Lag *LagTransactor) Post(opts *bind.TransactOpts) (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns(bool)

func (*LagTransactor) SetMedianizer

func (_Lag *LagTransactor) SetMedianizer(opts *bind.TransactOpts, newMedianizerAddr common.Address) (*types.Transaction, error)

SetMedianizer is a paid mutator transaction binding the contract method 0xe7baf8dd.

Solidity: function setMedianizer(address newMedianizerAddr) returns()

func (*LagTransactor) SetMinimumPeriod

func (_Lag *LagTransactor) SetMinimumPeriod(opts *bind.TransactOpts, newMinimumPeriod *big.Int) (*types.Transaction, error)

SetMinimumPeriod is a paid mutator transaction binding the contract method 0x418819da.

Solidity: function setMinimumPeriod(int256 newMinimumPeriod) returns()

func (*LagTransactor) Void

func (_Lag *LagTransactor) Void(opts *bind.TransactOpts) (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type LagTransactorRaw

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

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

func (*LagTransactorRaw) Transact

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

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

func (*LagTransactorRaw) Transfer

func (_Lag *LagTransactorRaw) 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 LagTransactorSession

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

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

func (*LagTransactorSession) Activate

func (_Lag *LagTransactorSession) Activate() (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*LagTransactorSession) Deactivate

func (_Lag *LagTransactorSession) Deactivate() (*types.Transaction, error)

Deactivate is a paid mutator transaction binding the contract method 0x51b42b00.

Solidity: function deactivate() returns()

func (*LagTransactorSession) Initialize

func (_Lag *LagTransactorSession) Initialize(_owner common.Address, _medianizerAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _owner, address _medianizerAddr) returns()

func (*LagTransactorSession) Post

func (_Lag *LagTransactorSession) Post() (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns(bool)

func (*LagTransactorSession) SetMedianizer

func (_Lag *LagTransactorSession) SetMedianizer(newMedianizerAddr common.Address) (*types.Transaction, error)

SetMedianizer is a paid mutator transaction binding the contract method 0xe7baf8dd.

Solidity: function setMedianizer(address newMedianizerAddr) returns()

func (*LagTransactorSession) SetMinimumPeriod

func (_Lag *LagTransactorSession) SetMinimumPeriod(newMinimumPeriod *big.Int) (*types.Transaction, error)

SetMinimumPeriod is a paid mutator transaction binding the contract method 0x418819da.

Solidity: function setMinimumPeriod(int256 newMinimumPeriod) returns()

func (*LagTransactorSession) Void

func (_Lag *LagTransactorSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type Medianizer

type Medianizer struct {
	MedianizerCaller     // Read-only binding to the contract
	MedianizerTransactor // Write-only binding to the contract
	MedianizerFilterer   // Log filterer for contract events
}

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

func DeployMedianizer

func DeployMedianizer(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Medianizer, error)

DeployMedianizer deploys a new Ethereum contract, binding an instance of Medianizer to it.

func NewMedianizer

func NewMedianizer(address common.Address, backend bind.ContractBackend) (*Medianizer, error)

NewMedianizer creates a new instance of Medianizer, bound to a specific deployed contract.

type MedianizerCaller

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

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

func NewMedianizerCaller

func NewMedianizerCaller(address common.Address, caller bind.ContractCaller) (*MedianizerCaller, error)

NewMedianizerCaller creates a new read-only instance of Medianizer, bound to a specific deployed contract.

func (*MedianizerCaller) Active

func (_Medianizer *MedianizerCaller) 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 (*MedianizerCaller) CollateralCode

func (_Medianizer *MedianizerCaller) CollateralCode(opts *bind.CallOpts) ([32]byte, error)

CollateralCode is a free data retrieval call binding the contract method 0x5587c436.

Solidity: function collateralCode() constant returns(bytes32)

func (*MedianizerCaller) Compute

func (_Medianizer *MedianizerCaller) Compute(opts *bind.CallOpts) (*big.Int, bool, error)

Compute is a free data retrieval call binding the contract method 0x1a43c338.

Solidity: function compute() constant returns(uint256, bool)

func (*MedianizerCaller) Feeders

func (_Medianizer *MedianizerCaller) Feeders(opts *bind.CallOpts) (uint8, error)

Feeders is a free data retrieval call binding the contract method 0x981761c5.

Solidity: function feeders() constant returns(uint8 llSize)

func (*MedianizerCaller) FiatCode

func (_Medianizer *MedianizerCaller) FiatCode(opts *bind.CallOpts) ([32]byte, error)

FiatCode is a free data retrieval call binding the contract method 0x64bc5204.

Solidity: function fiatCode() constant returns(bytes32)

func (*MedianizerCaller) Get

func (_Medianizer *MedianizerCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*MedianizerCaller) GetFeeders

func (_Medianizer *MedianizerCaller) GetFeeders(opts *bind.CallOpts) ([]common.Address, error)

GetFeeders is a free data retrieval call binding the contract method 0x41bf7fd9.

Solidity: function getFeeders() constant returns(address[])

func (*MedianizerCaller) GetValidityPeriod

func (_Medianizer *MedianizerCaller) GetValidityPeriod(opts *bind.CallOpts) (*big.Int, error)

GetValidityPeriod is a free data retrieval call binding the contract method 0x0e4e0c65.

Solidity: function getValidityPeriod() constant returns(uint256)

func (*MedianizerCaller) GetWithError

func (_Medianizer *MedianizerCaller) GetWithError(opts *bind.CallOpts) (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*MedianizerCaller) MinFedPrices

func (_Medianizer *MedianizerCaller) MinFedPrices(opts *bind.CallOpts) (uint8, error)

MinFedPrices is a free data retrieval call binding the contract method 0xe6f2ca27.

Solidity: function minFedPrices() constant returns(uint8)

func (*MedianizerCaller) Owner

func (_Medianizer *MedianizerCaller) 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 (*MedianizerCaller) Price

func (_Medianizer *MedianizerCaller) Price(opts *bind.CallOpts) (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xa035b1fe.

Solidity: function price() constant returns(uint256)

func (*MedianizerCaller) ValidityPeriod

func (_Medianizer *MedianizerCaller) ValidityPeriod(opts *bind.CallOpts) (*big.Int, error)

ValidityPeriod is a free data retrieval call binding the contract method 0x1e6c3850.

Solidity: function validityPeriod() constant returns(uint256)

type MedianizerCallerRaw

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

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

func (*MedianizerCallerRaw) Call

func (_Medianizer *MedianizerCallerRaw) 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 MedianizerCallerSession

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

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

func (*MedianizerCallerSession) Active

func (_Medianizer *MedianizerCallerSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*MedianizerCallerSession) CollateralCode

func (_Medianizer *MedianizerCallerSession) CollateralCode() ([32]byte, error)

CollateralCode is a free data retrieval call binding the contract method 0x5587c436.

Solidity: function collateralCode() constant returns(bytes32)

func (*MedianizerCallerSession) Compute

func (_Medianizer *MedianizerCallerSession) Compute() (*big.Int, bool, error)

Compute is a free data retrieval call binding the contract method 0x1a43c338.

Solidity: function compute() constant returns(uint256, bool)

func (*MedianizerCallerSession) Feeders

func (_Medianizer *MedianizerCallerSession) Feeders() (uint8, error)

Feeders is a free data retrieval call binding the contract method 0x981761c5.

Solidity: function feeders() constant returns(uint8 llSize)

func (*MedianizerCallerSession) FiatCode

func (_Medianizer *MedianizerCallerSession) FiatCode() ([32]byte, error)

FiatCode is a free data retrieval call binding the contract method 0x64bc5204.

Solidity: function fiatCode() constant returns(bytes32)

func (*MedianizerCallerSession) Get

func (_Medianizer *MedianizerCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*MedianizerCallerSession) GetFeeders

func (_Medianizer *MedianizerCallerSession) GetFeeders() ([]common.Address, error)

GetFeeders is a free data retrieval call binding the contract method 0x41bf7fd9.

Solidity: function getFeeders() constant returns(address[])

func (*MedianizerCallerSession) GetValidityPeriod

func (_Medianizer *MedianizerCallerSession) GetValidityPeriod() (*big.Int, error)

GetValidityPeriod is a free data retrieval call binding the contract method 0x0e4e0c65.

Solidity: function getValidityPeriod() constant returns(uint256)

func (*MedianizerCallerSession) GetWithError

func (_Medianizer *MedianizerCallerSession) GetWithError() (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*MedianizerCallerSession) MinFedPrices

func (_Medianizer *MedianizerCallerSession) MinFedPrices() (uint8, error)

MinFedPrices is a free data retrieval call binding the contract method 0xe6f2ca27.

Solidity: function minFedPrices() constant returns(uint8)

func (*MedianizerCallerSession) Owner

func (_Medianizer *MedianizerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*MedianizerCallerSession) Price

func (_Medianizer *MedianizerCallerSession) Price() (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xa035b1fe.

Solidity: function price() constant returns(uint256)

func (*MedianizerCallerSession) ValidityPeriod

func (_Medianizer *MedianizerCallerSession) ValidityPeriod() (*big.Int, error)

ValidityPeriod is a free data retrieval call binding the contract method 0x1e6c3850.

Solidity: function validityPeriod() constant returns(uint256)

type MedianizerFeederAdd

type MedianizerFeederAdd struct {
	Caller     common.Address
	Medianizer common.Address
	Feeder     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

MedianizerFeederAdd represents a FeederAdd event raised by the Medianizer contract.

type MedianizerFeederAddIterator

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

MedianizerFeederAddIterator is returned from FilterFeederAdd and is used to iterate over the raw logs and unpacked data for FeederAdd events raised by the Medianizer contract.

func (*MedianizerFeederAddIterator) Close

func (it *MedianizerFeederAddIterator) Close() error

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

func (*MedianizerFeederAddIterator) Error

func (it *MedianizerFeederAddIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MedianizerFeederAddIterator) Next

func (it *MedianizerFeederAddIterator) Next() bool

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

type MedianizerFeederRemove

type MedianizerFeederRemove struct {
	Caller     common.Address
	Medianizer common.Address
	Feeder     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

MedianizerFeederRemove represents a FeederRemove event raised by the Medianizer contract.

type MedianizerFeederRemoveIterator

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

MedianizerFeederRemoveIterator is returned from FilterFeederRemove and is used to iterate over the raw logs and unpacked data for FeederRemove events raised by the Medianizer contract.

func (*MedianizerFeederRemoveIterator) Close

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

func (*MedianizerFeederRemoveIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MedianizerFeederRemoveIterator) Next

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

type MedianizerFilterer

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

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

func NewMedianizerFilterer

func NewMedianizerFilterer(address common.Address, filterer bind.ContractFilterer) (*MedianizerFilterer, error)

NewMedianizerFilterer creates a new log filterer instance of Medianizer, bound to a specific deployed contract.

func (*MedianizerFilterer) FilterFeederAdd

func (_Medianizer *MedianizerFilterer) FilterFeederAdd(opts *bind.FilterOpts) (*MedianizerFeederAddIterator, error)

FilterFeederAdd is a free log retrieval operation binding the contract event 0xd2bb3386b022c08ee866ea92152a49a6f30f37aba23b60afe24e315a32e5ab28.

Solidity: event FeederAdd(address caller, address medianizer, address feeder)

func (*MedianizerFilterer) FilterFeederRemove

func (_Medianizer *MedianizerFilterer) FilterFeederRemove(opts *bind.FilterOpts) (*MedianizerFeederRemoveIterator, error)

FilterFeederRemove is a free log retrieval operation binding the contract event 0x2dc15dd92190df6fa5ffe9febdce6505f3fc1b4f3846044441a4e37ccecfe6fb.

Solidity: event FeederRemove(address caller, address medianizer, address feeder)

func (*MedianizerFilterer) FilterMedianActivate

func (_Medianizer *MedianizerFilterer) FilterMedianActivate(opts *bind.FilterOpts) (*MedianizerMedianActivateIterator, error)

FilterMedianActivate is a free log retrieval operation binding the contract event 0x9137522953a20570987f56292aae83c97008172af9c07b27079c7e87918c0544.

Solidity: event MedianActivate(address caller, address medianizer, bool isActive)

func (*MedianizerFilterer) FilterMedianVoid

func (_Medianizer *MedianizerFilterer) FilterMedianVoid(opts *bind.FilterOpts) (*MedianizerMedianVoidIterator, error)

FilterMedianVoid is a free log retrieval operation binding the contract event 0xc1c85319c7923477ac646408ce7d1255f85bf413c80258f2367de8f4fd51c950.

Solidity: event MedianVoid(address caller, address medianizer, bool isActive)

func (*MedianizerFilterer) ParseFeederAdd

func (_Medianizer *MedianizerFilterer) ParseFeederAdd(log types.Log) (*MedianizerFeederAdd, error)

ParseFeederAdd is a log parse operation binding the contract event 0xd2bb3386b022c08ee866ea92152a49a6f30f37aba23b60afe24e315a32e5ab28.

Solidity: event FeederAdd(address caller, address medianizer, address feeder)

func (*MedianizerFilterer) ParseFeederRemove

func (_Medianizer *MedianizerFilterer) ParseFeederRemove(log types.Log) (*MedianizerFeederRemove, error)

ParseFeederRemove is a log parse operation binding the contract event 0x2dc15dd92190df6fa5ffe9febdce6505f3fc1b4f3846044441a4e37ccecfe6fb.

Solidity: event FeederRemove(address caller, address medianizer, address feeder)

func (*MedianizerFilterer) ParseMedianActivate

func (_Medianizer *MedianizerFilterer) ParseMedianActivate(log types.Log) (*MedianizerMedianActivate, error)

ParseMedianActivate is a log parse operation binding the contract event 0x9137522953a20570987f56292aae83c97008172af9c07b27079c7e87918c0544.

Solidity: event MedianActivate(address caller, address medianizer, bool isActive)

func (*MedianizerFilterer) ParseMedianVoid

func (_Medianizer *MedianizerFilterer) ParseMedianVoid(log types.Log) (*MedianizerMedianVoid, error)

ParseMedianVoid is a log parse operation binding the contract event 0xc1c85319c7923477ac646408ce7d1255f85bf413c80258f2367de8f4fd51c950.

Solidity: event MedianVoid(address caller, address medianizer, bool isActive)

func (*MedianizerFilterer) WatchFeederAdd

func (_Medianizer *MedianizerFilterer) WatchFeederAdd(opts *bind.WatchOpts, sink chan<- *MedianizerFeederAdd) (event.Subscription, error)

WatchFeederAdd is a free log subscription operation binding the contract event 0xd2bb3386b022c08ee866ea92152a49a6f30f37aba23b60afe24e315a32e5ab28.

Solidity: event FeederAdd(address caller, address medianizer, address feeder)

func (*MedianizerFilterer) WatchFeederRemove

func (_Medianizer *MedianizerFilterer) WatchFeederRemove(opts *bind.WatchOpts, sink chan<- *MedianizerFeederRemove) (event.Subscription, error)

WatchFeederRemove is a free log subscription operation binding the contract event 0x2dc15dd92190df6fa5ffe9febdce6505f3fc1b4f3846044441a4e37ccecfe6fb.

Solidity: event FeederRemove(address caller, address medianizer, address feeder)

func (*MedianizerFilterer) WatchMedianActivate

func (_Medianizer *MedianizerFilterer) WatchMedianActivate(opts *bind.WatchOpts, sink chan<- *MedianizerMedianActivate) (event.Subscription, error)

WatchMedianActivate is a free log subscription operation binding the contract event 0x9137522953a20570987f56292aae83c97008172af9c07b27079c7e87918c0544.

Solidity: event MedianActivate(address caller, address medianizer, bool isActive)

func (*MedianizerFilterer) WatchMedianVoid

func (_Medianizer *MedianizerFilterer) WatchMedianVoid(opts *bind.WatchOpts, sink chan<- *MedianizerMedianVoid) (event.Subscription, error)

WatchMedianVoid is a free log subscription operation binding the contract event 0xc1c85319c7923477ac646408ce7d1255f85bf413c80258f2367de8f4fd51c950.

Solidity: event MedianVoid(address caller, address medianizer, bool isActive)

type MedianizerMedianActivate

type MedianizerMedianActivate struct {
	Caller     common.Address
	Medianizer common.Address
	IsActive   bool
	Raw        types.Log // Blockchain specific contextual infos
}

MedianizerMedianActivate represents a MedianActivate event raised by the Medianizer contract.

type MedianizerMedianActivateIterator

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

MedianizerMedianActivateIterator is returned from FilterMedianActivate and is used to iterate over the raw logs and unpacked data for MedianActivate events raised by the Medianizer contract.

func (*MedianizerMedianActivateIterator) Close

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

func (*MedianizerMedianActivateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MedianizerMedianActivateIterator) Next

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

type MedianizerMedianVoid

type MedianizerMedianVoid struct {
	Caller     common.Address
	Medianizer common.Address
	IsActive   bool
	Raw        types.Log // Blockchain specific contextual infos
}

MedianizerMedianVoid represents a MedianVoid event raised by the Medianizer contract.

type MedianizerMedianVoidIterator

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

MedianizerMedianVoidIterator is returned from FilterMedianVoid and is used to iterate over the raw logs and unpacked data for MedianVoid events raised by the Medianizer contract.

func (*MedianizerMedianVoidIterator) Close

func (it *MedianizerMedianVoidIterator) Close() error

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

func (*MedianizerMedianVoidIterator) Error

func (it *MedianizerMedianVoidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MedianizerMedianVoidIterator) Next

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

type MedianizerRaw

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

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

func (*MedianizerRaw) Call

func (_Medianizer *MedianizerRaw) 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 (*MedianizerRaw) Transact

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

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

func (*MedianizerRaw) Transfer

func (_Medianizer *MedianizerRaw) 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 MedianizerSession

type MedianizerSession struct {
	Contract     *Medianizer       // 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
}

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

func (*MedianizerSession) Activate

func (_Medianizer *MedianizerSession) Activate() (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*MedianizerSession) Active

func (_Medianizer *MedianizerSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*MedianizerSession) AddFeeder

func (_Medianizer *MedianizerSession) AddFeeder(feeder common.Address) (*types.Transaction, error)

AddFeeder is a paid mutator transaction binding the contract method 0x155fb6ae.

Solidity: function addFeeder(address feeder) returns()

func (*MedianizerSession) CollateralCode

func (_Medianizer *MedianizerSession) CollateralCode() ([32]byte, error)

CollateralCode is a free data retrieval call binding the contract method 0x5587c436.

Solidity: function collateralCode() constant returns(bytes32)

func (*MedianizerSession) Compute

func (_Medianizer *MedianizerSession) Compute() (*big.Int, bool, error)

Compute is a free data retrieval call binding the contract method 0x1a43c338.

Solidity: function compute() constant returns(uint256, bool)

func (*MedianizerSession) Feeders

func (_Medianizer *MedianizerSession) Feeders() (uint8, error)

Feeders is a free data retrieval call binding the contract method 0x981761c5.

Solidity: function feeders() constant returns(uint8 llSize)

func (*MedianizerSession) FiatCode

func (_Medianizer *MedianizerSession) FiatCode() ([32]byte, error)

FiatCode is a free data retrieval call binding the contract method 0x64bc5204.

Solidity: function fiatCode() constant returns(bytes32)

func (*MedianizerSession) Get

func (_Medianizer *MedianizerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*MedianizerSession) GetFeeders

func (_Medianizer *MedianizerSession) GetFeeders() ([]common.Address, error)

GetFeeders is a free data retrieval call binding the contract method 0x41bf7fd9.

Solidity: function getFeeders() constant returns(address[])

func (*MedianizerSession) GetValidityPeriod

func (_Medianizer *MedianizerSession) GetValidityPeriod() (*big.Int, error)

GetValidityPeriod is a free data retrieval call binding the contract method 0x0e4e0c65.

Solidity: function getValidityPeriod() constant returns(uint256)

func (*MedianizerSession) GetWithError

func (_Medianizer *MedianizerSession) GetWithError() (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*MedianizerSession) Initialize

func (_Medianizer *MedianizerSession) Initialize(_owner common.Address, _fiatCode [32]byte, _collateralCode [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x85f812c3.

Solidity: function initialize(address _owner, bytes32 _fiatCode, bytes32 _collateralCode) returns()

func (*MedianizerSession) MinFedPrices

func (_Medianizer *MedianizerSession) MinFedPrices() (uint8, error)

MinFedPrices is a free data retrieval call binding the contract method 0xe6f2ca27.

Solidity: function minFedPrices() constant returns(uint8)

func (*MedianizerSession) Owner

func (_Medianizer *MedianizerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*MedianizerSession) Post

func (_Medianizer *MedianizerSession) Post() (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns()

func (*MedianizerSession) Price

func (_Medianizer *MedianizerSession) Price() (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xa035b1fe.

Solidity: function price() constant returns(uint256)

func (*MedianizerSession) RemoveFeeder

func (_Medianizer *MedianizerSession) RemoveFeeder(feeder common.Address) (*types.Transaction, error)

RemoveFeeder is a paid mutator transaction binding the contract method 0x8e1207dc.

Solidity: function removeFeeder(address feeder) returns()

func (*MedianizerSession) SetMinFedPrices

func (_Medianizer *MedianizerSession) SetMinFedPrices(newMinFedPrices uint8) (*types.Transaction, error)

SetMinFedPrices is a paid mutator transaction binding the contract method 0x5d967b9e.

Solidity: function setMinFedPrices(uint8 newMinFedPrices) returns()

func (*MedianizerSession) SetValidityPeriod

func (_Medianizer *MedianizerSession) SetValidityPeriod(newValidityPeriod *big.Int) (*types.Transaction, error)

SetValidityPeriod is a paid mutator transaction binding the contract method 0xd653bdc0.

Solidity: function setValidityPeriod(int256 newValidityPeriod) returns()

func (*MedianizerSession) ValidityPeriod

func (_Medianizer *MedianizerSession) ValidityPeriod() (*big.Int, error)

ValidityPeriod is a free data retrieval call binding the contract method 0x1e6c3850.

Solidity: function validityPeriod() constant returns(uint256)

func (*MedianizerSession) Void

func (_Medianizer *MedianizerSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type MedianizerTransactor

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

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

func NewMedianizerTransactor

func NewMedianizerTransactor(address common.Address, transactor bind.ContractTransactor) (*MedianizerTransactor, error)

NewMedianizerTransactor creates a new write-only instance of Medianizer, bound to a specific deployed contract.

func (*MedianizerTransactor) Activate

func (_Medianizer *MedianizerTransactor) Activate(opts *bind.TransactOpts) (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*MedianizerTransactor) AddFeeder

func (_Medianizer *MedianizerTransactor) AddFeeder(opts *bind.TransactOpts, feeder common.Address) (*types.Transaction, error)

AddFeeder is a paid mutator transaction binding the contract method 0x155fb6ae.

Solidity: function addFeeder(address feeder) returns()

func (*MedianizerTransactor) Initialize

func (_Medianizer *MedianizerTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address, _fiatCode [32]byte, _collateralCode [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x85f812c3.

Solidity: function initialize(address _owner, bytes32 _fiatCode, bytes32 _collateralCode) returns()

func (*MedianizerTransactor) Post

func (_Medianizer *MedianizerTransactor) Post(opts *bind.TransactOpts) (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns()

func (*MedianizerTransactor) RemoveFeeder

func (_Medianizer *MedianizerTransactor) RemoveFeeder(opts *bind.TransactOpts, feeder common.Address) (*types.Transaction, error)

RemoveFeeder is a paid mutator transaction binding the contract method 0x8e1207dc.

Solidity: function removeFeeder(address feeder) returns()

func (*MedianizerTransactor) SetMinFedPrices

func (_Medianizer *MedianizerTransactor) SetMinFedPrices(opts *bind.TransactOpts, newMinFedPrices uint8) (*types.Transaction, error)

SetMinFedPrices is a paid mutator transaction binding the contract method 0x5d967b9e.

Solidity: function setMinFedPrices(uint8 newMinFedPrices) returns()

func (*MedianizerTransactor) SetValidityPeriod

func (_Medianizer *MedianizerTransactor) SetValidityPeriod(opts *bind.TransactOpts, newValidityPeriod *big.Int) (*types.Transaction, error)

SetValidityPeriod is a paid mutator transaction binding the contract method 0xd653bdc0.

Solidity: function setValidityPeriod(int256 newValidityPeriod) returns()

func (*MedianizerTransactor) Void

func (_Medianizer *MedianizerTransactor) Void(opts *bind.TransactOpts) (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type MedianizerTransactorRaw

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

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

func (*MedianizerTransactorRaw) Transact

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

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

func (*MedianizerTransactorRaw) Transfer

func (_Medianizer *MedianizerTransactorRaw) 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 MedianizerTransactorSession

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

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

func (*MedianizerTransactorSession) Activate

func (_Medianizer *MedianizerTransactorSession) Activate() (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*MedianizerTransactorSession) AddFeeder

func (_Medianizer *MedianizerTransactorSession) AddFeeder(feeder common.Address) (*types.Transaction, error)

AddFeeder is a paid mutator transaction binding the contract method 0x155fb6ae.

Solidity: function addFeeder(address feeder) returns()

func (*MedianizerTransactorSession) Initialize

func (_Medianizer *MedianizerTransactorSession) Initialize(_owner common.Address, _fiatCode [32]byte, _collateralCode [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x85f812c3.

Solidity: function initialize(address _owner, bytes32 _fiatCode, bytes32 _collateralCode) returns()

func (*MedianizerTransactorSession) Post

func (_Medianizer *MedianizerTransactorSession) Post() (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns()

func (*MedianizerTransactorSession) RemoveFeeder

func (_Medianizer *MedianizerTransactorSession) RemoveFeeder(feeder common.Address) (*types.Transaction, error)

RemoveFeeder is a paid mutator transaction binding the contract method 0x8e1207dc.

Solidity: function removeFeeder(address feeder) returns()

func (*MedianizerTransactorSession) SetMinFedPrices

func (_Medianizer *MedianizerTransactorSession) SetMinFedPrices(newMinFedPrices uint8) (*types.Transaction, error)

SetMinFedPrices is a paid mutator transaction binding the contract method 0x5d967b9e.

Solidity: function setMinFedPrices(uint8 newMinFedPrices) returns()

func (*MedianizerTransactorSession) SetValidityPeriod

func (_Medianizer *MedianizerTransactorSession) SetValidityPeriod(newValidityPeriod *big.Int) (*types.Transaction, error)

SetValidityPeriod is a paid mutator transaction binding the contract method 0xd653bdc0.

Solidity: function setValidityPeriod(int256 newValidityPeriod) returns()

func (*MedianizerTransactorSession) Void

func (_Medianizer *MedianizerTransactorSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type Price

type Price struct {
	PriceCaller     // Read-only binding to the contract
	PriceTransactor // Write-only binding to the contract
	PriceFilterer   // Log filterer for contract events
}

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

func DeployPrice

func DeployPrice(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Price, error)

DeployPrice deploys a new Ethereum contract, binding an instance of Price to it.

func NewPrice

func NewPrice(address common.Address, backend bind.ContractBackend) (*Price, error)

NewPrice creates a new instance of Price, bound to a specific deployed contract.

type PriceCaller

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

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

func NewPriceCaller

func NewPriceCaller(address common.Address, caller bind.ContractCaller) (*PriceCaller, error)

NewPriceCaller creates a new read-only instance of Price, bound to a specific deployed contract.

func (*PriceCaller) Active

func (_Price *PriceCaller) 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 (*PriceCaller) Get

func (_Price *PriceCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*PriceCaller) GetWithError

func (_Price *PriceCaller) GetWithError(opts *bind.CallOpts) (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*PriceCaller) LagAddr

func (_Price *PriceCaller) LagAddr(opts *bind.CallOpts) (common.Address, error)

LagAddr is a free data retrieval call binding the contract method 0xfe0a55e1.

Solidity: function lagAddr() constant returns(address)

func (*PriceCaller) Owner

func (_Price *PriceCaller) 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 (*PriceCaller) Price

func (_Price *PriceCaller) Price(opts *bind.CallOpts) (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xa035b1fe.

Solidity: function price() constant returns(uint256)

type PriceCallerRaw

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

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

func (*PriceCallerRaw) Call

func (_Price *PriceCallerRaw) 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 PriceCallerSession

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

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

func (*PriceCallerSession) Active

func (_Price *PriceCallerSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*PriceCallerSession) Get

func (_Price *PriceCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*PriceCallerSession) GetWithError

func (_Price *PriceCallerSession) GetWithError() (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*PriceCallerSession) LagAddr

func (_Price *PriceCallerSession) LagAddr() (common.Address, error)

LagAddr is a free data retrieval call binding the contract method 0xfe0a55e1.

Solidity: function lagAddr() constant returns(address)

func (*PriceCallerSession) Owner

func (_Price *PriceCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*PriceCallerSession) Price

func (_Price *PriceCallerSession) Price() (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xa035b1fe.

Solidity: function price() constant returns(uint256)

type PriceFeeders

type PriceFeeders struct {
	PriceFeedersCaller     // Read-only binding to the contract
	PriceFeedersTransactor // Write-only binding to the contract
	PriceFeedersFilterer   // Log filterer for contract events
}

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

func DeployPriceFeeders

func DeployPriceFeeders(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PriceFeeders, error)

DeployPriceFeeders deploys a new Ethereum contract, binding an instance of PriceFeeders to it.

func NewPriceFeeders

func NewPriceFeeders(address common.Address, backend bind.ContractBackend) (*PriceFeeders, error)

NewPriceFeeders creates a new instance of PriceFeeders, bound to a specific deployed contract.

type PriceFeedersCaller

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

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

func NewPriceFeedersCaller

func NewPriceFeedersCaller(address common.Address, caller bind.ContractCaller) (*PriceFeedersCaller, error)

NewPriceFeedersCaller creates a new read-only instance of PriceFeeders, bound to a specific deployed contract.

func (*PriceFeedersCaller) AssetFiat

func (_PriceFeeders *PriceFeedersCaller) AssetFiat(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) ([32]byte, error)

AssetFiat is a free data retrieval call binding the contract method 0x5aeb8ea9.

Solidity: function assetFiat(bytes32 , uint256 ) constant returns(bytes32)

func (*PriceFeedersCaller) GetAssetFiat

func (_PriceFeeders *PriceFeedersCaller) GetAssetFiat(opts *bind.CallOpts, assetCode [32]byte) ([][32]byte, error)

GetAssetFiat is a free data retrieval call binding the contract method 0x21dad762.

Solidity: function getAssetFiat(bytes32 assetCode) constant returns(bytes32[])

func (*PriceFeedersCaller) GetMedianPrice

func (_PriceFeeders *PriceFeedersCaller) GetMedianPrice(opts *bind.CallOpts, linkId [32]byte) (*big.Int, error)

GetMedianPrice is a free data retrieval call binding the contract method 0x89dbe24b.

Solidity: function getMedianPrice(bytes32 linkId) constant returns(uint256)

func (*PriceFeedersCaller) GetPriceFeeders

func (_PriceFeeders *PriceFeedersCaller) GetPriceFeeders(opts *bind.CallOpts, linkId [32]byte) ([]common.Address, error)

GetPriceFeeders is a free data retrieval call binding the contract method 0x21f73ab0.

Solidity: function getPriceFeeders(bytes32 linkId) constant returns(address[])

func (*PriceFeedersCaller) IsWhitelistAdmin

func (_PriceFeeders *PriceFeedersCaller) IsWhitelistAdmin(opts *bind.CallOpts, account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) constant returns(bool)

func (*PriceFeedersCaller) MedianPrices

func (_PriceFeeders *PriceFeedersCaller) MedianPrices(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

MedianPrices is a free data retrieval call binding the contract method 0xd8d4f09a.

Solidity: function medianPrices(bytes32 ) constant returns(uint256)

func (*PriceFeedersCaller) PriceFeeders

func (_PriceFeeders *PriceFeedersCaller) PriceFeeders(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)

PriceFeeders is a free data retrieval call binding the contract method 0xc966a39f.

Solidity: function priceFeeders(bytes32 , uint256 ) constant returns(address)

func (*PriceFeedersCaller) Prices

func (_PriceFeeders *PriceFeedersCaller) Prices(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

Prices is a free data retrieval call binding the contract method 0x60846bc6.

Solidity: function prices(bytes32 ) constant returns(uint256)

type PriceFeedersCallerRaw

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

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

func (*PriceFeedersCallerRaw) Call

func (_PriceFeeders *PriceFeedersCallerRaw) 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 PriceFeedersCallerSession

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

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

func (*PriceFeedersCallerSession) AssetFiat

func (_PriceFeeders *PriceFeedersCallerSession) AssetFiat(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)

AssetFiat is a free data retrieval call binding the contract method 0x5aeb8ea9.

Solidity: function assetFiat(bytes32 , uint256 ) constant returns(bytes32)

func (*PriceFeedersCallerSession) GetAssetFiat

func (_PriceFeeders *PriceFeedersCallerSession) GetAssetFiat(assetCode [32]byte) ([][32]byte, error)

GetAssetFiat is a free data retrieval call binding the contract method 0x21dad762.

Solidity: function getAssetFiat(bytes32 assetCode) constant returns(bytes32[])

func (*PriceFeedersCallerSession) GetMedianPrice

func (_PriceFeeders *PriceFeedersCallerSession) GetMedianPrice(linkId [32]byte) (*big.Int, error)

GetMedianPrice is a free data retrieval call binding the contract method 0x89dbe24b.

Solidity: function getMedianPrice(bytes32 linkId) constant returns(uint256)

func (*PriceFeedersCallerSession) GetPriceFeeders

func (_PriceFeeders *PriceFeedersCallerSession) GetPriceFeeders(linkId [32]byte) ([]common.Address, error)

GetPriceFeeders is a free data retrieval call binding the contract method 0x21f73ab0.

Solidity: function getPriceFeeders(bytes32 linkId) constant returns(address[])

func (*PriceFeedersCallerSession) IsWhitelistAdmin

func (_PriceFeeders *PriceFeedersCallerSession) IsWhitelistAdmin(account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) constant returns(bool)

func (*PriceFeedersCallerSession) MedianPrices

func (_PriceFeeders *PriceFeedersCallerSession) MedianPrices(arg0 [32]byte) (*big.Int, error)

MedianPrices is a free data retrieval call binding the contract method 0xd8d4f09a.

Solidity: function medianPrices(bytes32 ) constant returns(uint256)

func (*PriceFeedersCallerSession) PriceFeeders

func (_PriceFeeders *PriceFeedersCallerSession) PriceFeeders(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

PriceFeeders is a free data retrieval call binding the contract method 0xc966a39f.

Solidity: function priceFeeders(bytes32 , uint256 ) constant returns(address)

func (*PriceFeedersCallerSession) Prices

func (_PriceFeeders *PriceFeedersCallerSession) Prices(arg0 [32]byte) (*big.Int, error)

Prices is a free data retrieval call binding the contract method 0x60846bc6.

Solidity: function prices(bytes32 ) constant returns(uint256)

type PriceFeedersFilterer

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

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

func NewPriceFeedersFilterer

func NewPriceFeedersFilterer(address common.Address, filterer bind.ContractFilterer) (*PriceFeedersFilterer, error)

NewPriceFeedersFilterer creates a new log filterer instance of PriceFeeders, bound to a specific deployed contract.

func (*PriceFeedersFilterer) FilterWhitelistAdminAdded

func (_PriceFeeders *PriceFeedersFilterer) FilterWhitelistAdminAdded(opts *bind.FilterOpts, account []common.Address) (*PriceFeedersWhitelistAdminAddedIterator, error)

FilterWhitelistAdminAdded is a free log retrieval operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*PriceFeedersFilterer) FilterWhitelistAdminRemoved

func (_PriceFeeders *PriceFeedersFilterer) FilterWhitelistAdminRemoved(opts *bind.FilterOpts, account []common.Address) (*PriceFeedersWhitelistAdminRemovedIterator, error)

FilterWhitelistAdminRemoved is a free log retrieval operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

func (*PriceFeedersFilterer) ParseWhitelistAdminAdded

func (_PriceFeeders *PriceFeedersFilterer) ParseWhitelistAdminAdded(log types.Log) (*PriceFeedersWhitelistAdminAdded, error)

ParseWhitelistAdminAdded is a log parse operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*PriceFeedersFilterer) ParseWhitelistAdminRemoved

func (_PriceFeeders *PriceFeedersFilterer) ParseWhitelistAdminRemoved(log types.Log) (*PriceFeedersWhitelistAdminRemoved, error)

ParseWhitelistAdminRemoved is a log parse operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

func (*PriceFeedersFilterer) WatchWhitelistAdminAdded

func (_PriceFeeders *PriceFeedersFilterer) WatchWhitelistAdminAdded(opts *bind.WatchOpts, sink chan<- *PriceFeedersWhitelistAdminAdded, account []common.Address) (event.Subscription, error)

WatchWhitelistAdminAdded is a free log subscription operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*PriceFeedersFilterer) WatchWhitelistAdminRemoved

func (_PriceFeeders *PriceFeedersFilterer) WatchWhitelistAdminRemoved(opts *bind.WatchOpts, sink chan<- *PriceFeedersWhitelistAdminRemoved, account []common.Address) (event.Subscription, error)

WatchWhitelistAdminRemoved is a free log subscription operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

type PriceFeedersRaw

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

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

func (*PriceFeedersRaw) Call

func (_PriceFeeders *PriceFeedersRaw) 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 (*PriceFeedersRaw) Transact

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

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

func (*PriceFeedersRaw) Transfer

func (_PriceFeeders *PriceFeedersRaw) 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 PriceFeedersSession

type PriceFeedersSession struct {
	Contract     *PriceFeeders     // 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
}

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

func (*PriceFeedersSession) AddAssetFiat

func (_PriceFeeders *PriceFeedersSession) AddAssetFiat(assetCode [32]byte, currency [32]byte) (*types.Transaction, error)

AddAssetFiat is a paid mutator transaction binding the contract method 0x43cb0101.

Solidity: function addAssetFiat(bytes32 assetCode, bytes32 currency) returns()

func (*PriceFeedersSession) AddPriceFeeder

func (_PriceFeeders *PriceFeedersSession) AddPriceFeeder(assetCode [32]byte, currency [32]byte, priceFeederAddr common.Address) (*types.Transaction, error)

AddPriceFeeder is a paid mutator transaction binding the contract method 0x367ae017.

Solidity: function addPriceFeeder(bytes32 assetCode, bytes32 currency, address priceFeederAddr) returns()

func (*PriceFeedersSession) AddWhitelistAdmin

func (_PriceFeeders *PriceFeedersSession) AddWhitelistAdmin(account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*PriceFeedersSession) AssetFiat

func (_PriceFeeders *PriceFeedersSession) AssetFiat(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)

AssetFiat is a free data retrieval call binding the contract method 0x5aeb8ea9.

Solidity: function assetFiat(bytes32 , uint256 ) constant returns(bytes32)

func (*PriceFeedersSession) GetAssetFiat

func (_PriceFeeders *PriceFeedersSession) GetAssetFiat(assetCode [32]byte) ([][32]byte, error)

GetAssetFiat is a free data retrieval call binding the contract method 0x21dad762.

Solidity: function getAssetFiat(bytes32 assetCode) constant returns(bytes32[])

func (*PriceFeedersSession) GetMedianPrice

func (_PriceFeeders *PriceFeedersSession) GetMedianPrice(linkId [32]byte) (*big.Int, error)

GetMedianPrice is a free data retrieval call binding the contract method 0x89dbe24b.

Solidity: function getMedianPrice(bytes32 linkId) constant returns(uint256)

func (*PriceFeedersSession) GetPriceFeeders

func (_PriceFeeders *PriceFeedersSession) GetPriceFeeders(linkId [32]byte) ([]common.Address, error)

GetPriceFeeders is a free data retrieval call binding the contract method 0x21f73ab0.

Solidity: function getPriceFeeders(bytes32 linkId) constant returns(address[])

func (*PriceFeedersSession) IsWhitelistAdmin

func (_PriceFeeders *PriceFeedersSession) IsWhitelistAdmin(account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) constant returns(bool)

func (*PriceFeedersSession) MedianPrices

func (_PriceFeeders *PriceFeedersSession) MedianPrices(arg0 [32]byte) (*big.Int, error)

MedianPrices is a free data retrieval call binding the contract method 0xd8d4f09a.

Solidity: function medianPrices(bytes32 ) constant returns(uint256)

func (*PriceFeedersSession) PriceFeeders

func (_PriceFeeders *PriceFeedersSession) PriceFeeders(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

PriceFeeders is a free data retrieval call binding the contract method 0xc966a39f.

Solidity: function priceFeeders(bytes32 , uint256 ) constant returns(address)

func (*PriceFeedersSession) Prices

func (_PriceFeeders *PriceFeedersSession) Prices(arg0 [32]byte) (*big.Int, error)

Prices is a free data retrieval call binding the contract method 0x60846bc6.

Solidity: function prices(bytes32 ) constant returns(uint256)

func (*PriceFeedersSession) RemoveAssetFiat

func (_PriceFeeders *PriceFeedersSession) RemoveAssetFiat(assetCode [32]byte, index *big.Int) (*types.Transaction, error)

RemoveAssetFiat is a paid mutator transaction binding the contract method 0x33e95457.

Solidity: function removeAssetFiat(bytes32 assetCode, uint256 index) returns(bool)

func (*PriceFeedersSession) RemovePriceFeeder

func (_PriceFeeders *PriceFeedersSession) RemovePriceFeeder(pfId [32]byte, index *big.Int) (*types.Transaction, error)

RemovePriceFeeder is a paid mutator transaction binding the contract method 0x15b9de67.

Solidity: function removePriceFeeder(bytes32 pfId, uint256 index) returns(bool)

func (*PriceFeedersSession) RenounceWhitelistAdmin

func (_PriceFeeders *PriceFeedersSession) RenounceWhitelistAdmin() (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*PriceFeedersSession) SetAsset

func (_PriceFeeders *PriceFeedersSession) SetAsset(assetCode [32]byte, assetAddress common.Address) (*types.Transaction, error)

SetAsset is a paid mutator transaction binding the contract method 0x1610c6a6.

Solidity: function setAsset(bytes32 assetCode, address assetAddress) returns()

func (*PriceFeedersSession) SetPrice

func (_PriceFeeders *PriceFeedersSession) SetPrice(assetCode [32]byte, currency [32]byte, price *big.Int) (*types.Transaction, error)

SetPrice is a paid mutator transaction binding the contract method 0x213b9d9e.

Solidity: function setPrice(bytes32 assetCode, bytes32 currency, uint256 price) returns()

type PriceFeedersTransactor

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

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

func NewPriceFeedersTransactor

func NewPriceFeedersTransactor(address common.Address, transactor bind.ContractTransactor) (*PriceFeedersTransactor, error)

NewPriceFeedersTransactor creates a new write-only instance of PriceFeeders, bound to a specific deployed contract.

func (*PriceFeedersTransactor) AddAssetFiat

func (_PriceFeeders *PriceFeedersTransactor) AddAssetFiat(opts *bind.TransactOpts, assetCode [32]byte, currency [32]byte) (*types.Transaction, error)

AddAssetFiat is a paid mutator transaction binding the contract method 0x43cb0101.

Solidity: function addAssetFiat(bytes32 assetCode, bytes32 currency) returns()

func (*PriceFeedersTransactor) AddPriceFeeder

func (_PriceFeeders *PriceFeedersTransactor) AddPriceFeeder(opts *bind.TransactOpts, assetCode [32]byte, currency [32]byte, priceFeederAddr common.Address) (*types.Transaction, error)

AddPriceFeeder is a paid mutator transaction binding the contract method 0x367ae017.

Solidity: function addPriceFeeder(bytes32 assetCode, bytes32 currency, address priceFeederAddr) returns()

func (*PriceFeedersTransactor) AddWhitelistAdmin

func (_PriceFeeders *PriceFeedersTransactor) AddWhitelistAdmin(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*PriceFeedersTransactor) RemoveAssetFiat

func (_PriceFeeders *PriceFeedersTransactor) RemoveAssetFiat(opts *bind.TransactOpts, assetCode [32]byte, index *big.Int) (*types.Transaction, error)

RemoveAssetFiat is a paid mutator transaction binding the contract method 0x33e95457.

Solidity: function removeAssetFiat(bytes32 assetCode, uint256 index) returns(bool)

func (*PriceFeedersTransactor) RemovePriceFeeder

func (_PriceFeeders *PriceFeedersTransactor) RemovePriceFeeder(opts *bind.TransactOpts, pfId [32]byte, index *big.Int) (*types.Transaction, error)

RemovePriceFeeder is a paid mutator transaction binding the contract method 0x15b9de67.

Solidity: function removePriceFeeder(bytes32 pfId, uint256 index) returns(bool)

func (*PriceFeedersTransactor) RenounceWhitelistAdmin

func (_PriceFeeders *PriceFeedersTransactor) RenounceWhitelistAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*PriceFeedersTransactor) SetAsset

func (_PriceFeeders *PriceFeedersTransactor) SetAsset(opts *bind.TransactOpts, assetCode [32]byte, assetAddress common.Address) (*types.Transaction, error)

SetAsset is a paid mutator transaction binding the contract method 0x1610c6a6.

Solidity: function setAsset(bytes32 assetCode, address assetAddress) returns()

func (*PriceFeedersTransactor) SetPrice

func (_PriceFeeders *PriceFeedersTransactor) SetPrice(opts *bind.TransactOpts, assetCode [32]byte, currency [32]byte, price *big.Int) (*types.Transaction, error)

SetPrice is a paid mutator transaction binding the contract method 0x213b9d9e.

Solidity: function setPrice(bytes32 assetCode, bytes32 currency, uint256 price) returns()

type PriceFeedersTransactorRaw

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

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

func (*PriceFeedersTransactorRaw) Transact

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

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

func (*PriceFeedersTransactorRaw) Transfer

func (_PriceFeeders *PriceFeedersTransactorRaw) 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 PriceFeedersTransactorSession

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

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

func (*PriceFeedersTransactorSession) AddAssetFiat

func (_PriceFeeders *PriceFeedersTransactorSession) AddAssetFiat(assetCode [32]byte, currency [32]byte) (*types.Transaction, error)

AddAssetFiat is a paid mutator transaction binding the contract method 0x43cb0101.

Solidity: function addAssetFiat(bytes32 assetCode, bytes32 currency) returns()

func (*PriceFeedersTransactorSession) AddPriceFeeder

func (_PriceFeeders *PriceFeedersTransactorSession) AddPriceFeeder(assetCode [32]byte, currency [32]byte, priceFeederAddr common.Address) (*types.Transaction, error)

AddPriceFeeder is a paid mutator transaction binding the contract method 0x367ae017.

Solidity: function addPriceFeeder(bytes32 assetCode, bytes32 currency, address priceFeederAddr) returns()

func (*PriceFeedersTransactorSession) AddWhitelistAdmin

func (_PriceFeeders *PriceFeedersTransactorSession) AddWhitelistAdmin(account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*PriceFeedersTransactorSession) RemoveAssetFiat

func (_PriceFeeders *PriceFeedersTransactorSession) RemoveAssetFiat(assetCode [32]byte, index *big.Int) (*types.Transaction, error)

RemoveAssetFiat is a paid mutator transaction binding the contract method 0x33e95457.

Solidity: function removeAssetFiat(bytes32 assetCode, uint256 index) returns(bool)

func (*PriceFeedersTransactorSession) RemovePriceFeeder

func (_PriceFeeders *PriceFeedersTransactorSession) RemovePriceFeeder(pfId [32]byte, index *big.Int) (*types.Transaction, error)

RemovePriceFeeder is a paid mutator transaction binding the contract method 0x15b9de67.

Solidity: function removePriceFeeder(bytes32 pfId, uint256 index) returns(bool)

func (*PriceFeedersTransactorSession) RenounceWhitelistAdmin

func (_PriceFeeders *PriceFeedersTransactorSession) RenounceWhitelistAdmin() (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*PriceFeedersTransactorSession) SetAsset

func (_PriceFeeders *PriceFeedersTransactorSession) SetAsset(assetCode [32]byte, assetAddress common.Address) (*types.Transaction, error)

SetAsset is a paid mutator transaction binding the contract method 0x1610c6a6.

Solidity: function setAsset(bytes32 assetCode, address assetAddress) returns()

func (*PriceFeedersTransactorSession) SetPrice

func (_PriceFeeders *PriceFeedersTransactorSession) SetPrice(assetCode [32]byte, currency [32]byte, price *big.Int) (*types.Transaction, error)

SetPrice is a paid mutator transaction binding the contract method 0x213b9d9e.

Solidity: function setPrice(bytes32 assetCode, bytes32 currency, uint256 price) returns()

type PriceFeedersWhitelistAdminAdded

type PriceFeedersWhitelistAdminAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PriceFeedersWhitelistAdminAdded represents a WhitelistAdminAdded event raised by the PriceFeeders contract.

type PriceFeedersWhitelistAdminAddedIterator

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

PriceFeedersWhitelistAdminAddedIterator is returned from FilterWhitelistAdminAdded and is used to iterate over the raw logs and unpacked data for WhitelistAdminAdded events raised by the PriceFeeders contract.

func (*PriceFeedersWhitelistAdminAddedIterator) Close

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

func (*PriceFeedersWhitelistAdminAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PriceFeedersWhitelistAdminAddedIterator) Next

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

type PriceFeedersWhitelistAdminRemoved

type PriceFeedersWhitelistAdminRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PriceFeedersWhitelistAdminRemoved represents a WhitelistAdminRemoved event raised by the PriceFeeders contract.

type PriceFeedersWhitelistAdminRemovedIterator

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

PriceFeedersWhitelistAdminRemovedIterator is returned from FilterWhitelistAdminRemoved and is used to iterate over the raw logs and unpacked data for WhitelistAdminRemoved events raised by the PriceFeeders contract.

func (*PriceFeedersWhitelistAdminRemovedIterator) Close

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

func (*PriceFeedersWhitelistAdminRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PriceFeedersWhitelistAdminRemovedIterator) Next

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

type PriceFilterer

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

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

func NewPriceFilterer

func NewPriceFilterer(address common.Address, filterer bind.ContractFilterer) (*PriceFilterer, error)

NewPriceFilterer creates a new log filterer instance of Price, bound to a specific deployed contract.

func (*PriceFilterer) FilterPriceActivate

func (_Price *PriceFilterer) FilterPriceActivate(opts *bind.FilterOpts) (*PricePriceActivateIterator, error)

FilterPriceActivate is a free log retrieval operation binding the contract event 0x2e219088454a765156309a15f374957f610cefb0bab9c32ecf58446b3d94b881.

Solidity: event PriceActivate(address caller, address price, bool isActive)

func (*PriceFilterer) FilterPriceVoid

func (_Price *PriceFilterer) FilterPriceVoid(opts *bind.FilterOpts) (*PricePriceVoidIterator, error)

FilterPriceVoid is a free log retrieval operation binding the contract event 0xa1777e5c3fd82f369568fbd467e2cf87e4aa58a75621857a7714235c8ff9073b.

Solidity: event PriceVoid(address caller, address price, bool isActive)

func (*PriceFilterer) ParsePriceActivate

func (_Price *PriceFilterer) ParsePriceActivate(log types.Log) (*PricePriceActivate, error)

ParsePriceActivate is a log parse operation binding the contract event 0x2e219088454a765156309a15f374957f610cefb0bab9c32ecf58446b3d94b881.

Solidity: event PriceActivate(address caller, address price, bool isActive)

func (*PriceFilterer) ParsePriceVoid

func (_Price *PriceFilterer) ParsePriceVoid(log types.Log) (*PricePriceVoid, error)

ParsePriceVoid is a log parse operation binding the contract event 0xa1777e5c3fd82f369568fbd467e2cf87e4aa58a75621857a7714235c8ff9073b.

Solidity: event PriceVoid(address caller, address price, bool isActive)

func (*PriceFilterer) WatchPriceActivate

func (_Price *PriceFilterer) WatchPriceActivate(opts *bind.WatchOpts, sink chan<- *PricePriceActivate) (event.Subscription, error)

WatchPriceActivate is a free log subscription operation binding the contract event 0x2e219088454a765156309a15f374957f610cefb0bab9c32ecf58446b3d94b881.

Solidity: event PriceActivate(address caller, address price, bool isActive)

func (*PriceFilterer) WatchPriceVoid

func (_Price *PriceFilterer) WatchPriceVoid(opts *bind.WatchOpts, sink chan<- *PricePriceVoid) (event.Subscription, error)

WatchPriceVoid is a free log subscription operation binding the contract event 0xa1777e5c3fd82f369568fbd467e2cf87e4aa58a75621857a7714235c8ff9073b.

Solidity: event PriceVoid(address caller, address price, bool isActive)

type PricePriceActivate

type PricePriceActivate struct {
	Caller   common.Address
	Price    common.Address
	IsActive bool
	Raw      types.Log // Blockchain specific contextual infos
}

PricePriceActivate represents a PriceActivate event raised by the Price contract.

type PricePriceActivateIterator

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

PricePriceActivateIterator is returned from FilterPriceActivate and is used to iterate over the raw logs and unpacked data for PriceActivate events raised by the Price contract.

func (*PricePriceActivateIterator) Close

func (it *PricePriceActivateIterator) Close() error

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

func (*PricePriceActivateIterator) Error

func (it *PricePriceActivateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PricePriceActivateIterator) Next

func (it *PricePriceActivateIterator) Next() bool

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

type PricePriceVoid

type PricePriceVoid struct {
	Caller   common.Address
	Price    common.Address
	IsActive bool
	Raw      types.Log // Blockchain specific contextual infos
}

PricePriceVoid represents a PriceVoid event raised by the Price contract.

type PricePriceVoidIterator

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

PricePriceVoidIterator is returned from FilterPriceVoid and is used to iterate over the raw logs and unpacked data for PriceVoid events raised by the Price contract.

func (*PricePriceVoidIterator) Close

func (it *PricePriceVoidIterator) Close() error

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

func (*PricePriceVoidIterator) Error

func (it *PricePriceVoidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PricePriceVoidIterator) Next

func (it *PricePriceVoidIterator) Next() bool

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

type PriceRaw

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

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

func (*PriceRaw) Call

func (_Price *PriceRaw) 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 (*PriceRaw) Transact

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

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

func (*PriceRaw) Transfer

func (_Price *PriceRaw) 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 PriceSession

type PriceSession struct {
	Contract     *Price            // 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
}

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

func (*PriceSession) Activate

func (_Price *PriceSession) Activate() (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*PriceSession) Active

func (_Price *PriceSession) Active() (bool, error)

Active is a free data retrieval call binding the contract method 0x02fb0c5e.

Solidity: function active() constant returns(bool)

func (*PriceSession) Get

func (_Price *PriceSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*PriceSession) GetWithError

func (_Price *PriceSession) GetWithError() (*big.Int, bool, bool, error)

GetWithError is a free data retrieval call binding the contract method 0x498b5828.

Solidity: function getWithError() constant returns(uint256, bool, bool)

func (*PriceSession) Initialize

func (_Price *PriceSession) Initialize(_owner common.Address, _lagAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _owner, address _lagAddr) returns()

func (*PriceSession) LagAddr

func (_Price *PriceSession) LagAddr() (common.Address, error)

LagAddr is a free data retrieval call binding the contract method 0xfe0a55e1.

Solidity: function lagAddr() constant returns(address)

func (*PriceSession) Owner

func (_Price *PriceSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*PriceSession) Post

func (_Price *PriceSession) Post() (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns()

func (*PriceSession) Price

func (_Price *PriceSession) Price() (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xa035b1fe.

Solidity: function price() constant returns(uint256)

func (*PriceSession) SetLag

func (_Price *PriceSession) SetLag(newLagAddr common.Address) (*types.Transaction, error)

SetLag is a paid mutator transaction binding the contract method 0xe34e3800.

Solidity: function setLag(address newLagAddr) returns()

func (*PriceSession) Void

func (_Price *PriceSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type PriceTransactor

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

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

func NewPriceTransactor

func NewPriceTransactor(address common.Address, transactor bind.ContractTransactor) (*PriceTransactor, error)

NewPriceTransactor creates a new write-only instance of Price, bound to a specific deployed contract.

func (*PriceTransactor) Activate

func (_Price *PriceTransactor) Activate(opts *bind.TransactOpts) (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*PriceTransactor) Initialize

func (_Price *PriceTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address, _lagAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _owner, address _lagAddr) returns()

func (*PriceTransactor) Post

func (_Price *PriceTransactor) Post(opts *bind.TransactOpts) (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns()

func (*PriceTransactor) SetLag

func (_Price *PriceTransactor) SetLag(opts *bind.TransactOpts, newLagAddr common.Address) (*types.Transaction, error)

SetLag is a paid mutator transaction binding the contract method 0xe34e3800.

Solidity: function setLag(address newLagAddr) returns()

func (*PriceTransactor) Void

func (_Price *PriceTransactor) Void(opts *bind.TransactOpts) (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type PriceTransactorRaw

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

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

func (*PriceTransactorRaw) Transact

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

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

func (*PriceTransactorRaw) Transfer

func (_Price *PriceTransactorRaw) 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 PriceTransactorSession

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

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

func (*PriceTransactorSession) Activate

func (_Price *PriceTransactorSession) Activate() (*types.Transaction, error)

Activate is a paid mutator transaction binding the contract method 0x0f15f4c0.

Solidity: function activate() returns()

func (*PriceTransactorSession) Initialize

func (_Price *PriceTransactorSession) Initialize(_owner common.Address, _lagAddr common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _owner, address _lagAddr) returns()

func (*PriceTransactorSession) Post

func (_Price *PriceTransactorSession) Post() (*types.Transaction, error)

Post is a paid mutator transaction binding the contract method 0x05c1f502.

Solidity: function post() returns()

func (*PriceTransactorSession) SetLag

func (_Price *PriceTransactorSession) SetLag(newLagAddr common.Address) (*types.Transaction, error)

SetLag is a paid mutator transaction binding the contract method 0xe34e3800.

Solidity: function setLag(address newLagAddr) returns()

func (*PriceTransactorSession) Void

func (_Price *PriceTransactorSession) Void() (*types.Transaction, error)

Void is a paid mutator transaction binding the contract method 0xac4c25b2.

Solidity: function void() returns()

type StableCredit

type StableCredit struct {
	StableCreditCaller     // Read-only binding to the contract
	StableCreditTransactor // Write-only binding to the contract
	StableCreditFilterer   // Log filterer for contract events
}

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

func DeployStableCredit

func DeployStableCredit(auth *bind.TransactOpts, backend bind.ContractBackend, _peggedCurrency [32]byte, _creditOwner common.Address, _collateralAssetCode [32]byte, _collateralAddress common.Address, _code string, _peggedValue *big.Int, heartAddr common.Address) (common.Address, *types.Transaction, *StableCredit, error)

DeployStableCredit deploys a new Ethereum contract, binding an instance of StableCredit to it.

func NewStableCredit

func NewStableCredit(address common.Address, backend bind.ContractBackend) (*StableCredit, error)

NewStableCredit creates a new instance of StableCredit, bound to a specific deployed contract.

type StableCreditApproval

type StableCreditApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

StableCreditApproval represents a Approval event raised by the StableCredit contract.

type StableCreditApprovalIterator

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

StableCreditApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StableCredit contract.

func (*StableCreditApprovalIterator) Close

func (it *StableCreditApprovalIterator) Close() error

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

func (*StableCreditApprovalIterator) Error

func (it *StableCreditApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StableCreditApprovalIterator) Next

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

type StableCreditCaller

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

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

func NewStableCreditCaller

func NewStableCreditCaller(address common.Address, caller bind.ContractCaller) (*StableCreditCaller, error)

NewStableCreditCaller creates a new read-only instance of StableCredit, bound to a specific deployed contract.

func (*StableCreditCaller) Allowance

func (_StableCredit *StableCreditCaller) 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(address owner, address spender) constant returns(uint256)

func (*StableCreditCaller) AssetCode

func (_StableCredit *StableCreditCaller) AssetCode(opts *bind.CallOpts) (string, error)

AssetCode is a free data retrieval call binding the contract method 0x4e841e3e.

Solidity: function assetCode() constant returns(string)

func (*StableCreditCaller) BalanceOf

func (_StableCredit *StableCreditCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*StableCreditCaller) Collateral

func (_StableCredit *StableCreditCaller) Collateral(opts *bind.CallOpts) (common.Address, error)

Collateral is a free data retrieval call binding the contract method 0xd8dfeb45.

Solidity: function collateral() constant returns(address)

func (*StableCreditCaller) CollateralAssetCode

func (_StableCredit *StableCreditCaller) CollateralAssetCode(opts *bind.CallOpts) ([32]byte, error)

CollateralAssetCode is a free data retrieval call binding the contract method 0x5312424c.

Solidity: function collateralAssetCode() constant returns(bytes32)

func (*StableCreditCaller) CreditOwner

func (_StableCredit *StableCreditCaller) CreditOwner(opts *bind.CallOpts) (common.Address, error)

CreditOwner is a free data retrieval call binding the contract method 0x20dc407a.

Solidity: function creditOwner() constant returns(address)

func (*StableCreditCaller) Decimals

func (_StableCredit *StableCreditCaller) 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 (*StableCreditCaller) DrsAddress

func (_StableCredit *StableCreditCaller) DrsAddress(opts *bind.CallOpts) (common.Address, error)

DrsAddress is a free data retrieval call binding the contract method 0x1e2650de.

Solidity: function drsAddress() constant returns(address)

func (*StableCreditCaller) GetCollateralDetail

func (_StableCredit *StableCreditCaller) GetCollateralDetail(opts *bind.CallOpts) (*big.Int, common.Address, error)

GetCollateralDetail is a free data retrieval call binding the contract method 0x49bf0f2d.

Solidity: function getCollateralDetail() constant returns(uint256, address)

func (*StableCreditCaller) GetId

func (_StableCredit *StableCreditCaller) GetId(opts *bind.CallOpts) ([32]byte, error)

GetId is a free data retrieval call binding the contract method 0x5d1ca631.

Solidity: function getId() constant returns(bytes32)

func (*StableCreditCaller) Heart

func (_StableCredit *StableCreditCaller) Heart(opts *bind.CallOpts) (common.Address, error)

Heart is a free data retrieval call binding the contract method 0xf58d1c94.

Solidity: function heart() constant returns(address)

func (*StableCreditCaller) Name

func (_StableCredit *StableCreditCaller) 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 (*StableCreditCaller) PeggedCurrency

func (_StableCredit *StableCreditCaller) PeggedCurrency(opts *bind.CallOpts) ([32]byte, error)

PeggedCurrency is a free data retrieval call binding the contract method 0xaefee60e.

Solidity: function peggedCurrency() constant returns(bytes32)

func (*StableCreditCaller) PeggedValue

func (_StableCredit *StableCreditCaller) PeggedValue(opts *bind.CallOpts) (*big.Int, error)

PeggedValue is a free data retrieval call binding the contract method 0x3cf252a9.

Solidity: function peggedValue() constant returns(uint256)

func (*StableCreditCaller) Symbol

func (_StableCredit *StableCreditCaller) 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 (*StableCreditCaller) TotalSupply

func (_StableCredit *StableCreditCaller) 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 StableCreditCallerRaw

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

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

func (*StableCreditCallerRaw) Call

func (_StableCredit *StableCreditCallerRaw) 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 StableCreditCallerSession

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

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

func (*StableCreditCallerSession) Allowance

func (_StableCredit *StableCreditCallerSession) 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(address owner, address spender) constant returns(uint256)

func (*StableCreditCallerSession) AssetCode

func (_StableCredit *StableCreditCallerSession) AssetCode() (string, error)

AssetCode is a free data retrieval call binding the contract method 0x4e841e3e.

Solidity: function assetCode() constant returns(string)

func (*StableCreditCallerSession) BalanceOf

func (_StableCredit *StableCreditCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*StableCreditCallerSession) Collateral

func (_StableCredit *StableCreditCallerSession) Collateral() (common.Address, error)

Collateral is a free data retrieval call binding the contract method 0xd8dfeb45.

Solidity: function collateral() constant returns(address)

func (*StableCreditCallerSession) CollateralAssetCode

func (_StableCredit *StableCreditCallerSession) CollateralAssetCode() ([32]byte, error)

CollateralAssetCode is a free data retrieval call binding the contract method 0x5312424c.

Solidity: function collateralAssetCode() constant returns(bytes32)

func (*StableCreditCallerSession) CreditOwner

func (_StableCredit *StableCreditCallerSession) CreditOwner() (common.Address, error)

CreditOwner is a free data retrieval call binding the contract method 0x20dc407a.

Solidity: function creditOwner() constant returns(address)

func (*StableCreditCallerSession) Decimals

func (_StableCredit *StableCreditCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*StableCreditCallerSession) DrsAddress

func (_StableCredit *StableCreditCallerSession) DrsAddress() (common.Address, error)

DrsAddress is a free data retrieval call binding the contract method 0x1e2650de.

Solidity: function drsAddress() constant returns(address)

func (*StableCreditCallerSession) GetCollateralDetail

func (_StableCredit *StableCreditCallerSession) GetCollateralDetail() (*big.Int, common.Address, error)

GetCollateralDetail is a free data retrieval call binding the contract method 0x49bf0f2d.

Solidity: function getCollateralDetail() constant returns(uint256, address)

func (*StableCreditCallerSession) GetId

func (_StableCredit *StableCreditCallerSession) GetId() ([32]byte, error)

GetId is a free data retrieval call binding the contract method 0x5d1ca631.

Solidity: function getId() constant returns(bytes32)

func (*StableCreditCallerSession) Heart

func (_StableCredit *StableCreditCallerSession) Heart() (common.Address, error)

Heart is a free data retrieval call binding the contract method 0xf58d1c94.

Solidity: function heart() constant returns(address)

func (*StableCreditCallerSession) Name

func (_StableCredit *StableCreditCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*StableCreditCallerSession) PeggedCurrency

func (_StableCredit *StableCreditCallerSession) PeggedCurrency() ([32]byte, error)

PeggedCurrency is a free data retrieval call binding the contract method 0xaefee60e.

Solidity: function peggedCurrency() constant returns(bytes32)

func (*StableCreditCallerSession) PeggedValue

func (_StableCredit *StableCreditCallerSession) PeggedValue() (*big.Int, error)

PeggedValue is a free data retrieval call binding the contract method 0x3cf252a9.

Solidity: function peggedValue() constant returns(uint256)

func (*StableCreditCallerSession) Symbol

func (_StableCredit *StableCreditCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*StableCreditCallerSession) TotalSupply

func (_StableCredit *StableCreditCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type StableCreditFilterer

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

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

func NewStableCreditFilterer

func NewStableCreditFilterer(address common.Address, filterer bind.ContractFilterer) (*StableCreditFilterer, error)

NewStableCreditFilterer creates a new log filterer instance of StableCredit, bound to a specific deployed contract.

func (*StableCreditFilterer) FilterApproval

func (_StableCredit *StableCreditFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StableCreditApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*StableCreditFilterer) FilterTransfer

func (_StableCredit *StableCreditFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StableCreditTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*StableCreditFilterer) ParseApproval

func (_StableCredit *StableCreditFilterer) ParseApproval(log types.Log) (*StableCreditApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*StableCreditFilterer) ParseTransfer

func (_StableCredit *StableCreditFilterer) ParseTransfer(log types.Log) (*StableCreditTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*StableCreditFilterer) WatchApproval

func (_StableCredit *StableCreditFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StableCreditApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*StableCreditFilterer) WatchTransfer

func (_StableCredit *StableCreditFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StableCreditTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type StableCreditRaw

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

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

func (*StableCreditRaw) Call

func (_StableCredit *StableCreditRaw) 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 (*StableCreditRaw) Transact

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

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

func (*StableCreditRaw) Transfer

func (_StableCredit *StableCreditRaw) 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 StableCreditSession

type StableCreditSession struct {
	Contract     *StableCredit     // 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
}

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

func (*StableCreditSession) Allowance

func (_StableCredit *StableCreditSession) 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(address owner, address spender) constant returns(uint256)

func (*StableCreditSession) Approve

func (_StableCredit *StableCreditSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*StableCreditSession) ApproveCollateral

func (_StableCredit *StableCreditSession) ApproveCollateral() (*types.Transaction, error)

ApproveCollateral is a paid mutator transaction binding the contract method 0x2664ecf9.

Solidity: function approveCollateral() returns()

func (*StableCreditSession) AssetCode

func (_StableCredit *StableCreditSession) AssetCode() (string, error)

AssetCode is a free data retrieval call binding the contract method 0x4e841e3e.

Solidity: function assetCode() constant returns(string)

func (*StableCreditSession) BalanceOf

func (_StableCredit *StableCreditSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*StableCreditSession) Burn

func (_StableCredit *StableCreditSession) Burn(tokenOwner common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address tokenOwner, uint256 amount) returns()

func (*StableCreditSession) Collateral

func (_StableCredit *StableCreditSession) Collateral() (common.Address, error)

Collateral is a free data retrieval call binding the contract method 0xd8dfeb45.

Solidity: function collateral() constant returns(address)

func (*StableCreditSession) CollateralAssetCode

func (_StableCredit *StableCreditSession) CollateralAssetCode() ([32]byte, error)

CollateralAssetCode is a free data retrieval call binding the contract method 0x5312424c.

Solidity: function collateralAssetCode() constant returns(bytes32)

func (*StableCreditSession) CreditOwner

func (_StableCredit *StableCreditSession) CreditOwner() (common.Address, error)

CreditOwner is a free data retrieval call binding the contract method 0x20dc407a.

Solidity: function creditOwner() constant returns(address)

func (*StableCreditSession) Decimals

func (_StableCredit *StableCreditSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*StableCreditSession) DecreaseAllowance

func (_StableCredit *StableCreditSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*StableCreditSession) DrsAddress

func (_StableCredit *StableCreditSession) DrsAddress() (common.Address, error)

DrsAddress is a free data retrieval call binding the contract method 0x1e2650de.

Solidity: function drsAddress() constant returns(address)

func (*StableCreditSession) GetCollateralDetail

func (_StableCredit *StableCreditSession) GetCollateralDetail() (*big.Int, common.Address, error)

GetCollateralDetail is a free data retrieval call binding the contract method 0x49bf0f2d.

Solidity: function getCollateralDetail() constant returns(uint256, address)

func (*StableCreditSession) GetId

func (_StableCredit *StableCreditSession) GetId() ([32]byte, error)

GetId is a free data retrieval call binding the contract method 0x5d1ca631.

Solidity: function getId() constant returns(bytes32)

func (*StableCreditSession) Heart

func (_StableCredit *StableCreditSession) Heart() (common.Address, error)

Heart is a free data retrieval call binding the contract method 0xf58d1c94.

Solidity: function heart() constant returns(address)

func (*StableCreditSession) IncreaseAllowance

func (_StableCredit *StableCreditSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*StableCreditSession) Mint

func (_StableCredit *StableCreditSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address recipient, uint256 amount) returns()

func (*StableCreditSession) Name

func (_StableCredit *StableCreditSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*StableCreditSession) PeggedCurrency

func (_StableCredit *StableCreditSession) PeggedCurrency() ([32]byte, error)

PeggedCurrency is a free data retrieval call binding the contract method 0xaefee60e.

Solidity: function peggedCurrency() constant returns(bytes32)

func (*StableCreditSession) PeggedValue

func (_StableCredit *StableCreditSession) PeggedValue() (*big.Int, error)

PeggedValue is a free data retrieval call binding the contract method 0x3cf252a9.

Solidity: function peggedValue() constant returns(uint256)

func (*StableCreditSession) Redeem

func (_StableCredit *StableCreditSession) Redeem(redeemer common.Address, burnAmount *big.Int, returnAmount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x2b83cccd.

Solidity: function redeem(address redeemer, uint256 burnAmount, uint256 returnAmount) returns()

func (*StableCreditSession) Symbol

func (_StableCredit *StableCreditSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*StableCreditSession) TotalSupply

func (_StableCredit *StableCreditSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*StableCreditSession) Transfer

func (_StableCredit *StableCreditSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*StableCreditSession) TransferCollateralToReserve

func (_StableCredit *StableCreditSession) TransferCollateralToReserve(amount *big.Int) (*types.Transaction, error)

TransferCollateralToReserve is a paid mutator transaction binding the contract method 0x83044595.

Solidity: function transferCollateralToReserve(uint256 amount) returns(bool)

func (*StableCreditSession) TransferFrom

func (_StableCredit *StableCreditSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type StableCreditTransactor

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

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

func NewStableCreditTransactor

func NewStableCreditTransactor(address common.Address, transactor bind.ContractTransactor) (*StableCreditTransactor, error)

NewStableCreditTransactor creates a new write-only instance of StableCredit, bound to a specific deployed contract.

func (*StableCreditTransactor) Approve

func (_StableCredit *StableCreditTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*StableCreditTransactor) ApproveCollateral

func (_StableCredit *StableCreditTransactor) ApproveCollateral(opts *bind.TransactOpts) (*types.Transaction, error)

ApproveCollateral is a paid mutator transaction binding the contract method 0x2664ecf9.

Solidity: function approveCollateral() returns()

func (*StableCreditTransactor) Burn

func (_StableCredit *StableCreditTransactor) Burn(opts *bind.TransactOpts, tokenOwner common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address tokenOwner, uint256 amount) returns()

func (*StableCreditTransactor) DecreaseAllowance

func (_StableCredit *StableCreditTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*StableCreditTransactor) IncreaseAllowance

func (_StableCredit *StableCreditTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*StableCreditTransactor) Mint

func (_StableCredit *StableCreditTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address recipient, uint256 amount) returns()

func (*StableCreditTransactor) Redeem

func (_StableCredit *StableCreditTransactor) Redeem(opts *bind.TransactOpts, redeemer common.Address, burnAmount *big.Int, returnAmount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x2b83cccd.

Solidity: function redeem(address redeemer, uint256 burnAmount, uint256 returnAmount) returns()

func (*StableCreditTransactor) Transfer

func (_StableCredit *StableCreditTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*StableCreditTransactor) TransferCollateralToReserve

func (_StableCredit *StableCreditTransactor) TransferCollateralToReserve(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

TransferCollateralToReserve is a paid mutator transaction binding the contract method 0x83044595.

Solidity: function transferCollateralToReserve(uint256 amount) returns(bool)

func (*StableCreditTransactor) TransferFrom

func (_StableCredit *StableCreditTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type StableCreditTransactorRaw

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

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

func (*StableCreditTransactorRaw) Transact

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

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

func (*StableCreditTransactorRaw) Transfer

func (_StableCredit *StableCreditTransactorRaw) 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 StableCreditTransactorSession

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

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

func (*StableCreditTransactorSession) Approve

func (_StableCredit *StableCreditTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*StableCreditTransactorSession) ApproveCollateral

func (_StableCredit *StableCreditTransactorSession) ApproveCollateral() (*types.Transaction, error)

ApproveCollateral is a paid mutator transaction binding the contract method 0x2664ecf9.

Solidity: function approveCollateral() returns()

func (*StableCreditTransactorSession) Burn

func (_StableCredit *StableCreditTransactorSession) Burn(tokenOwner common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address tokenOwner, uint256 amount) returns()

func (*StableCreditTransactorSession) DecreaseAllowance

func (_StableCredit *StableCreditTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*StableCreditTransactorSession) IncreaseAllowance

func (_StableCredit *StableCreditTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*StableCreditTransactorSession) Mint

func (_StableCredit *StableCreditTransactorSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address recipient, uint256 amount) returns()

func (*StableCreditTransactorSession) Redeem

func (_StableCredit *StableCreditTransactorSession) Redeem(redeemer common.Address, burnAmount *big.Int, returnAmount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x2b83cccd.

Solidity: function redeem(address redeemer, uint256 burnAmount, uint256 returnAmount) returns()

func (*StableCreditTransactorSession) Transfer

func (_StableCredit *StableCreditTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*StableCreditTransactorSession) TransferCollateralToReserve

func (_StableCredit *StableCreditTransactorSession) TransferCollateralToReserve(amount *big.Int) (*types.Transaction, error)

TransferCollateralToReserve is a paid mutator transaction binding the contract method 0x83044595.

Solidity: function transferCollateralToReserve(uint256 amount) returns(bool)

func (*StableCreditTransactorSession) TransferFrom

func (_StableCredit *StableCreditTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type StableCreditTransfer

type StableCreditTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

StableCreditTransfer represents a Transfer event raised by the StableCredit contract.

type StableCreditTransferIterator

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

StableCreditTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StableCredit contract.

func (*StableCreditTransferIterator) Close

func (it *StableCreditTransferIterator) Close() error

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

func (*StableCreditTransferIterator) Error

func (it *StableCreditTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StableCreditTransferIterator) Next

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

type Token

type Token struct {
	TokenCaller     // Read-only binding to the contract
	TokenTransactor // Write-only binding to the contract
	TokenFilterer   // Log filterer for contract events
}

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

func DeployToken

func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _code string, _decimals uint8) (common.Address, *types.Transaction, *Token, error)

DeployToken deploys a new Ethereum contract, binding an instance of Token to it.

func NewToken

func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error)

NewToken creates a new instance of Token, bound to a specific deployed contract.

type TokenApproval

type TokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TokenApproval represents a Approval event raised by the Token contract.

type TokenApprovalIterator

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

TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.

func (*TokenApprovalIterator) Close

func (it *TokenApprovalIterator) Close() error

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

func (*TokenApprovalIterator) Error

func (it *TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenApprovalIterator) Next

func (it *TokenApprovalIterator) Next() bool

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

type TokenCaller

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

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

func NewTokenCaller

func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)

NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.

func (*TokenCaller) Allowance

func (_Token *TokenCaller) 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(address owner, address spender) constant returns(uint256)

func (*TokenCaller) BalanceOf

func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*TokenCaller) Decimals

func (_Token *TokenCaller) 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 (*TokenCaller) IsWhitelistAdmin

func (_Token *TokenCaller) IsWhitelistAdmin(opts *bind.CallOpts, account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) constant returns(bool)

func (*TokenCaller) Name

func (_Token *TokenCaller) 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 (*TokenCaller) Symbol

func (_Token *TokenCaller) 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 (*TokenCaller) TotalSupply

func (_Token *TokenCaller) 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 TokenCallerRaw

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

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

func (*TokenCallerRaw) Call

func (_Token *TokenCallerRaw) 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 TokenCallerSession

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

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

func (*TokenCallerSession) Allowance

func (_Token *TokenCallerSession) 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(address owner, address spender) constant returns(uint256)

func (*TokenCallerSession) BalanceOf

func (_Token *TokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*TokenCallerSession) Decimals

func (_Token *TokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*TokenCallerSession) IsWhitelistAdmin

func (_Token *TokenCallerSession) IsWhitelistAdmin(account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) constant returns(bool)

func (*TokenCallerSession) Name

func (_Token *TokenCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TokenCallerSession) Symbol

func (_Token *TokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*TokenCallerSession) TotalSupply

func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type TokenFilterer

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

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

func NewTokenFilterer

func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)

NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.

func (*TokenFilterer) FilterApproval

func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*TokenFilterer) FilterTransfer

func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokenFilterer) FilterWhitelistAdminAdded

func (_Token *TokenFilterer) FilterWhitelistAdminAdded(opts *bind.FilterOpts, account []common.Address) (*TokenWhitelistAdminAddedIterator, error)

FilterWhitelistAdminAdded is a free log retrieval operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*TokenFilterer) FilterWhitelistAdminRemoved

func (_Token *TokenFilterer) FilterWhitelistAdminRemoved(opts *bind.FilterOpts, account []common.Address) (*TokenWhitelistAdminRemovedIterator, error)

FilterWhitelistAdminRemoved is a free log retrieval operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

func (*TokenFilterer) ParseApproval

func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*TokenFilterer) ParseTransfer

func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokenFilterer) ParseWhitelistAdminAdded

func (_Token *TokenFilterer) ParseWhitelistAdminAdded(log types.Log) (*TokenWhitelistAdminAdded, error)

ParseWhitelistAdminAdded is a log parse operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*TokenFilterer) ParseWhitelistAdminRemoved

func (_Token *TokenFilterer) ParseWhitelistAdminRemoved(log types.Log) (*TokenWhitelistAdminRemoved, error)

ParseWhitelistAdminRemoved is a log parse operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

func (*TokenFilterer) WatchApproval

func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*TokenFilterer) WatchTransfer

func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokenFilterer) WatchWhitelistAdminAdded

func (_Token *TokenFilterer) WatchWhitelistAdminAdded(opts *bind.WatchOpts, sink chan<- *TokenWhitelistAdminAdded, account []common.Address) (event.Subscription, error)

WatchWhitelistAdminAdded is a free log subscription operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*TokenFilterer) WatchWhitelistAdminRemoved

func (_Token *TokenFilterer) WatchWhitelistAdminRemoved(opts *bind.WatchOpts, sink chan<- *TokenWhitelistAdminRemoved, account []common.Address) (event.Subscription, error)

WatchWhitelistAdminRemoved is a free log subscription operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

type TokenRaw

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

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

func (*TokenRaw) Call

func (_Token *TokenRaw) 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 (*TokenRaw) Transact

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

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

func (*TokenRaw) Transfer

func (_Token *TokenRaw) 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 TokenSession

type TokenSession struct {
	Contract     *Token            // 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
}

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

func (*TokenSession) AddWhitelistAdmin

func (_Token *TokenSession) AddWhitelistAdmin(account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*TokenSession) Allowance

func (_Token *TokenSession) 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(address owner, address spender) constant returns(uint256)

func (*TokenSession) Approve

func (_Token *TokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*TokenSession) BalanceOf

func (_Token *TokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*TokenSession) Burn

func (_Token *TokenSession) Burn(tokenOwner common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address tokenOwner, uint256 amount) returns()

func (*TokenSession) Decimals

func (_Token *TokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*TokenSession) DecreaseAllowance

func (_Token *TokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenSession) IncreaseAllowance

func (_Token *TokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*TokenSession) IsWhitelistAdmin

func (_Token *TokenSession) IsWhitelistAdmin(account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) constant returns(bool)

func (*TokenSession) Mint

func (_Token *TokenSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address recipient, uint256 amount) returns()

func (*TokenSession) Name

func (_Token *TokenSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TokenSession) RenounceWhitelistAdmin

func (_Token *TokenSession) RenounceWhitelistAdmin() (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*TokenSession) Symbol

func (_Token *TokenSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*TokenSession) TotalSupply

func (_Token *TokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*TokenSession) Transfer

func (_Token *TokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*TokenSession) TransferFrom

func (_Token *TokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type TokenTransactor

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

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

func NewTokenTransactor

func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)

NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.

func (*TokenTransactor) AddWhitelistAdmin

func (_Token *TokenTransactor) AddWhitelistAdmin(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*TokenTransactor) Approve

func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*TokenTransactor) Burn

func (_Token *TokenTransactor) Burn(opts *bind.TransactOpts, tokenOwner common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address tokenOwner, uint256 amount) returns()

func (*TokenTransactor) DecreaseAllowance

func (_Token *TokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenTransactor) IncreaseAllowance

func (_Token *TokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*TokenTransactor) Mint

func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address recipient, uint256 amount) returns()

func (*TokenTransactor) RenounceWhitelistAdmin

func (_Token *TokenTransactor) RenounceWhitelistAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*TokenTransactor) Transfer

func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*TokenTransactor) TransferFrom

func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type TokenTransactorRaw

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

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

func (*TokenTransactorRaw) Transact

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

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

func (*TokenTransactorRaw) Transfer

func (_Token *TokenTransactorRaw) 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 TokenTransactorSession

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

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

func (*TokenTransactorSession) AddWhitelistAdmin

func (_Token *TokenTransactorSession) AddWhitelistAdmin(account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*TokenTransactorSession) Approve

func (_Token *TokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*TokenTransactorSession) Burn

func (_Token *TokenTransactorSession) Burn(tokenOwner common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address tokenOwner, uint256 amount) returns()

func (*TokenTransactorSession) DecreaseAllowance

func (_Token *TokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenTransactorSession) IncreaseAllowance

func (_Token *TokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*TokenTransactorSession) Mint

func (_Token *TokenTransactorSession) Mint(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address recipient, uint256 amount) returns()

func (*TokenTransactorSession) RenounceWhitelistAdmin

func (_Token *TokenTransactorSession) RenounceWhitelistAdmin() (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*TokenTransactorSession) Transfer

func (_Token *TokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*TokenTransactorSession) TransferFrom

func (_Token *TokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type TokenTransfer

type TokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

TokenTransfer represents a Transfer event raised by the Token contract.

type TokenTransferIterator

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

TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.

func (*TokenTransferIterator) Close

func (it *TokenTransferIterator) Close() error

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

func (*TokenTransferIterator) Error

func (it *TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTransferIterator) Next

func (it *TokenTransferIterator) Next() bool

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

type TokenWhitelistAdminAdded

type TokenWhitelistAdminAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TokenWhitelistAdminAdded represents a WhitelistAdminAdded event raised by the Token contract.

type TokenWhitelistAdminAddedIterator

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

TokenWhitelistAdminAddedIterator is returned from FilterWhitelistAdminAdded and is used to iterate over the raw logs and unpacked data for WhitelistAdminAdded events raised by the Token contract.

func (*TokenWhitelistAdminAddedIterator) Close

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

func (*TokenWhitelistAdminAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWhitelistAdminAddedIterator) Next

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

type TokenWhitelistAdminRemoved

type TokenWhitelistAdminRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TokenWhitelistAdminRemoved represents a WhitelistAdminRemoved event raised by the Token contract.

type TokenWhitelistAdminRemovedIterator

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

TokenWhitelistAdminRemovedIterator is returned from FilterWhitelistAdminRemoved and is used to iterate over the raw logs and unpacked data for WhitelistAdminRemoved events raised by the Token contract.

func (*TokenWhitelistAdminRemovedIterator) Close

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

func (*TokenWhitelistAdminRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWhitelistAdminRemovedIterator) Next

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

Jump to

Keyboard shortcuts

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