Documentation ¶
Index ¶
- Variables
- type Token
- type TokenApproval
- type TokenApprovalIterator
- type TokenCaller
- func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Token *TokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Token *TokenCaller) EscrowBalanceOf(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
- func (_Token *TokenCaller) GetControllerAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) Decimals() (uint8, error)
- func (_Token *TokenCallerSession) EscrowBalanceOf(_address common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) GetControllerAddress() (common.Address, error)
- func (_Token *TokenCallerSession) Name() (string, error)
- func (_Token *TokenCallerSession) Owner() (common.Address, error)
- func (_Token *TokenCallerSession) Paused() (bool, error)
- func (_Token *TokenCallerSession) Symbol() (string, error)
- func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
- type TokenFilterer
- func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)
- func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TokenOwnershipTransferredIterator, error)
- func (_Token *TokenFilterer) FilterPaused(opts *bind.FilterOpts) (*TokenPausedIterator, error)
- func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)
- func (_Token *TokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TokenUnpausedIterator, error)
- func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
- func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
- func (_Token *TokenFilterer) ParsePaused(log types.Log) (*TokenPaused, error)
- func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
- func (_Token *TokenFilterer) ParseUnpaused(log types.Log) (*TokenUnpaused, error)
- func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TokenPaused) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TokenUnpaused) (event.Subscription, error)
- type TokenOwnershipTransferred
- type TokenOwnershipTransferredIterator
- type TokenPaused
- type TokenPausedIterator
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenSession
- func (_Token *TokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Token *TokenSession) Decimals() (uint8, error)
- func (_Token *TokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) DisableChangeControllerAddress() (*types.Transaction, error)
- func (_Token *TokenSession) EscrowBalanceOf(_address common.Address) (*big.Int, error)
- func (_Token *TokenSession) GetControllerAddress() (common.Address, error)
- func (_Token *TokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Name() (string, error)
- func (_Token *TokenSession) Owner() (common.Address, error)
- func (_Token *TokenSession) Pause() (*types.Transaction, error)
- func (_Token *TokenSession) Paused() (bool, error)
- func (_Token *TokenSession) PayEscrow(amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) PayJob(fromAddress common.Address, toAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) RefundEscrow(toAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) SlashEscrow(slashedAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Symbol() (string, error)
- func (_Token *TokenSession) TotalSupply() (*big.Int, error)
- func (_Token *TokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) Unpause() (*types.Transaction, error)
- type TokenTransactor
- func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) DisableChangeControllerAddress(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) PayEscrow(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) PayJob(opts *bind.TransactOpts, fromAddress common.Address, toAddress common.Address, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) RefundEscrow(opts *bind.TransactOpts, toAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) SetControllerAddress(opts *bind.TransactOpts, _controllerAddress common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) SlashEscrow(opts *bind.TransactOpts, slashedAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenTransactorRaw
- type TokenTransactorSession
- func (_Token *TokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) DisableChangeControllerAddress() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Pause() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) PayEscrow(amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) PayJob(fromAddress common.Address, toAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RefundEscrow(toAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SlashEscrow(slashedAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Unpause() (*types.Transaction, error)
- type TokenTransfer
- type TokenTransferIterator
- type TokenUnpaused
- type TokenUnpausedIterator
Constants ¶
This section is empty.
Variables ¶
var TokenABI = TokenMetaData.ABI
TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.
var TokenBin = TokenMetaData.Bin
TokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TokenMetaData.Bin instead.
var TokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"initialSupply\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableChangeControllerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"escrowBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getControllerAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"payEscrow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"fromAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"payJob\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"refundEscrow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controllerAddress\",\"type\":\"address\"}],\"name\":\"setControllerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"slashedAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"slashEscrow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405260018060146101000a81548160ff0219169083151502179055503480156200002b57600080fd5b50604051620030703803806200307083398181016040528101906200005191906200058f565b82826200007362000067620000cf60201b60201c565b620000d760201b60201c565b81600590816200008491906200086a565b5080600690816200009691906200086a565b5050506000600760006101000a81548160ff021916908315150217905550620000c633826200019b60201b60201c565b50505062000b26565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200020d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200020490620009b2565b60405180910390fd5b62000221600083836200030960201b60201c565b806004600082825462000235919062000a03565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002e9919062000a71565b60405180910390a362000305600083836200032660201b60201c565b5050565b620003218383836200032b60201b62000e7c1760201c565b505050565b505050565b620003438383836200039b60201b62000ed41760201c565b62000353620003a060201b60201c565b1562000396576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200038d9062000b04565b60405180910390fd5b505050565b505050565b6000600760009054906101000a900460ff16905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200042082620003d5565b810181811067ffffffffffffffff82111715620004425762000441620003e6565b5b80604052505050565b600062000457620003b7565b905062000465828262000415565b919050565b600067ffffffffffffffff821115620004885762000487620003e6565b5b6200049382620003d5565b9050602081019050919050565b60005b83811015620004c0578082015181840152602081019050620004a3565b83811115620004d0576000848401525b50505050565b6000620004ed620004e7846200046a565b6200044b565b9050828152602081018484840111156200050c576200050b620003d0565b5b62000519848285620004a0565b509392505050565b600082601f830112620005395762000538620003cb565b5b81516200054b848260208601620004d6565b91505092915050565b6000819050919050565b620005698162000554565b81146200057557600080fd5b50565b60008151905062000589816200055e565b92915050565b600080600060608486031215620005ab57620005aa620003c1565b5b600084015167ffffffffffffffff811115620005cc57620005cb620003c6565b5b620005da8682870162000521565b935050602084015167ffffffffffffffff811115620005fe57620005fd620003c6565b5b6200060c8682870162000521565b92505060406200061f8682870162000578565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200067c57607f821691505b60208210810362000692576200069162000634565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006fc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006bd565b620007088683620006bd565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200074b620007456200073f8462000554565b62000720565b62000554565b9050919050565b6000819050919050565b62000767836200072a565b6200077f620007768262000752565b848454620006ca565b825550505050565b600090565b6200079662000787565b620007a38184846200075c565b505050565b5b81811015620007cb57620007bf6000826200078c565b600181019050620007a9565b5050565b601f8211156200081a57620007e48162000698565b620007ef84620006ad565b81016020851015620007ff578190505b620008176200080e85620006ad565b830182620007a8565b50505b505050565b600082821c905092915050565b60006200083f600019846008026200081f565b1980831691505092915050565b60006200085a83836200082c565b9150826002028217905092915050565b620008758262000629565b67ffffffffffffffff811115620008915762000890620003e6565b5b6200089d825462000663565b620008aa828285620007cf565b600060209050601f831160018114620008e25760008415620008cd578287015190505b620008d985826200084c565b86555062000949565b601f198416620008f28662000698565b60005b828110156200091c57848901518255600182019150602085019450602081019050620008f5565b868310156200093c578489015162000938601f8916826200082c565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006200099a601f8362000951565b9150620009a78262000962565b602082019050919050565b60006020820190508181036000830152620009cd816200098b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000a108262000554565b915062000a1d8362000554565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000a555762000a54620009d4565b5b828201905092915050565b62000a6b8162000554565b82525050565b600060208201905062000a88600083018462000a60565b92915050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600062000aec602a8362000951565b915062000af98262000a8e565b604082019050919050565b6000602082019050818103600083015262000b1f8162000add565b9050919050565b61253a8062000b366000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063715018a6116100de578063a457c2d711610097578063c57380a211610071578063c57380a214610464578063dd62ed3e14610482578063f2fde38b146104b2578063f3d3d448146104ce57610173565b8063a457c2d7146103fa578063a47029581461042a578063a9059cbb1461043457610173565b8063715018a61461034a5780638456cb591461035457806388c2bdfe1461035e5780638da5cb5b1461038e57806395d89b41146103ac578063987bf9a7146103ca57610173565b8063395093511161013057806339509351146102625780633f4ba83a146102925780635407e93c1461029c578063599efa6b146102cc5780635c975abb146102fc57806370a082311461031a57610173565b8063065e86c81461017857806306fdde03146101a8578063095ea7b3146101c657806318160ddd146101f657806323b872dd14610214578063313ce56714610244575b600080fd5b610192600480360381019061018d9190611828565b6104ea565b60405161019f9190611896565b60405180910390f35b6101b06105e3565b6040516101bd919061194a565b60405180910390f35b6101e060048036038101906101db919061196c565b610675565b6040516101ed9190611896565b60405180910390f35b6101fe610698565b60405161020b91906119bb565b60405180910390f35b61022e60048036038101906102299190611828565b6106a2565b60405161023b9190611896565b60405180910390f35b61024c6106d1565b60405161025991906119f2565b60405180910390f35b61027c6004803603810190610277919061196c565b6106da565b6040516102899190611896565b60405180910390f35b61029a610711565b005b6102b660048036038101906102b19190611a0d565b610723565b6040516102c39190611896565b60405180910390f35b6102e660048036038101906102e1919061196c565b61078f565b6040516102f39190611896565b60405180910390f35b6103046108f6565b6040516103119190611896565b60405180910390f35b610334600480360381019061032f9190611a3a565b61090d565b60405161034191906119bb565b60405180910390f35b610352610956565b005b61035c61096a565b005b6103786004803603810190610373919061196c565b61097c565b6040516103859190611896565b60405180910390f35b610396610a7b565b6040516103a39190611a76565b60405180910390f35b6103b4610aa4565b6040516103c1919061194a565b60405180910390f35b6103e460048036038101906103df9190611a3a565b610b36565b6040516103f191906119bb565b60405180910390f35b610414600480360381019061040f919061196c565b610b7f565b6040516104219190611896565b60405180910390f35b610432610bf6565b005b61044e6004803603810190610449919061196c565b610c1b565b60405161045b9190611896565b60405180910390f35b61046c610c3e565b6040516104799190611a76565b60405180910390f35b61049c60048036038101906104979190611a91565b610c68565b6040516104a991906119bb565b60405180910390f35b6104cc60048036038101906104c79190611a3a565b610cef565b005b6104e860048036038101906104e39190611a3a565b610d72565b005b60006104f4610ed9565b5081600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056e90611b43565b60405180910390fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546105c69190611b92565b925050819055506105d8308484611009565b600190509392505050565b6060600580546105f290611bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461061e90611bf5565b801561066b5780601f106106405761010080835404028352916020019161066b565b820191906000526020600020905b81548152906001019060200180831161064e57829003601f168201915b5050505050905090565b600080610680611282565b905061068d81858561128a565b600191505092915050565b6000600454905090565b6000806106ad611282565b90506106ba858285611453565b6106c5858585611009565b60019150509392505050565b60006012905090565b6000806106e5611282565b90506107068185856106f78589610c68565b6107019190611c26565b61128a565b600191505092915050565b6107196114df565b61072161155d565b565b6000610730323084611009565b81600860003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461077f9190611c26565b9250508190555060019050919050565b6000610799610ed9565b50600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080090611cee565b60405180910390fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561088b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088290611b43565b60405180910390fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108da9190611b92565b925050819055506108ec308484611009565b6001905092915050565b6000600760009054906101000a900460ff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61095e6114df565b61096860006115c0565b565b6109726114df565b61097a611684565b565b6000610986610ed9565b5081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090611b43565b60405180910390fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610a589190611b92565b92505081905550610a7130610a6b610a7b565b84611009565b6001905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060068054610ab390611bf5565b80601f0160208091040260200160405190810160405280929190818152602001828054610adf90611bf5565b8015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b5050505050905090565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080610b8a611282565b90506000610b988286610c68565b905083811015610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490611d80565b60405180910390fd5b610bea828686840361128a565b60019250505092915050565b610bfe6114df565b6000600160146101000a81548160ff021916908315150217905550565b600080610c26611282565b9050610c33818585611009565b600191505092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610cf76114df565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d90611e12565b60405180910390fd5b610d6f816115c0565b50565b610d7a6114df565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de090611ea4565b60405180910390fd5b600160149054906101000a900460ff16610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90611f36565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e87838383610ed4565b610e8f6108f6565b15610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690611fc8565b60405180910390fd5b505050565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6290611ea4565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610fac611282565b73ffffffffffffffffffffffffffffffffffffffff1614611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff99061205a565b60405180910390fd5b6001905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f906120ec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de9061217e565b60405180910390fd5b6110f28383836116e7565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117090612210565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161126991906119bb565b60405180910390a361127c8484846116f7565b50505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f0906122a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f90612334565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161144691906119bb565b60405180910390a3505050565b600061145f8484610c68565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114d957818110156114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c2906123a0565b60405180910390fd5b6114d8848484840361128a565b5b50505050565b6114e7611282565b73ffffffffffffffffffffffffffffffffffffffff16611505610a7b565b73ffffffffffffffffffffffffffffffffffffffff161461155b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115529061240c565b60405180910390fd5b565b6115656116fc565b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6115a9611282565b6040516115b69190611a76565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61168c611745565b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116d0611282565b6040516116dd9190611a76565b60405180910390a1565b6116f2838383610e7c565b505050565b505050565b6117046108f6565b611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a90612478565b60405180910390fd5b565b61174d6108f6565b1561178d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611784906124e4565b60405180910390fd5b565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006117bf82611794565b9050919050565b6117cf816117b4565b81146117da57600080fd5b50565b6000813590506117ec816117c6565b92915050565b6000819050919050565b611805816117f2565b811461181057600080fd5b50565b600081359050611822816117fc565b92915050565b6000806000606084860312156118415761184061178f565b5b600061184f868287016117dd565b9350506020611860868287016117dd565b925050604061187186828701611813565b9150509250925092565b60008115159050919050565b6118908161187b565b82525050565b60006020820190506118ab6000830184611887565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118eb5780820151818401526020810190506118d0565b838111156118fa576000848401525b50505050565b6000601f19601f8301169050919050565b600061191c826118b1565b61192681856118bc565b93506119368185602086016118cd565b61193f81611900565b840191505092915050565b600060208201905081810360008301526119648184611911565b905092915050565b600080604083850312156119835761198261178f565b5b6000611991858286016117dd565b92505060206119a285828601611813565b9150509250929050565b6119b5816117f2565b82525050565b60006020820190506119d060008301846119ac565b92915050565b600060ff82169050919050565b6119ec816119d6565b82525050565b6000602082019050611a0760008301846119e3565b92915050565b600060208284031215611a2357611a2261178f565b5b6000611a3184828501611813565b91505092915050565b600060208284031215611a5057611a4f61178f565b5b6000611a5e848285016117dd565b91505092915050565b611a70816117b4565b82525050565b6000602082019050611a8b6000830184611a67565b92915050565b60008060408385031215611aa857611aa761178f565b5b6000611ab6858286016117dd565b9250506020611ac7858286016117dd565b9150509250929050565b7f48697665546f6b656e3a206e6f7420656e6f7567682066756e647320696e206560008201527f7363726f77000000000000000000000000000000000000000000000000000000602082015250565b6000611b2d6025836118bc565b9150611b3882611ad1565b604082019050919050565b60006020820190508181036000830152611b5c81611b20565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611b9d826117f2565b9150611ba8836117f2565b925082821015611bbb57611bba611b63565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611c0d57607f821691505b602082108103611c2057611c1f611bc6565b5b50919050565b6000611c31826117f2565b9150611c3c836117f2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611c7157611c70611b63565b5b828201905092915050565b7f48697665546f6b656e3a20746f416464726573732063616e6e6f74206265207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000611cd8602b836118bc565b9150611ce382611c7c565b604082019050919050565b60006020820190508181036000830152611d0781611ccb565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611d6a6025836118bc565b9150611d7582611d0e565b604082019050919050565b60006020820190508181036000830152611d9981611d5d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611dfc6026836118bc565b9150611e0782611da0565b604082019050919050565b60006020820190508181036000830152611e2b81611def565b9050919050565b7f436f6e74726f6c6c65724f776e61626c653a20436f6e74726f6c6c657220616460008201527f6472657373206d75737420626520646566696e65640000000000000000000000602082015250565b6000611e8e6035836118bc565b9150611e9982611e32565b604082019050919050565b60006020820190508181036000830152611ebd81611e81565b9050919050565b7f436f6e74726f6c6c65724f776e61626c653a2063616e4368616e6765436f6e7460008201527f726f6c6c6572416464726573732069732064697361626c656400000000000000602082015250565b6000611f206039836118bc565b9150611f2b82611ec4565b604082019050919050565b60006020820190508181036000830152611f4f81611f13565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b6000611fb2602a836118bc565b9150611fbd82611f56565b604082019050919050565b60006020820190508181036000830152611fe181611fa5565b9050919050565b7f436f6e74726f6c6c65724f776e61626c653a204f6e6c792074686520636f6e7460008201527f726f6c6c65722063616e2063616c6c2074686973206d6574686f640000000000602082015250565b6000612044603b836118bc565b915061204f82611fe8565b604082019050919050565b6000602082019050818103600083015261207381612037565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006120d66025836118bc565b91506120e18261207a565b604082019050919050565b60006020820190508181036000830152612105816120c9565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006121686023836118bc565b91506121738261210c565b604082019050919050565b600060208201905081810360008301526121978161215b565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006121fa6026836118bc565b91506122058261219e565b604082019050919050565b60006020820190508181036000830152612229816121ed565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061228c6024836118bc565b915061229782612230565b604082019050919050565b600060208201905081810360008301526122bb8161227f565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061231e6022836118bc565b9150612329826122c2565b604082019050919050565b6000602082019050818103600083015261234d81612311565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061238a601d836118bc565b915061239582612354565b602082019050919050565b600060208201905081810360008301526123b98161237d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006123f66020836118bc565b9150612401826123c0565b602082019050919050565b60006020820190508181036000830152612425816123e9565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006124626014836118bc565b915061246d8261242c565b602082019050919050565b6000602082019050818103600083015261249181612455565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006124ce6010836118bc565b91506124d982612498565b602082019050919050565b600060208201905081810360008301526124fd816124c1565b905091905056fea264697066735822122029954c99cc81e8036c4745e04ea125684d6f8646ed8b1d46dbc7d18013747f4764736f6c634300080f0033",
}
TokenMetaData contains all meta data concerning the Token contract.
Functions ¶
This section is empty.
Types ¶
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, symbol string, initialSupply *big.Int) (common.Address, *types.Transaction, *Token, error)
DeployToken deploys a new Ethereum contract, binding an instance of Token to it.
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) view returns(uint256)
func (*TokenCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view 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() view returns(uint8)
func (*TokenCaller) EscrowBalanceOf ¶
func (_Token *TokenCaller) EscrowBalanceOf(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
EscrowBalanceOf is a free data retrieval call binding the contract method 0x987bf9a7.
Solidity: function escrowBalanceOf(address _address) view returns(uint256)
func (*TokenCaller) GetControllerAddress ¶
GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.
Solidity: function getControllerAddress() view returns(address)
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() view returns(string)
func (*TokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCaller) Paused ¶
func (_Token *TokenCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
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() view returns(string)
func (*TokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view 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) view returns(uint256)
func (*TokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view 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() view returns(uint8)
func (*TokenCallerSession) EscrowBalanceOf ¶
EscrowBalanceOf is a free data retrieval call binding the contract method 0x987bf9a7.
Solidity: function escrowBalanceOf(address _address) view returns(uint256)
func (*TokenCallerSession) GetControllerAddress ¶
func (_Token *TokenCallerSession) GetControllerAddress() (common.Address, error)
GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.
Solidity: function getControllerAddress() view returns(address)
func (*TokenCallerSession) Name ¶
func (_Token *TokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenCallerSession) Owner ¶
func (_Token *TokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCallerSession) Paused ¶
func (_Token *TokenCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*TokenCallerSession) Symbol ¶
func (_Token *TokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view 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() view 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) FilterOwnershipTransferred ¶
func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) FilterPaused ¶
func (_Token *TokenFilterer) FilterPaused(opts *bind.FilterOpts) (*TokenPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
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) FilterUnpaused ¶
func (_Token *TokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TokenUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address 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) ParseOwnershipTransferred ¶
func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) ParsePaused ¶
func (_Token *TokenFilterer) ParsePaused(log types.Log) (*TokenPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
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) ParseUnpaused ¶
func (_Token *TokenFilterer) ParseUnpaused(log types.Log) (*TokenUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address 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) WatchOwnershipTransferred ¶
func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) WatchPaused ¶
func (_Token *TokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TokenPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
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) WatchUnpaused ¶
func (_Token *TokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TokenUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type TokenOwnershipTransferred ¶
type TokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenOwnershipTransferred represents a OwnershipTransferred event raised by the Token contract.
type TokenOwnershipTransferredIterator ¶
type TokenOwnershipTransferredIterator struct { Event *TokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Token contract.
func (*TokenOwnershipTransferredIterator) Close ¶
func (it *TokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenOwnershipTransferredIterator) Error ¶
func (it *TokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenOwnershipTransferredIterator) Next ¶
func (it *TokenOwnershipTransferredIterator) 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 TokenPaused ¶
type TokenPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
TokenPaused represents a Paused event raised by the Token contract.
type TokenPausedIterator ¶
type TokenPausedIterator struct { Event *TokenPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Token contract.
func (*TokenPausedIterator) Close ¶
func (it *TokenPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenPausedIterator) Error ¶
func (it *TokenPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenPausedIterator) Next ¶
func (it *TokenPausedIterator) 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 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) 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) view 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 ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*TokenSession) Decimals ¶
func (_Token *TokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view 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) DisableChangeControllerAddress ¶
func (_Token *TokenSession) DisableChangeControllerAddress() (*types.Transaction, error)
DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.
Solidity: function disableChangeControllerAddress() returns()
func (*TokenSession) EscrowBalanceOf ¶
EscrowBalanceOf is a free data retrieval call binding the contract method 0x987bf9a7.
Solidity: function escrowBalanceOf(address _address) view returns(uint256)
func (*TokenSession) GetControllerAddress ¶
func (_Token *TokenSession) GetControllerAddress() (common.Address, error)
GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.
Solidity: function getControllerAddress() view returns(address)
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) Name ¶
func (_Token *TokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenSession) Owner ¶
func (_Token *TokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenSession) Pause ¶
func (_Token *TokenSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*TokenSession) Paused ¶
func (_Token *TokenSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*TokenSession) PayEscrow ¶
func (_Token *TokenSession) PayEscrow(amount *big.Int) (*types.Transaction, error)
PayEscrow is a paid mutator transaction binding the contract method 0x5407e93c.
Solidity: function payEscrow(uint256 amount) returns(bool)
func (*TokenSession) PayJob ¶
func (_Token *TokenSession) PayJob(fromAddress common.Address, toAddress common.Address, amount *big.Int) (*types.Transaction, error)
PayJob is a paid mutator transaction binding the contract method 0x065e86c8.
Solidity: function payJob(address fromAddress, address toAddress, uint256 amount) returns(bool)
func (*TokenSession) RefundEscrow ¶
func (_Token *TokenSession) RefundEscrow(toAddress common.Address, amount *big.Int) (*types.Transaction, error)
RefundEscrow is a paid mutator transaction binding the contract method 0x599efa6b.
Solidity: function refundEscrow(address toAddress, uint256 amount) returns(bool)
func (*TokenSession) RenounceOwnership ¶
func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenSession) SetControllerAddress ¶
func (_Token *TokenSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)
SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.
Solidity: function setControllerAddress(address _controllerAddress) returns()
func (*TokenSession) SlashEscrow ¶
func (_Token *TokenSession) SlashEscrow(slashedAddress common.Address, amount *big.Int) (*types.Transaction, error)
SlashEscrow is a paid mutator transaction binding the contract method 0x88c2bdfe.
Solidity: function slashEscrow(address slashedAddress, uint256 amount) returns(bool)
func (*TokenSession) Symbol ¶
func (_Token *TokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view 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() view returns(uint256)
func (*TokenSession) Transfer ¶
func (_Token *TokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*TokenSession) TransferFrom ¶
func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*TokenSession) TransferOwnership ¶
func (_Token *TokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*TokenSession) Unpause ¶
func (_Token *TokenSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
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) 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) 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) DisableChangeControllerAddress ¶
func (_Token *TokenTransactor) DisableChangeControllerAddress(opts *bind.TransactOpts) (*types.Transaction, error)
DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.
Solidity: function disableChangeControllerAddress() returns()
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) Pause ¶
func (_Token *TokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*TokenTransactor) PayEscrow ¶
func (_Token *TokenTransactor) PayEscrow(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
PayEscrow is a paid mutator transaction binding the contract method 0x5407e93c.
Solidity: function payEscrow(uint256 amount) returns(bool)
func (*TokenTransactor) PayJob ¶
func (_Token *TokenTransactor) PayJob(opts *bind.TransactOpts, fromAddress common.Address, toAddress common.Address, amount *big.Int) (*types.Transaction, error)
PayJob is a paid mutator transaction binding the contract method 0x065e86c8.
Solidity: function payJob(address fromAddress, address toAddress, uint256 amount) returns(bool)
func (*TokenTransactor) RefundEscrow ¶
func (_Token *TokenTransactor) RefundEscrow(opts *bind.TransactOpts, toAddress common.Address, amount *big.Int) (*types.Transaction, error)
RefundEscrow is a paid mutator transaction binding the contract method 0x599efa6b.
Solidity: function refundEscrow(address toAddress, uint256 amount) returns(bool)
func (*TokenTransactor) RenounceOwnership ¶
func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactor) SetControllerAddress ¶
func (_Token *TokenTransactor) SetControllerAddress(opts *bind.TransactOpts, _controllerAddress common.Address) (*types.Transaction, error)
SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.
Solidity: function setControllerAddress(address _controllerAddress) returns()
func (*TokenTransactor) SlashEscrow ¶
func (_Token *TokenTransactor) SlashEscrow(opts *bind.TransactOpts, slashedAddress common.Address, amount *big.Int) (*types.Transaction, error)
SlashEscrow is a paid mutator transaction binding the contract method 0x88c2bdfe.
Solidity: function slashEscrow(address slashedAddress, uint256 amount) returns(bool)
func (*TokenTransactor) Transfer ¶
func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*TokenTransactor) TransferFrom ¶
func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*TokenTransactor) TransferOwnership ¶
func (_Token *TokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*TokenTransactor) Unpause ¶
func (_Token *TokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
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) 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) 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) DisableChangeControllerAddress ¶
func (_Token *TokenTransactorSession) DisableChangeControllerAddress() (*types.Transaction, error)
DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.
Solidity: function disableChangeControllerAddress() returns()
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) Pause ¶
func (_Token *TokenTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*TokenTransactorSession) PayEscrow ¶
func (_Token *TokenTransactorSession) PayEscrow(amount *big.Int) (*types.Transaction, error)
PayEscrow is a paid mutator transaction binding the contract method 0x5407e93c.
Solidity: function payEscrow(uint256 amount) returns(bool)
func (*TokenTransactorSession) PayJob ¶
func (_Token *TokenTransactorSession) PayJob(fromAddress common.Address, toAddress common.Address, amount *big.Int) (*types.Transaction, error)
PayJob is a paid mutator transaction binding the contract method 0x065e86c8.
Solidity: function payJob(address fromAddress, address toAddress, uint256 amount) returns(bool)
func (*TokenTransactorSession) RefundEscrow ¶
func (_Token *TokenTransactorSession) RefundEscrow(toAddress common.Address, amount *big.Int) (*types.Transaction, error)
RefundEscrow is a paid mutator transaction binding the contract method 0x599efa6b.
Solidity: function refundEscrow(address toAddress, uint256 amount) returns(bool)
func (*TokenTransactorSession) RenounceOwnership ¶
func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactorSession) SetControllerAddress ¶
func (_Token *TokenTransactorSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)
SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.
Solidity: function setControllerAddress(address _controllerAddress) returns()
func (*TokenTransactorSession) SlashEscrow ¶
func (_Token *TokenTransactorSession) SlashEscrow(slashedAddress common.Address, amount *big.Int) (*types.Transaction, error)
SlashEscrow is a paid mutator transaction binding the contract method 0x88c2bdfe.
Solidity: function slashEscrow(address slashedAddress, uint256 amount) returns(bool)
func (*TokenTransactorSession) Transfer ¶
func (_Token *TokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*TokenTransactorSession) TransferFrom ¶
func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*TokenTransactorSession) TransferOwnership ¶
func (_Token *TokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*TokenTransactorSession) Unpause ¶
func (_Token *TokenTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
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 TokenUnpaused ¶
type TokenUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
TokenUnpaused represents a Unpaused event raised by the Token contract.
type TokenUnpausedIterator ¶
type TokenUnpausedIterator struct { Event *TokenUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Token contract.
func (*TokenUnpausedIterator) Close ¶
func (it *TokenUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenUnpausedIterator) Error ¶
func (it *TokenUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenUnpausedIterator) Next ¶
func (it *TokenUnpausedIterator) 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.