directpaymentrequest

package
v0.0.0-...-a50b575 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2017 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const RequestContractABI = "" /* 3307-byte string literal not displayed */

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

View Source
const RequestContractBin = `` /* 17276-byte string literal not displayed */

RequestContractBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestContract

type RequestContract struct {
	RequestContractCaller     // Read-only binding to the contract
	RequestContractTransactor // Write-only binding to the contract
}

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

func DeployRequestContract

func DeployRequestContract(auth *bind.TransactOpts, backend bind.ContractBackend, _contributionCodes []uint16, _remark string, _rbacAddress common.Address, _gves []uint32, _amountPreviousYear *big.Int) (common.Address, *types.Transaction, *RequestContract, error)

DeployRequestContract deploys a new Ethereum contract, binding an instance of RequestContract to it.

func NewRequestContract

func NewRequestContract(address common.Address, backend bind.ContractBackend) (*RequestContract, error)

NewRequestContract creates a new instance of RequestContract, bound to a specific deployed contract.

type RequestContractCaller

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

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

func NewRequestContractCaller

func NewRequestContractCaller(address common.Address, caller bind.ContractCaller) (*RequestContractCaller, error)

NewRequestContractCaller creates a new read-only instance of RequestContract, bound to a specific deployed contract.

func (*RequestContractCaller) AmountPreviousYear

func (_RequestContract *RequestContractCaller) AmountPreviousYear(opts *bind.CallOpts) (*big.Int, error)

AmountPreviousYear is a free data retrieval call binding the contract method 0xce30ce4b.

Solidity: function amountPreviousYear() constant returns(uint256)

func (*RequestContractCaller) ContributionCodes

func (_RequestContract *RequestContractCaller) ContributionCodes(opts *bind.CallOpts, arg0 *big.Int) (uint16, error)

ContributionCodes is a free data retrieval call binding the contract method 0x9b5d25d9.

Solidity: function contributionCodes( uint256) constant returns(uint16)

func (*RequestContractCaller) Created

func (_RequestContract *RequestContractCaller) Created(opts *bind.CallOpts) (*big.Int, error)

Created is a free data retrieval call binding the contract method 0x325a19f1.

Solidity: function created() constant returns(uint256)

func (*RequestContractCaller) GetFinalPaymentAmount

func (_RequestContract *RequestContractCaller) GetFinalPaymentAmount(opts *bind.CallOpts) (*big.Int, error)

GetFinalPaymentAmount is a free data retrieval call binding the contract method 0x4f3ded8a.

Solidity: function getFinalPaymentAmount() constant returns(uint256)

func (*RequestContractCaller) GetFirstPaymentAmount

func (_RequestContract *RequestContractCaller) GetFirstPaymentAmount(opts *bind.CallOpts) (*big.Int, error)

GetFirstPaymentAmount is a free data retrieval call binding the contract method 0xe0f8c670.

Solidity: function getFirstPaymentAmount() constant returns(uint256)

func (*RequestContractCaller) InspectorAddress

func (_RequestContract *RequestContractCaller) InspectorAddress(opts *bind.CallOpts) (common.Address, error)

InspectorAddress is a free data retrieval call binding the contract method 0x696f8c57.

Solidity: function inspectorAddress() constant returns(address)

func (*RequestContractCaller) Lacks

func (_RequestContract *RequestContractCaller) Lacks(opts *bind.CallOpts, arg0 *big.Int) (struct {
	ContributionCode  uint16
	ControlCategoryId int64
	PointGroupCode    uint16
	ControlPointId    int64
	LackId            int64
	Points            uint8
}, error)

Lacks is a free data retrieval call binding the contract method 0x0478e042.

Solidity: function lacks( uint256) constant returns(contributionCode uint16, controlCategoryId int64, pointGroupCode uint16, controlPointId int64, lackId int64, points uint8)

func (*RequestContractCaller) Modified

func (_RequestContract *RequestContractCaller) Modified(opts *bind.CallOpts) (*big.Int, error)

Modified is a free data retrieval call binding the contract method 0x45ecd3d7.

Solidity: function modified() constant returns(uint256)

func (*RequestContractCaller) NumLacks

func (_RequestContract *RequestContractCaller) NumLacks(opts *bind.CallOpts) (*big.Int, error)

NumLacks is a free data retrieval call binding the contract method 0x55bcbf57.

Solidity: function numLacks() constant returns(uint256)

func (*RequestContractCaller) PointGroups

func (_RequestContract *RequestContractCaller) PointGroups(opts *bind.CallOpts, arg0 uint16) (struct {
	Gve           uint32
	BtsPoints     uint16
	BtsTotal      *big.Int
	BtsDeduction  *big.Int
	RausPoints    uint16
	RausTotal     *big.Int
	RausDeduction *big.Int
}, error)

PointGroups is a free data retrieval call binding the contract method 0x7184f725.

Solidity: function pointGroups( uint16) constant returns(gve uint32, btsPoints uint16, btsTotal uint256, btsDeduction uint256, rausPoints uint16, rausTotal uint256, rausDeduction uint256)

func (*RequestContractCaller) Remark

func (_RequestContract *RequestContractCaller) Remark(opts *bind.CallOpts) (string, error)

Remark is a free data retrieval call binding the contract method 0xa47d1f5e.

Solidity: function remark() constant returns(string)

type RequestContractCallerRaw

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

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

func (*RequestContractCallerRaw) Call

func (_RequestContract *RequestContractCallerRaw) 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 RequestContractCallerSession

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

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

func (*RequestContractCallerSession) AmountPreviousYear

func (_RequestContract *RequestContractCallerSession) AmountPreviousYear() (*big.Int, error)

AmountPreviousYear is a free data retrieval call binding the contract method 0xce30ce4b.

Solidity: function amountPreviousYear() constant returns(uint256)

func (*RequestContractCallerSession) ContributionCodes

func (_RequestContract *RequestContractCallerSession) ContributionCodes(arg0 *big.Int) (uint16, error)

ContributionCodes is a free data retrieval call binding the contract method 0x9b5d25d9.

Solidity: function contributionCodes( uint256) constant returns(uint16)

func (*RequestContractCallerSession) Created

func (_RequestContract *RequestContractCallerSession) Created() (*big.Int, error)

Created is a free data retrieval call binding the contract method 0x325a19f1.

Solidity: function created() constant returns(uint256)

func (*RequestContractCallerSession) GetFinalPaymentAmount

func (_RequestContract *RequestContractCallerSession) GetFinalPaymentAmount() (*big.Int, error)

GetFinalPaymentAmount is a free data retrieval call binding the contract method 0x4f3ded8a.

Solidity: function getFinalPaymentAmount() constant returns(uint256)

func (*RequestContractCallerSession) GetFirstPaymentAmount

func (_RequestContract *RequestContractCallerSession) GetFirstPaymentAmount() (*big.Int, error)

GetFirstPaymentAmount is a free data retrieval call binding the contract method 0xe0f8c670.

Solidity: function getFirstPaymentAmount() constant returns(uint256)

func (*RequestContractCallerSession) InspectorAddress

func (_RequestContract *RequestContractCallerSession) InspectorAddress() (common.Address, error)

InspectorAddress is a free data retrieval call binding the contract method 0x696f8c57.

Solidity: function inspectorAddress() constant returns(address)

func (*RequestContractCallerSession) Lacks

func (_RequestContract *RequestContractCallerSession) Lacks(arg0 *big.Int) (struct {
	ContributionCode  uint16
	ControlCategoryId int64
	PointGroupCode    uint16
	ControlPointId    int64
	LackId            int64
	Points            uint8
}, error)

Lacks is a free data retrieval call binding the contract method 0x0478e042.

Solidity: function lacks( uint256) constant returns(contributionCode uint16, controlCategoryId int64, pointGroupCode uint16, controlPointId int64, lackId int64, points uint8)

func (*RequestContractCallerSession) Modified

func (_RequestContract *RequestContractCallerSession) Modified() (*big.Int, error)

Modified is a free data retrieval call binding the contract method 0x45ecd3d7.

Solidity: function modified() constant returns(uint256)

func (*RequestContractCallerSession) NumLacks

func (_RequestContract *RequestContractCallerSession) NumLacks() (*big.Int, error)

NumLacks is a free data retrieval call binding the contract method 0x55bcbf57.

Solidity: function numLacks() constant returns(uint256)

func (*RequestContractCallerSession) PointGroups

func (_RequestContract *RequestContractCallerSession) PointGroups(arg0 uint16) (struct {
	Gve           uint32
	BtsPoints     uint16
	BtsTotal      *big.Int
	BtsDeduction  *big.Int
	RausPoints    uint16
	RausTotal     *big.Int
	RausDeduction *big.Int
}, error)

PointGroups is a free data retrieval call binding the contract method 0x7184f725.

Solidity: function pointGroups( uint16) constant returns(gve uint32, btsPoints uint16, btsTotal uint256, btsDeduction uint256, rausPoints uint16, rausTotal uint256, rausDeduction uint256)

func (*RequestContractCallerSession) Remark

func (_RequestContract *RequestContractCallerSession) Remark() (string, error)

Remark is a free data retrieval call binding the contract method 0xa47d1f5e.

Solidity: function remark() constant returns(string)

type RequestContractRaw

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

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

func (*RequestContractRaw) Call

func (_RequestContract *RequestContractRaw) 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 (*RequestContractRaw) Transact

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

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

func (*RequestContractRaw) Transfer

func (_RequestContract *RequestContractRaw) 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 RequestContractSession

type RequestContractSession struct {
	Contract     *RequestContract  // 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
}

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

func (*RequestContractSession) AddLacks

func (_RequestContract *RequestContractSession) AddLacks(_contributionCodes []uint16, _controlCategoryIds []int64, _pointGroupCodes []uint16, _controlPointIds []int64, _lackIds []int64, _points []uint8) (*types.Transaction, error)

AddLacks is a paid mutator transaction binding the contract method 0x38d1cc6a.

Solidity: function addLacks(_contributionCodes uint16[], _controlCategoryIds int64[], _pointGroupCodes uint16[], _controlPointIds int64[], _lackIds int64[], _points uint8[]) returns()

func (*RequestContractSession) AmountPreviousYear

func (_RequestContract *RequestContractSession) AmountPreviousYear() (*big.Int, error)

AmountPreviousYear is a free data retrieval call binding the contract method 0xce30ce4b.

Solidity: function amountPreviousYear() constant returns(uint256)

func (*RequestContractSession) ContributionCodes

func (_RequestContract *RequestContractSession) ContributionCodes(arg0 *big.Int) (uint16, error)

ContributionCodes is a free data retrieval call binding the contract method 0x9b5d25d9.

Solidity: function contributionCodes( uint256) constant returns(uint16)

func (*RequestContractSession) Created

func (_RequestContract *RequestContractSession) Created() (*big.Int, error)

Created is a free data retrieval call binding the contract method 0x325a19f1.

Solidity: function created() constant returns(uint256)

func (*RequestContractSession) GetFinalPaymentAmount

func (_RequestContract *RequestContractSession) GetFinalPaymentAmount() (*big.Int, error)

GetFinalPaymentAmount is a free data retrieval call binding the contract method 0x4f3ded8a.

Solidity: function getFinalPaymentAmount() constant returns(uint256)

func (*RequestContractSession) GetFirstPaymentAmount

func (_RequestContract *RequestContractSession) GetFirstPaymentAmount() (*big.Int, error)

GetFirstPaymentAmount is a free data retrieval call binding the contract method 0xe0f8c670.

Solidity: function getFirstPaymentAmount() constant returns(uint256)

func (*RequestContractSession) InspectorAddress

func (_RequestContract *RequestContractSession) InspectorAddress() (common.Address, error)

InspectorAddress is a free data retrieval call binding the contract method 0x696f8c57.

Solidity: function inspectorAddress() constant returns(address)

func (*RequestContractSession) Kill

func (_RequestContract *RequestContractSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*RequestContractSession) Lacks

func (_RequestContract *RequestContractSession) Lacks(arg0 *big.Int) (struct {
	ContributionCode  uint16
	ControlCategoryId int64
	PointGroupCode    uint16
	ControlPointId    int64
	LackId            int64
	Points            uint8
}, error)

Lacks is a free data retrieval call binding the contract method 0x0478e042.

Solidity: function lacks( uint256) constant returns(contributionCode uint16, controlCategoryId int64, pointGroupCode uint16, controlPointId int64, lackId int64, points uint8)

func (*RequestContractSession) Modified

func (_RequestContract *RequestContractSession) Modified() (*big.Int, error)

Modified is a free data retrieval call binding the contract method 0x45ecd3d7.

Solidity: function modified() constant returns(uint256)

func (*RequestContractSession) NumLacks

func (_RequestContract *RequestContractSession) NumLacks() (*big.Int, error)

NumLacks is a free data retrieval call binding the contract method 0x55bcbf57.

Solidity: function numLacks() constant returns(uint256)

func (*RequestContractSession) PointGroups

func (_RequestContract *RequestContractSession) PointGroups(arg0 uint16) (struct {
	Gve           uint32
	BtsPoints     uint16
	BtsTotal      *big.Int
	BtsDeduction  *big.Int
	RausPoints    uint16
	RausTotal     *big.Int
	RausDeduction *big.Int
}, error)

PointGroups is a free data retrieval call binding the contract method 0x7184f725.

Solidity: function pointGroups( uint16) constant returns(gve uint32, btsPoints uint16, btsTotal uint256, btsDeduction uint256, rausPoints uint16, rausTotal uint256, rausDeduction uint256)

func (*RequestContractSession) Remark

func (_RequestContract *RequestContractSession) Remark() (string, error)

Remark is a free data retrieval call binding the contract method 0xa47d1f5e.

Solidity: function remark() constant returns(string)

func (*RequestContractSession) SetInspectorId

func (_RequestContract *RequestContractSession) SetInspectorId(_inspectorAddress common.Address) (*types.Transaction, error)

SetInspectorId is a paid mutator transaction binding the contract method 0x021c7bd7.

Solidity: function setInspectorId(_inspectorAddress address) returns()

type RequestContractTransactor

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

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

func NewRequestContractTransactor

func NewRequestContractTransactor(address common.Address, transactor bind.ContractTransactor) (*RequestContractTransactor, error)

NewRequestContractTransactor creates a new write-only instance of RequestContract, bound to a specific deployed contract.

func (*RequestContractTransactor) AddLacks

func (_RequestContract *RequestContractTransactor) AddLacks(opts *bind.TransactOpts, _contributionCodes []uint16, _controlCategoryIds []int64, _pointGroupCodes []uint16, _controlPointIds []int64, _lackIds []int64, _points []uint8) (*types.Transaction, error)

AddLacks is a paid mutator transaction binding the contract method 0x38d1cc6a.

Solidity: function addLacks(_contributionCodes uint16[], _controlCategoryIds int64[], _pointGroupCodes uint16[], _controlPointIds int64[], _lackIds int64[], _points uint8[]) returns()

func (*RequestContractTransactor) Kill

func (_RequestContract *RequestContractTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*RequestContractTransactor) SetInspectorId

func (_RequestContract *RequestContractTransactor) SetInspectorId(opts *bind.TransactOpts, _inspectorAddress common.Address) (*types.Transaction, error)

SetInspectorId is a paid mutator transaction binding the contract method 0x021c7bd7.

Solidity: function setInspectorId(_inspectorAddress address) returns()

type RequestContractTransactorRaw

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

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

func (*RequestContractTransactorRaw) Transact

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

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

func (*RequestContractTransactorRaw) Transfer

func (_RequestContract *RequestContractTransactorRaw) 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 RequestContractTransactorSession

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

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

func (*RequestContractTransactorSession) AddLacks

func (_RequestContract *RequestContractTransactorSession) AddLacks(_contributionCodes []uint16, _controlCategoryIds []int64, _pointGroupCodes []uint16, _controlPointIds []int64, _lackIds []int64, _points []uint8) (*types.Transaction, error)

AddLacks is a paid mutator transaction binding the contract method 0x38d1cc6a.

Solidity: function addLacks(_contributionCodes uint16[], _controlCategoryIds int64[], _pointGroupCodes uint16[], _controlPointIds int64[], _lackIds int64[], _points uint8[]) returns()

func (*RequestContractTransactorSession) Kill

func (_RequestContract *RequestContractTransactorSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*RequestContractTransactorSession) SetInspectorId

func (_RequestContract *RequestContractTransactorSession) SetInspectorId(_inspectorAddress common.Address) (*types.Transaction, error)

SetInspectorId is a paid mutator transaction binding the contract method 0x021c7bd7.

Solidity: function setInspectorId(_inspectorAddress address) returns()

Jump to

Keyboard shortcuts

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