token

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenABI = TokenMetaData.ABI

TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.

View Source
var TokenBin = TokenMetaData.Bin

TokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TokenMetaData.Bin instead.

View Source
var TokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"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\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\":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\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TOKEN_CAP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"cap\",\"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\":[{\"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\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"treasury\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"team\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"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\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"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\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Bin: "0x60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff168152503480156200004457600080fd5b50620000556200005b60201b60201c565b62000205565b600060019054906101000a900460ff1615620000ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a590620001a8565b60405180910390fd5b60ff801660008054906101000a900460ff1660ff16146200011f5760ff6000806101000a81548160ff021916908360ff1602179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860ff604051620001169190620001e8565b60405180910390a15b565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320696e69746960008201527f616c697a696e6700000000000000000000000000000000000000000000000000602082015250565b60006200019060278362000121565b91506200019d8262000132565b604082019050919050565b60006020820190508181036000830152620001c38162000181565b9050919050565b600060ff82169050919050565b620001e281620001ca565b82525050565b6000602082019050620001ff6000830184620001d7565b92915050565b6080516133f66200023d600039600081816105d801528181610666015281816107970152818161082501526108d501526133f66000f3fe60806040526004361061011f5760003560e01c806370a08231116100a0578063a457c2d711610064578063a457c2d7146103cc578063a9059cbb14610409578063dd62ed3e14610446578063f2fde38b14610483578063f8c8765e146104ac5761011f565b806370a08231146102f7578063715018a6146103345780638da5cb5b1461034b57806395d89b41146103765780639a6524f1146103a15761011f565b8063355274ea116100e7578063355274ea1461021f5780633659cfe61461024a57806339509351146102735780634f1ef286146102b057806352d1902d146102cc5761011f565b806306fdde0314610124578063095ea7b31461014f57806318160ddd1461018c57806323b872dd146101b7578063313ce567146101f4575b600080fd5b34801561013057600080fd5b506101396104d5565b6040516101469190611edc565b60405180910390f35b34801561015b57600080fd5b5061017660048036038101906101719190611fa6565b610567565b6040516101839190612001565b60405180910390f35b34801561019857600080fd5b506101a161058a565b6040516101ae919061202b565b60405180910390f35b3480156101c357600080fd5b506101de60048036038101906101d99190612046565b610594565b6040516101eb9190612001565b60405180910390f35b34801561020057600080fd5b506102096105c3565b60405161021691906120b5565b60405180910390f35b34801561022b57600080fd5b506102346105cc565b604051610241919061202b565b60405180910390f35b34801561025657600080fd5b50610271600480360381019061026c91906120d0565b6105d6565b005b34801561027f57600080fd5b5061029a60048036038101906102959190611fa6565b61075e565b6040516102a79190612001565b60405180910390f35b6102ca60048036038101906102c59190612232565b610795565b005b3480156102d857600080fd5b506102e16108d1565b6040516102ee91906122a7565b60405180910390f35b34801561030357600080fd5b5061031e600480360381019061031991906120d0565b61098a565b60405161032b919061202b565b60405180910390f35b34801561034057600080fd5b506103496109d3565b005b34801561035757600080fd5b506103606109e7565b60405161036d91906122d1565b60405180910390f35b34801561038257600080fd5b5061038b610a11565b6040516103989190611edc565b60405180910390f35b3480156103ad57600080fd5b506103b6610aa3565b6040516103c3919061202b565b60405180910390f35b3480156103d857600080fd5b506103f360048036038101906103ee9190611fa6565b610ab3565b6040516104009190612001565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190611fa6565b610b2a565b60405161043d9190612001565b60405180910390f35b34801561045257600080fd5b5061046d600480360381019061046891906122ec565b610b4d565b60405161047a919061202b565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a591906120d0565b610bd4565b005b3480156104b857600080fd5b506104d360048036038101906104ce919061232c565b610c57565b005b6060603680546104e4906123c2565b80601f0160208091040260200160405190810160405280929190818152602001828054610510906123c2565b801561055d5780601f106105325761010080835404028352916020019161055d565b820191906000526020600020905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b600080610572610ee2565b905061057f818585610eea565b600191505092915050565b6000603554905090565b60008061059f610ee2565b90506105ac8582856110b3565b6105b785858561113f565b60019150509392505050565b60006012905090565b6000606554905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1603610664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065b90612465565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166106a36113b8565b73ffffffffffffffffffffffffffffffffffffffff16146106f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f0906124f7565b60405180910390fd5b6107028161140f565b61075b81600067ffffffffffffffff81111561072157610720612107565b5b6040519080825280601f01601f1916602001820160405280156107535781602001600182028036833780820191505090505b50600061141a565b50565b600080610769610ee2565b905061078a81858561077b8589610b4d565b6107859190612546565b610eea565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1603610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081a90612465565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108626113b8565b73ffffffffffffffffffffffffffffffffffffffff16146108b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108af906124f7565b60405180910390fd5b6108c18261140f565b6108cd8282600161141a565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614610961576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610958906125ec565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109db611588565b6109e56000611606565b565b6000609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060378054610a20906123c2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4c906123c2565b8015610a995780601f10610a6e57610100808354040283529160200191610a99565b820191906000526020600020905b815481529060010190602001808311610a7c57829003601f168201915b5050505050905090565b6b033b2e3c9fd0803ce800000081565b600080610abe610ee2565b90506000610acc8286610b4d565b905083811015610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b089061267e565b60405180910390fd5b610b1e8286868403610eea565b60019250505092915050565b600080610b35610ee2565b9050610b4281858561113f565b600191505092915050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610bdc611588565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290612710565b60405180910390fd5b610c5481611606565b50565b60008060019054906101000a900460ff16159050808015610c885750600160008054906101000a900460ff1660ff16105b80610cb55750610c97306116cc565b158015610cb45750600160008054906101000a900460ff1660ff16145b5b610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb906127a2565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610d31576001600060016101000a81548160ff0219169083151502179055505b610d396116ef565b610dad6040518060400160405280600a81526020017f5377616e20546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5357414e00000000000000000000000000000000000000000000000000000000815250611748565b610dc26b033b2e3c9fd0803ce80000006117a5565b610dca611800565b610df885601960646b033b2e3c9fd0803ce8000000610de991906127f1565b610df39190612822565b611851565b610e2684602860646b033b2e3c9fd0803ce8000000610e1791906127f1565b610e219190612822565b611851565b610e5483600f60646b033b2e3c9fd0803ce8000000610e4591906127f1565b610e4f9190612822565b611851565b610e8282601460646b033b2e3c9fd0803ce8000000610e7391906127f1565b610e7d9190612822565b611851565b8015610edb5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610ed291906128a9565b60405180910390a15b5050505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090612936565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf906129c8565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110a6919061202b565b60405180910390a3505050565b60006110bf8484610b4d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611139578181101561112b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112290612a34565b60405180910390fd5b6111388484848403610eea565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a590612ac6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361121d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121490612b58565b60405180910390fd5b6112288383836118bb565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156112af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a690612bea565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161139f919061202b565b60405180910390a36113b28484846118c0565b50505050565b60006113e67f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6118c5565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611417611588565b50565b6114467f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b6118cf565b60000160009054906101000a900460ff161561146a57611465836118d9565b611583565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156114d257506040513d601f19601f820116820180604052508101906114cf9190612c36565b60015b611511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150890612cd5565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b8114611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90612d67565b60405180910390fd5b50611582838383611992565b5b505050565b611590610ee2565b73ffffffffffffffffffffffffffffffffffffffff166115ae6109e7565b73ffffffffffffffffffffffffffffffffffffffff1614611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90612dd3565b60405180910390fd5b565b6000609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff1661173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590612e65565b60405180910390fd5b6117466119be565b565b600060019054906101000a900460ff16611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e90612e65565b60405180910390fd5b6117a18282611a1f565b5050565b600060019054906101000a900460ff166117f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117eb90612e65565b60405180910390fd5b6117fd81611a92565b50565b600060019054906101000a900460ff1661184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690612e65565b60405180910390fd5b565b6118596105cc565b8161186261058a565b61186c9190612546565b11156118ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a490612ed1565b60405180910390fd5b6118b78282611b2e565b5050565b505050565b505050565b6000819050919050565b6000819050919050565b6118e2816116cc565b611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890612f63565b60405180910390fd5b8061194e7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6118c5565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61199b83611c85565b6000825111806119a85750805b156119b9576119b78383611cd4565b505b505050565b600060019054906101000a900460ff16611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0490612e65565b60405180910390fd5b611a1d611a18610ee2565b611606565b565b600060019054906101000a900460ff16611a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6590612e65565b60405180910390fd5b8160369081611a7d9190613125565b508060379081611a8d9190613125565b505050565b600060019054906101000a900460ff16611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890612e65565b60405180910390fd5b60008111611b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1b90613243565b60405180910390fd5b8060658190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b94906132af565b60405180910390fd5b611ba9600083836118bb565b8060356000828254611bbb9190612546565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611c6d919061202b565b60405180910390a3611c81600083836118c0565b5050565b611c8e816118d9565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b6060611cf9838360405180606001604052806027815260200161339a60279139611d01565b905092915050565b60606000808573ffffffffffffffffffffffffffffffffffffffff1685604051611d2b9190613316565b600060405180830381855af49150503d8060008114611d66576040519150601f19603f3d011682016040523d82523d6000602084013e611d6b565b606091505b5091509150611d7c86838387611d87565b925050509392505050565b60608315611de9576000835103611de157611da1856116cc565b611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd790613379565b60405180910390fd5b5b829050611df4565b611df38383611dfc565b5b949350505050565b600082511115611e0f5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e439190611edc565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015611e86578082015181840152602081019050611e6b565b60008484015250505050565b6000601f19601f8301169050919050565b6000611eae82611e4c565b611eb88185611e57565b9350611ec8818560208601611e68565b611ed181611e92565b840191505092915050565b60006020820190508181036000830152611ef68184611ea3565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f3d82611f12565b9050919050565b611f4d81611f32565b8114611f5857600080fd5b50565b600081359050611f6a81611f44565b92915050565b6000819050919050565b611f8381611f70565b8114611f8e57600080fd5b50565b600081359050611fa081611f7a565b92915050565b60008060408385031215611fbd57611fbc611f08565b5b6000611fcb85828601611f5b565b9250506020611fdc85828601611f91565b9150509250929050565b60008115159050919050565b611ffb81611fe6565b82525050565b60006020820190506120166000830184611ff2565b92915050565b61202581611f70565b82525050565b6000602082019050612040600083018461201c565b92915050565b60008060006060848603121561205f5761205e611f08565b5b600061206d86828701611f5b565b935050602061207e86828701611f5b565b925050604061208f86828701611f91565b9150509250925092565b600060ff82169050919050565b6120af81612099565b82525050565b60006020820190506120ca60008301846120a6565b92915050565b6000602082840312156120e6576120e5611f08565b5b60006120f484828501611f5b565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61213f82611e92565b810181811067ffffffffffffffff8211171561215e5761215d612107565b5b80604052505050565b6000612171611efe565b905061217d8282612136565b919050565b600067ffffffffffffffff82111561219d5761219c612107565b5b6121a682611e92565b9050602081019050919050565b82818337600083830152505050565b60006121d56121d084612182565b612167565b9050828152602081018484840111156121f1576121f0612102565b5b6121fc8482856121b3565b509392505050565b600082601f830112612219576122186120fd565b5b81356122298482602086016121c2565b91505092915050565b6000806040838503121561224957612248611f08565b5b600061225785828601611f5b565b925050602083013567ffffffffffffffff81111561227857612277611f0d565b5b61228485828601612204565b9150509250929050565b6000819050919050565b6122a18161228e565b82525050565b60006020820190506122bc6000830184612298565b92915050565b6122cb81611f32565b82525050565b60006020820190506122e660008301846122c2565b92915050565b6000806040838503121561230357612302611f08565b5b600061231185828601611f5b565b925050602061232285828601611f5b565b9150509250929050565b6000806000806080858703121561234657612345611f08565b5b600061235487828801611f5b565b945050602061236587828801611f5b565b935050604061237687828801611f5b565b925050606061238787828801611f5b565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123da57607f821691505b6020821081036123ed576123ec612393565b5b50919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b600061244f602c83611e57565b915061245a826123f3565b604082019050919050565b6000602082019050818103600083015261247e81612442565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b60006124e1602c83611e57565b91506124ec82612485565b604082019050919050565b60006020820190508181036000830152612510816124d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061255182611f70565b915061255c83611f70565b925082820190508082111561257457612573612517565b5b92915050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b60006125d6603883611e57565b91506125e18261257a565b604082019050919050565b60006020820190508181036000830152612605816125c9565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612668602583611e57565b91506126738261260c565b604082019050919050565b600060208201905081810360008301526126978161265b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126fa602683611e57565b91506127058261269e565b604082019050919050565b60006020820190508181036000830152612729816126ed565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b600061278c602e83611e57565b915061279782612730565b604082019050919050565b600060208201905081810360008301526127bb8161277f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006127fc82611f70565b915061280783611f70565b925082612817576128166127c2565b5b828204905092915050565b600061282d82611f70565b915061283883611f70565b925082820261284681611f70565b9150828204841483151761285d5761285c612517565b5b5092915050565b6000819050919050565b6000819050919050565b600061289361288e61288984612864565b61286e565b612099565b9050919050565b6128a381612878565b82525050565b60006020820190506128be600083018461289a565b92915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612920602483611e57565b915061292b826128c4565b604082019050919050565b6000602082019050818103600083015261294f81612913565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006129b2602283611e57565b91506129bd82612956565b604082019050919050565b600060208201905081810360008301526129e1816129a5565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612a1e601d83611e57565b9150612a29826129e8565b602082019050919050565b60006020820190508181036000830152612a4d81612a11565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612ab0602583611e57565b9150612abb82612a54565b604082019050919050565b60006020820190508181036000830152612adf81612aa3565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612b42602383611e57565b9150612b4d82612ae6565b604082019050919050565b60006020820190508181036000830152612b7181612b35565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612bd4602683611e57565b9150612bdf82612b78565b604082019050919050565b60006020820190508181036000830152612c0381612bc7565b9050919050565b612c138161228e565b8114612c1e57600080fd5b50565b600081519050612c3081612c0a565b92915050565b600060208284031215612c4c57612c4b611f08565b5b6000612c5a84828501612c21565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000612cbf602e83611e57565b9150612cca82612c63565b604082019050919050565b60006020820190508181036000830152612cee81612cb2565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b6000612d51602983611e57565b9150612d5c82612cf5565b604082019050919050565b60006020820190508181036000830152612d8081612d44565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612dbd602083611e57565b9150612dc882612d87565b602082019050919050565b60006020820190508181036000830152612dec81612db0565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000612e4f602b83611e57565b9150612e5a82612df3565b604082019050919050565b60006020820190508181036000830152612e7e81612e42565b9050919050565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b6000612ebb601983611e57565b9150612ec682612e85565b602082019050919050565b60006020820190508181036000830152612eea81612eae565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000612f4d602d83611e57565b9150612f5882612ef1565b604082019050919050565b60006020820190508181036000830152612f7c81612f40565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612fe57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612fa8565b612fef8683612fa8565b95508019841693508086168417925050509392505050565b600061302261301d61301884611f70565b61286e565b611f70565b9050919050565b6000819050919050565b61303c83613007565b61305061304882613029565b848454612fb5565b825550505050565b600090565b613065613058565b613070818484613033565b505050565b5b818110156130945761308960008261305d565b600181019050613076565b5050565b601f8211156130d9576130aa81612f83565b6130b384612f98565b810160208510156130c2578190505b6130d66130ce85612f98565b830182613075565b50505b505050565b600082821c905092915050565b60006130fc600019846008026130de565b1980831691505092915050565b600061311583836130eb565b9150826002028217905092915050565b61312e82611e4c565b67ffffffffffffffff81111561314757613146612107565b5b61315182546123c2565b61315c828285613098565b600060209050601f83116001811461318f576000841561317d578287015190505b6131878582613109565b8655506131ef565b601f19841661319d86612f83565b60005b828110156131c5578489015182556001820191506020850194506020810190506131a0565b868310156131e257848901516131de601f8916826130eb565b8355505b6001600288020188555050505b505050505050565b7f45524332304361707065643a2063617020697320300000000000000000000000600082015250565b600061322d601583611e57565b9150613238826131f7565b602082019050919050565b6000602082019050818103600083015261325c81613220565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613299601f83611e57565b91506132a482613263565b602082019050919050565b600060208201905081810360008301526132c88161328c565b9050919050565b600081519050919050565b600081905092915050565b60006132f0826132cf565b6132fa81856132da565b935061330a818560208601611e68565b80840191505092915050565b600061332282846132e5565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613363601d83611e57565b915061336e8261332d565b602082019050919050565b6000602082019050818103600083015261339281613356565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122074e8eaa3e3267b83a6048b22c39e06a420f7ca2b97e74ccaf601122fc533344064736f6c63430008140033",
}

TokenMetaData contains all meta data concerning the Token contract.

Functions

This section is empty.

Types

type Option

type Option func(*Stub)

func WithCollateralContract added in v0.6.2

func WithCollateralContract(collateralContract string) Option

func WithPrivateKey

func WithPrivateKey(pk string) Option

func WithPublicKey

func WithPublicKey(pk string) Option

type Stub

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

func NewTokenStub

func NewTokenStub(client *ethclient.Client, options ...Option) (*Stub, error)

func (*Stub) Approve

func (s *Stub) Approve(amount *big.Int) (string, error)

func (*Stub) BalanceOf

func (s *Stub) BalanceOf() (string, error)

func (*Stub) Transfer

func (s *Stub) Transfer(to string, amount *big.Int) (string, error)

type Token added in v0.6.0

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 added in v0.6.0

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

DeployToken deploys a new Ethereum contract, binding an instance of Token to it.

func NewToken added in v0.6.0

func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error)

NewToken creates a new instance of Token, bound to a specific deployed contract.

type TokenAdminChanged added in v0.6.0

type TokenAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TokenAdminChanged represents a AdminChanged event raised by the Token contract.

type TokenAdminChangedIterator added in v0.6.0

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

TokenAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the Token contract.

func (*TokenAdminChangedIterator) Close added in v0.6.0

func (it *TokenAdminChangedIterator) Close() error

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

func (*TokenAdminChangedIterator) Error added in v0.6.0

func (it *TokenAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenAdminChangedIterator) Next added in v0.6.0

func (it *TokenAdminChangedIterator) 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 TokenApproval added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (it *TokenApprovalIterator) Close() error

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

func (*TokenApprovalIterator) Error added in v0.6.0

func (it *TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenApprovalIterator) Next added in v0.6.0

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 TokenBeaconUpgraded added in v0.6.0

type TokenBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

TokenBeaconUpgraded represents a BeaconUpgraded event raised by the Token contract.

type TokenBeaconUpgradedIterator added in v0.6.0

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

TokenBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the Token contract.

func (*TokenBeaconUpgradedIterator) Close added in v0.6.0

func (it *TokenBeaconUpgradedIterator) Close() error

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

func (*TokenBeaconUpgradedIterator) Error added in v0.6.0

func (it *TokenBeaconUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenBeaconUpgradedIterator) Next added in v0.6.0

func (it *TokenBeaconUpgradedIterator) 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 added in v0.6.0

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

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

func NewTokenCaller added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*TokenCaller) Cap added in v0.6.0

func (_Token *TokenCaller) Cap(opts *bind.CallOpts) (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() view returns(uint256)

func (*TokenCaller) Decimals added in v0.6.0

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) Name added in v0.6.0

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 added in v0.6.0

func (_Token *TokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokenCaller) ProxiableUUID added in v0.6.0

func (_Token *TokenCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*TokenCaller) Symbol added in v0.6.0

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) TOKENCAP added in v0.6.0

func (_Token *TokenCaller) TOKENCAP(opts *bind.CallOpts) (*big.Int, error)

TOKENCAP is a free data retrieval call binding the contract method 0x9a6524f1.

Solidity: function TOKEN_CAP() view returns(uint256)

func (*TokenCaller) TotalSupply added in v0.6.0

func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type TokenCallerRaw added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (_Token *TokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*TokenCallerSession) Cap added in v0.6.0

func (_Token *TokenCallerSession) Cap() (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() view returns(uint256)

func (*TokenCallerSession) Decimals added in v0.6.0

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) Name added in v0.6.0

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 added in v0.6.0

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) ProxiableUUID added in v0.6.0

func (_Token *TokenCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*TokenCallerSession) Symbol added in v0.6.0

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) TOKENCAP added in v0.6.0

func (_Token *TokenCallerSession) TOKENCAP() (*big.Int, error)

TOKENCAP is a free data retrieval call binding the contract method 0x9a6524f1.

Solidity: function TOKEN_CAP() view returns(uint256)

func (*TokenCallerSession) TotalSupply added in v0.6.0

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 added in v0.6.0

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

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

func NewTokenFilterer added in v0.6.0

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) FilterAdminChanged added in v0.6.0

func (_Token *TokenFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*TokenAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*TokenFilterer) FilterApproval added in v0.6.0

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) FilterBeaconUpgraded added in v0.6.0

func (_Token *TokenFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*TokenBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*TokenFilterer) FilterInitialized added in v0.6.0

func (_Token *TokenFilterer) FilterInitialized(opts *bind.FilterOpts) (*TokenInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*TokenFilterer) FilterOwnershipTransferred added in v0.6.0

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) FilterTransfer added in v0.6.0

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) FilterUpgraded added in v0.6.0

func (_Token *TokenFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TokenUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*TokenFilterer) ParseAdminChanged added in v0.6.0

func (_Token *TokenFilterer) ParseAdminChanged(log types.Log) (*TokenAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*TokenFilterer) ParseApproval added in v0.6.0

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) ParseBeaconUpgraded added in v0.6.0

func (_Token *TokenFilterer) ParseBeaconUpgraded(log types.Log) (*TokenBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*TokenFilterer) ParseInitialized added in v0.6.0

func (_Token *TokenFilterer) ParseInitialized(log types.Log) (*TokenInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*TokenFilterer) ParseOwnershipTransferred added in v0.6.0

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) ParseTransfer added in v0.6.0

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) ParseUpgraded added in v0.6.0

func (_Token *TokenFilterer) ParseUpgraded(log types.Log) (*TokenUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*TokenFilterer) WatchAdminChanged added in v0.6.0

func (_Token *TokenFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *TokenAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*TokenFilterer) WatchApproval added in v0.6.0

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) WatchBeaconUpgraded added in v0.6.0

func (_Token *TokenFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *TokenBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*TokenFilterer) WatchInitialized added in v0.6.0

func (_Token *TokenFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TokenInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*TokenFilterer) WatchOwnershipTransferred added in v0.6.0

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) WatchTransfer added in v0.6.0

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) WatchUpgraded added in v0.6.0

func (_Token *TokenFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TokenUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type TokenInitialized added in v0.6.0

type TokenInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

TokenInitialized represents a Initialized event raised by the Token contract.

type TokenInitializedIterator added in v0.6.0

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

TokenInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Token contract.

func (*TokenInitializedIterator) Close added in v0.6.0

func (it *TokenInitializedIterator) Close() error

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

func (*TokenInitializedIterator) Error added in v0.6.0

func (it *TokenInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenInitializedIterator) Next added in v0.6.0

func (it *TokenInitializedIterator) 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 TokenOwnershipTransferred added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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

func (*TokenOwnershipTransferredIterator) Error added in v0.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenOwnershipTransferredIterator) Next added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (_Token *TokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*TokenSession) Cap added in v0.6.0

func (_Token *TokenSession) Cap() (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() view returns(uint256)

func (*TokenSession) Decimals added in v0.6.0

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 added in v0.6.0

func (_Token *TokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenSession) IncreaseAllowance added in v0.6.0

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) Initialize added in v0.6.0

func (_Token *TokenSession) Initialize(investor common.Address, treasury common.Address, team common.Address, market common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address investor, address treasury, address team, address market) returns()

func (*TokenSession) Name added in v0.6.0

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 added in v0.6.0

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) ProxiableUUID added in v0.6.0

func (_Token *TokenSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*TokenSession) RenounceOwnership added in v0.6.0

func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenSession) Symbol added in v0.6.0

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) TOKENCAP added in v0.6.0

func (_Token *TokenSession) TOKENCAP() (*big.Int, error)

TOKENCAP is a free data retrieval call binding the contract method 0x9a6524f1.

Solidity: function TOKEN_CAP() view returns(uint256)

func (*TokenSession) TotalSupply added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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) UpgradeTo added in v0.6.0

func (_Token *TokenSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*TokenSession) UpgradeToAndCall added in v0.6.0

func (_Token *TokenSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type TokenTransactor added in v0.6.0

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

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

func NewTokenTransactor added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (_Token *TokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenTransactor) IncreaseAllowance added in v0.6.0

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) Initialize added in v0.6.0

func (_Token *TokenTransactor) Initialize(opts *bind.TransactOpts, investor common.Address, treasury common.Address, team common.Address, market common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address investor, address treasury, address team, address market) returns()

func (*TokenTransactor) RenounceOwnership added in v0.6.0

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) Transfer added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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) UpgradeTo added in v0.6.0

func (_Token *TokenTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*TokenTransactor) UpgradeToAndCall added in v0.6.0

func (_Token *TokenTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type TokenTransactorRaw added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (_Token *TokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenTransactorSession) IncreaseAllowance added in v0.6.0

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) Initialize added in v0.6.0

func (_Token *TokenTransactorSession) Initialize(investor common.Address, treasury common.Address, team common.Address, market common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address investor, address treasury, address team, address market) returns()

func (*TokenTransactorSession) RenounceOwnership added in v0.6.0

func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenTransactorSession) Transfer added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

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) UpgradeTo added in v0.6.0

func (_Token *TokenTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*TokenTransactorSession) UpgradeToAndCall added in v0.6.0

func (_Token *TokenTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type TokenTransfer added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (it *TokenTransferIterator) Close() error

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

func (*TokenTransferIterator) Error added in v0.6.0

func (it *TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTransferIterator) Next added in v0.6.0

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 TokenUpgraded added in v0.6.0

type TokenUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

TokenUpgraded represents a Upgraded event raised by the Token contract.

type TokenUpgradedIterator added in v0.6.0

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

TokenUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Token contract.

func (*TokenUpgradedIterator) Close added in v0.6.0

func (it *TokenUpgradedIterator) Close() error

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

func (*TokenUpgradedIterator) Error added in v0.6.0

func (it *TokenUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenUpgradedIterator) Next added in v0.6.0

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

Jump to

Keyboard shortcuts

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