ObsERC20

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ObsERC20ABI = ObsERC20MetaData.ABI

ObsERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ObsERC20MetaData.ABI instead.

View Source
var ObsERC20Bin = ObsERC20MetaData.Bin

ObsERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ObsERC20MetaData.Bin instead.

View Source
var ObsERC20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"busAddress\",\"type\":\"address\"}],\"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\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"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\":[{\"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\":\"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\":[],\"name\":\"visibilityRules\",\"outputs\":[{\"components\":[{\"internalType\":\"enumContractTransparencyConfig.ContractCfg\",\"name\":\"contractCfg\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"eventSignature\",\"type\":\"bytes32\"},{\"internalType\":\"enumContractTransparencyConfig.Field[]\",\"name\":\"visibleTo\",\"type\":\"uint8[]\"}],\"internalType\":\"structContractTransparencyConfig.EventLogConfig[]\",\"name\":\"eventLogConfigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structContractTransparencyConfig.VisibilityConfig\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405273deb34a740eca1ec42c8b8204cbec0ba34fdd27f3600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b5060405162002d0d38038062002d0d83398181016040528101906200008c9190620006b1565b838381600390816200009f9190620009a2565b508060049081620000b19190620009a2565b505050620000c633836200011160201b60201c565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000e15565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000183576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017a9062000aea565b60405180910390fd5b62000197600083836200028960201b60201c565b8060026000828254620001ab919062000b3b565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000202919062000b3b565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000269919062000ba9565b60405180910390a362000285600083836200046f60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603156200046a57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200046957600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115620003d957620003d862000bc6565b5b85604051602001620003ec919062000c5f565b60405160208183030381529060405260006040518563ffffffff1660e01b81526004016200041e949392919062000d4a565b6020604051808303816000875af11580156200043e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000464919062000de3565b905050505b5b505050565b505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004dd8262000492565b810181811067ffffffffffffffff82111715620004ff57620004fe620004a3565b5b80604052505050565b60006200051462000474565b9050620005228282620004d2565b919050565b600067ffffffffffffffff821115620005455762000544620004a3565b5b620005508262000492565b9050602081019050919050565b60005b838110156200057d57808201518184015260208101905062000560565b838111156200058d576000848401525b50505050565b6000620005aa620005a48462000527565b62000508565b905082815260208101848484011115620005c957620005c86200048d565b5b620005d68482856200055d565b509392505050565b600082601f830112620005f657620005f562000488565b5b81516200060884826020860162000593565b91505092915050565b6000819050919050565b620006268162000611565b81146200063257600080fd5b50565b60008151905062000646816200061b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000679826200064c565b9050919050565b6200068b816200066c565b81146200069757600080fd5b50565b600081519050620006ab8162000680565b92915050565b60008060008060808587031215620006ce57620006cd6200047e565b5b600085015167ffffffffffffffff811115620006ef57620006ee62000483565b5b620006fd87828801620005de565b945050602085015167ffffffffffffffff81111562000721576200072062000483565b5b6200072f87828801620005de565b9350506040620007428782880162000635565b925050606062000755878288016200069a565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007b457607f821691505b602082108103620007ca57620007c96200076c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620008347fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007f5565b620008408683620007f5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620008836200087d620008778462000611565b62000858565b62000611565b9050919050565b6000819050919050565b6200089f8362000862565b620008b7620008ae826200088a565b84845462000802565b825550505050565b600090565b620008ce620008bf565b620008db81848462000894565b505050565b5b818110156200090357620008f7600082620008c4565b600181019050620008e1565b5050565b601f82111562000952576200091c81620007d0565b6200092784620007e5565b8101602085101562000937578190505b6200094f6200094685620007e5565b830182620008e0565b50505b505050565b600082821c905092915050565b6000620009776000198460080262000957565b1980831691505092915050565b600062000992838362000964565b9150826002028217905092915050565b620009ad8262000761565b67ffffffffffffffff811115620009c957620009c8620004a3565b5b620009d582546200079b565b620009e282828562000907565b600060209050601f83116001811462000a1a576000841562000a05578287015190505b62000a11858262000984565b86555062000a81565b601f19841662000a2a86620007d0565b60005b8281101562000a545784890151825560018201915060208501945060208101905062000a2d565b8683101562000a74578489015162000a70601f89168262000964565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000ad2601f8362000a89565b915062000adf8262000a9a565b602082019050919050565b6000602082019050818103600083015262000b058162000ac3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000b488262000611565b915062000b558362000611565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b8d5762000b8c62000b0c565b5b828201905092915050565b62000ba38162000611565b82525050565b600060208201905062000bc0600083018462000b98565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b62000c00816200066c565b82525050565b62000c118162000611565b82525050565b60608201600082015162000c2f600085018262000bf5565b50602082015162000c44602085018262000bf5565b50604082015162000c59604085018262000c06565b50505050565b600060608201905062000c76600083018462000c17565b92915050565b600063ffffffff82169050919050565b62000c978162000c7c565b82525050565b600081519050919050565b600082825260208201905092915050565b600062000cc68262000c9d565b62000cd2818562000ca8565b935062000ce48185602086016200055d565b62000cef8162000492565b840191505092915050565b6000819050919050565b600060ff82169050919050565b600062000d3262000d2c62000d268462000cfa565b62000858565b62000d04565b9050919050565b62000d448162000d11565b82525050565b600060808201905062000d61600083018762000c8c565b62000d70602083018662000c8c565b818103604083015262000d84818562000cb9565b905062000d95606083018462000d39565b95945050505050565b600067ffffffffffffffff82169050919050565b62000dbd8162000d9e565b811462000dc957600080fd5b50565b60008151905062000ddd8162000db2565b92915050565b60006020828403121562000dfc5762000dfb6200047e565b5b600062000e0c8482850162000dcc565b91505092915050565b611ee88062000e256000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80633950935111610071578063395093511461019157806370a08231146101c157806395d89b41146101f1578063a457c2d71461020f578063a9059cbb1461023f578063dd62ed3e1461026f576100b4565b806306fdde03146100b9578063095ea7b3146100d757806318160ddd1461010757806323b872dd1461012557806330173dd114610155578063313ce56714610173575b600080fd5b6100c161029f565b6040516100ce9190611175565b60405180910390f35b6100f160048036038101906100ec9190611230565b610331565b6040516100fe919061128b565b60405180910390f35b61010f610354565b60405161011c91906112b5565b60405180910390f35b61013f600480360381019061013a91906112d0565b61035e565b60405161014c919061128b565b60405180910390f35b61015d61038d565b60405161016a91906115e6565b60405180910390f35b61017b61059c565b6040516101889190611624565b60405180910390f35b6101ab60048036038101906101a69190611230565b6105a5565b6040516101b8919061128b565b60405180910390f35b6101db60048036038101906101d6919061163f565b6105dc565b6040516101e891906112b5565b60405180910390f35b6101f96106a4565b6040516102069190611175565b60405180910390f35b61022960048036038101906102249190611230565b610736565b604051610236919061128b565b60405180910390f35b61025960048036038101906102549190611230565b6107ad565b604051610266919061128b565b60405180910390f35b6102896004803603810190610284919061166c565b6107d0565b60405161029691906112b5565b60405180910390f35b6060600380546102ae906116db565b80601f01602080910402602001604051908101604052809291908181526020018280546102da906116db565b80156103275780601f106102fc57610100808354040283529160200191610327565b820191906000526020600020905b81548152906001019060200180831161030a57829003601f168201915b5050505050905090565b60008061033c610909565b9050610349818585610911565b600191505092915050565b6000600254905090565b600080610369610909565b9050610376858285610ada565b610381858585610b66565b60019150509392505050565b610395611093565b60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90506000600367ffffffffffffffff8111156103d7576103d661170c565b5b6040519080825280602002602001820160405280156104055781602001602082028036833780820191505090505b50905060008160008151811061041e5761041d61173b565b5b6020026020010190600481111561043857610437611323565b5b9081600481111561044c5761044b611323565b5b815250506001816001815181106104665761046561173b565b5b602002602001019060048111156104805761047f611323565b5b9081600481111561049457610493611323565b5b815250506003816002815181106104ae576104ad61173b565b5b602002602001019060048111156104c8576104c7611323565b5b908160048111156104dc576104db611323565b5b815250506000600167ffffffffffffffff8111156104fd576104fc61170c565b5b60405190808252806020026020018201604052801561053657816020015b6105236110bf565b81526020019060019003908161051b5790505b509050604051806040016040528084815260200183815250816000815181106105625761056161173b565b5b6020026020010181905250604051806040016040528060018081111561058b5761058a611323565b5b815260200182815250935050505090565b60006012905090565b6000806105b0610909565b90506105d18185856105c285896107d0565b6105cc9190611799565b610911565b600191505092915050565b60008173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16036106215761061a82610de5565b905061069f565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036106645761065d82610de5565b905061069f565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106969061183b565b60405180910390fd5b919050565b6060600480546106b3906116db565b80601f01602080910402602001604051908101604052809291908181526020018280546106df906116db565b801561072c5780601f106107015761010080835404028352916020019161072c565b820191906000526020600020905b81548152906001019060200180831161070f57829003601f168201915b5050505050905090565b600080610741610909565b9050600061074f82866107d0565b905083811015610794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078b906118cd565b60405180910390fd5b6107a18286868403610911565b60019250505092915050565b6000806107b8610909565b90506107c5818585610b66565b600191505092915050565b60008273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148061083757508173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b1561084d576108468383610e2d565b9050610903565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806108b257508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b156108c8576108c18383610e2d565b9050610903565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fa9061195f565b60405180910390fd5b92915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610980576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610977906119f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e690611a83565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610acd91906112b5565b60405180910390a3505050565b6000610ae684846107d0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610b605781811015610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990611aef565b60405180910390fd5b610b5f8484848403610911565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcc90611b81565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3b90611c13565b60405180910390fd5b610c4f838383610eb4565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc90611ca5565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d689190611799565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610dcc91906112b5565b60405180910390a3610ddf84848461108e565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16031561108957600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361108857600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115610fff57610ffe611323565b5b856040516020016110109190611d25565b60405160208183030381529060405260006040518563ffffffff1660e01b81526004016110409493929190611df9565b6020604051808303816000875af115801561105f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110839190611e85565b905050505b5b505050565b505050565b6040518060400160405280600060018111156110b2576110b1611323565b5b8152602001606081525090565b604051806040016040528060008019168152602001606081525090565b600081519050919050565b600082825260208201905092915050565b60005b838110156111165780820151818401526020810190506110fb565b83811115611125576000848401525b50505050565b6000601f19601f8301169050919050565b6000611147826110dc565b61115181856110e7565b93506111618185602086016110f8565b61116a8161112b565b840191505092915050565b6000602082019050818103600083015261118f818461113c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111c78261119c565b9050919050565b6111d7816111bc565b81146111e257600080fd5b50565b6000813590506111f4816111ce565b92915050565b6000819050919050565b61120d816111fa565b811461121857600080fd5b50565b60008135905061122a81611204565b92915050565b6000806040838503121561124757611246611197565b5b6000611255858286016111e5565b92505060206112668582860161121b565b9150509250929050565b60008115159050919050565b61128581611270565b82525050565b60006020820190506112a0600083018461127c565b92915050565b6112af816111fa565b82525050565b60006020820190506112ca60008301846112a6565b92915050565b6000806000606084860312156112e9576112e8611197565b5b60006112f7868287016111e5565b9350506020611308868287016111e5565b92505060406113198682870161121b565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6002811061136357611362611323565b5b50565b600081905061137482611352565b919050565b600061138482611366565b9050919050565b61139481611379565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b6113d9816113c6565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6005811061141c5761141b611323565b5b50565b600081905061142d8261140b565b919050565b600061143d8261141f565b9050919050565b61144d81611432565b82525050565b600061145f8383611444565b60208301905092915050565b6000602082019050919050565b6000611483826113df565b61148d81856113ea565b9350611498836113fb565b8060005b838110156114c95781516114b08882611453565b97506114bb8361146b565b92505060018101905061149c565b5085935050505092915050565b60006040830160008301516114ee60008601826113d0565b50602083015184820360208601526115068282611478565b9150508091505092915050565b600061151f83836114d6565b905092915050565b6000602082019050919050565b600061153f8261139a565b61154981856113a5565b93508360208202850161155b856113b6565b8060005b8581101561159757848403895281516115788582611513565b945061158383611527565b925060208a0199505060018101905061155f565b50829750879550505050505092915050565b60006040830160008301516115c1600086018261138b565b50602083015184820360208601526115d98282611534565b9150508091505092915050565b6000602082019050818103600083015261160081846115a9565b905092915050565b600060ff82169050919050565b61161e81611608565b82525050565b60006020820190506116396000830184611615565b92915050565b60006020828403121561165557611654611197565b5b6000611663848285016111e5565b91505092915050565b6000806040838503121561168357611682611197565b5b6000611691858286016111e5565b92505060206116a2858286016111e5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806116f357607f821691505b602082108103611706576117056116ac565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006117a4826111fa565b91506117af836111fa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156117e4576117e361176a565b5b828201905092915050565b7f4e6f7420616c6c6f77656420746f2072656164207468652062616c616e636500600082015250565b6000611825601f836110e7565b9150611830826117ef565b602082019050919050565b6000602082019050818103600083015261185481611818565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006118b76025836110e7565b91506118c28261185b565b604082019050919050565b600060208201905081810360008301526118e6816118aa565b9050919050565b7f4e6f7420616c6c6f77656420746f20726561642074686520616c6c6f77616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006119496021836110e7565b9150611954826118ed565b604082019050919050565b600060208201905081810360008301526119788161193c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006119db6024836110e7565b91506119e68261197f565b604082019050919050565b60006020820190508181036000830152611a0a816119ce565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611a6d6022836110e7565b9150611a7882611a11565b604082019050919050565b60006020820190508181036000830152611a9c81611a60565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611ad9601d836110e7565b9150611ae482611aa3565b602082019050919050565b60006020820190508181036000830152611b0881611acc565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611b6b6025836110e7565b9150611b7682611b0f565b604082019050919050565b60006020820190508181036000830152611b9a81611b5e565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611bfd6023836110e7565b9150611c0882611ba1565b604082019050919050565b60006020820190508181036000830152611c2c81611bf0565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611c8f6026836110e7565b9150611c9a82611c33565b604082019050919050565b60006020820190508181036000830152611cbe81611c82565b9050919050565b611cce816111bc565b82525050565b611cdd816111fa565b82525050565b606082016000820151611cf96000850182611cc5565b506020820151611d0c6020850182611cc5565b506040820151611d1f6040850182611cd4565b50505050565b6000606082019050611d3a6000830184611ce3565b92915050565b600063ffffffff82169050919050565b611d5981611d40565b82525050565b600081519050919050565b600082825260208201905092915050565b6000611d8682611d5f565b611d908185611d6a565b9350611da08185602086016110f8565b611da98161112b565b840191505092915050565b6000819050919050565b6000819050919050565b6000611de3611dde611dd984611db4565b611dbe565b611608565b9050919050565b611df381611dc8565b82525050565b6000608082019050611e0e6000830187611d50565b611e1b6020830186611d50565b8181036040830152611e2d8185611d7b565b9050611e3c6060830184611dea565b95945050505050565b600067ffffffffffffffff82169050919050565b611e6281611e45565b8114611e6d57600080fd5b50565b600081519050611e7f81611e59565b92915050565b600060208284031215611e9b57611e9a611197565b5b6000611ea984828501611e70565b9150509291505056fea26469706673582212208b444c260a97b93029a9e7777043062f082fd0f59ec75c6ab8f637b6980214b764736f6c634300080f0033",
}

ObsERC20MetaData contains all meta data concerning the ObsERC20 contract.

Functions

This section is empty.

Types

type ContractTransparencyConfigEventLogConfig added in v0.28.0

type ContractTransparencyConfigEventLogConfig struct {
	EventSignature [32]byte
	VisibleTo      []uint8
}

ContractTransparencyConfigEventLogConfig is an auto generated low-level Go binding around an user-defined struct.

type ContractTransparencyConfigVisibilityConfig added in v0.28.0

type ContractTransparencyConfigVisibilityConfig struct {
	ContractCfg     uint8
	EventLogConfigs []ContractTransparencyConfigEventLogConfig
}

ContractTransparencyConfigVisibilityConfig is an auto generated low-level Go binding around an user-defined struct.

type ObsERC20

type ObsERC20 struct {
	ObsERC20Caller     // Read-only binding to the contract
	ObsERC20Transactor // Write-only binding to the contract
	ObsERC20Filterer   // Log filterer for contract events
}

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

func DeployObsERC20

func DeployObsERC20(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, initialSupply *big.Int, busAddress common.Address) (common.Address, *types.Transaction, *ObsERC20, error)

DeployObsERC20 deploys a new Ethereum contract, binding an instance of ObsERC20 to it.

func NewObsERC20

func NewObsERC20(address common.Address, backend bind.ContractBackend) (*ObsERC20, error)

NewObsERC20 creates a new instance of ObsERC20, bound to a specific deployed contract.

type ObsERC20Approval

type ObsERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ObsERC20Approval represents a Approval event raised by the ObsERC20 contract.

type ObsERC20ApprovalIterator

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

ObsERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ObsERC20 contract.

func (*ObsERC20ApprovalIterator) Close

func (it *ObsERC20ApprovalIterator) Close() error

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

func (*ObsERC20ApprovalIterator) Error

func (it *ObsERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ObsERC20ApprovalIterator) Next

func (it *ObsERC20ApprovalIterator) 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 ObsERC20Caller

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

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

func NewObsERC20Caller

func NewObsERC20Caller(address common.Address, caller bind.ContractCaller) (*ObsERC20Caller, error)

NewObsERC20Caller creates a new read-only instance of ObsERC20, bound to a specific deployed contract.

func (*ObsERC20Caller) Allowance

func (_ObsERC20 *ObsERC20Caller) 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 (*ObsERC20Caller) BalanceOf

func (_ObsERC20 *ObsERC20Caller) 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 (*ObsERC20Caller) Decimals

func (_ObsERC20 *ObsERC20Caller) 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 (*ObsERC20Caller) Name

func (_ObsERC20 *ObsERC20Caller) 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 (*ObsERC20Caller) Symbol

func (_ObsERC20 *ObsERC20Caller) 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 (*ObsERC20Caller) TotalSupply

func (_ObsERC20 *ObsERC20Caller) 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)

func (*ObsERC20Caller) VisibilityRules added in v0.28.0

func (_ObsERC20 *ObsERC20Caller) VisibilityRules(opts *bind.CallOpts) (ContractTransparencyConfigVisibilityConfig, error)

VisibilityRules is a free data retrieval call binding the contract method 0x30173dd1.

Solidity: function visibilityRules() pure returns((uint8,(bytes32,uint8[])[]))

type ObsERC20CallerRaw

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

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

func (*ObsERC20CallerRaw) Call

func (_ObsERC20 *ObsERC20CallerRaw) 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 ObsERC20CallerSession

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

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

func (*ObsERC20CallerSession) Allowance

func (_ObsERC20 *ObsERC20CallerSession) 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 (*ObsERC20CallerSession) BalanceOf

func (_ObsERC20 *ObsERC20CallerSession) 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 (*ObsERC20CallerSession) Decimals

func (_ObsERC20 *ObsERC20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ObsERC20CallerSession) Name

func (_ObsERC20 *ObsERC20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ObsERC20CallerSession) Symbol

func (_ObsERC20 *ObsERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ObsERC20CallerSession) TotalSupply

func (_ObsERC20 *ObsERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ObsERC20CallerSession) VisibilityRules added in v0.28.0

VisibilityRules is a free data retrieval call binding the contract method 0x30173dd1.

Solidity: function visibilityRules() pure returns((uint8,(bytes32,uint8[])[]))

type ObsERC20Filterer

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

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

func NewObsERC20Filterer

func NewObsERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ObsERC20Filterer, error)

NewObsERC20Filterer creates a new log filterer instance of ObsERC20, bound to a specific deployed contract.

func (*ObsERC20Filterer) FilterApproval

func (_ObsERC20 *ObsERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ObsERC20ApprovalIterator, 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 (*ObsERC20Filterer) FilterTransfer

func (_ObsERC20 *ObsERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ObsERC20TransferIterator, 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 (*ObsERC20Filterer) ParseApproval

func (_ObsERC20 *ObsERC20Filterer) ParseApproval(log types.Log) (*ObsERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ObsERC20Filterer) ParseTransfer

func (_ObsERC20 *ObsERC20Filterer) ParseTransfer(log types.Log) (*ObsERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*ObsERC20Filterer) WatchApproval

func (_ObsERC20 *ObsERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ObsERC20Approval, 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 (*ObsERC20Filterer) WatchTransfer

func (_ObsERC20 *ObsERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ObsERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type ObsERC20Raw

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

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

func (*ObsERC20Raw) Call

func (_ObsERC20 *ObsERC20Raw) 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 (*ObsERC20Raw) Transact

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

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

func (*ObsERC20Raw) Transfer

func (_ObsERC20 *ObsERC20Raw) 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 ObsERC20Session

type ObsERC20Session struct {
	Contract     *ObsERC20         // 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
}

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

func (*ObsERC20Session) Allowance

func (_ObsERC20 *ObsERC20Session) 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 (*ObsERC20Session) Approve

func (_ObsERC20 *ObsERC20Session) 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 (*ObsERC20Session) BalanceOf

func (_ObsERC20 *ObsERC20Session) 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 (*ObsERC20Session) Decimals

func (_ObsERC20 *ObsERC20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ObsERC20Session) DecreaseAllowance

func (_ObsERC20 *ObsERC20Session) 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 (*ObsERC20Session) IncreaseAllowance

func (_ObsERC20 *ObsERC20Session) 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 (*ObsERC20Session) Name

func (_ObsERC20 *ObsERC20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ObsERC20Session) Symbol

func (_ObsERC20 *ObsERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ObsERC20Session) TotalSupply

func (_ObsERC20 *ObsERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ObsERC20Session) Transfer

func (_ObsERC20 *ObsERC20Session) 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 (*ObsERC20Session) TransferFrom

func (_ObsERC20 *ObsERC20Session) 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 (*ObsERC20Session) VisibilityRules added in v0.28.0

func (_ObsERC20 *ObsERC20Session) VisibilityRules() (ContractTransparencyConfigVisibilityConfig, error)

VisibilityRules is a free data retrieval call binding the contract method 0x30173dd1.

Solidity: function visibilityRules() pure returns((uint8,(bytes32,uint8[])[]))

type ObsERC20Transactor

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

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

func NewObsERC20Transactor

func NewObsERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ObsERC20Transactor, error)

NewObsERC20Transactor creates a new write-only instance of ObsERC20, bound to a specific deployed contract.

func (*ObsERC20Transactor) Approve

func (_ObsERC20 *ObsERC20Transactor) 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 (*ObsERC20Transactor) DecreaseAllowance

func (_ObsERC20 *ObsERC20Transactor) 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 (*ObsERC20Transactor) IncreaseAllowance

func (_ObsERC20 *ObsERC20Transactor) 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 (*ObsERC20Transactor) Transfer

func (_ObsERC20 *ObsERC20Transactor) 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 (*ObsERC20Transactor) TransferFrom

func (_ObsERC20 *ObsERC20Transactor) 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)

type ObsERC20TransactorRaw

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

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

func (*ObsERC20TransactorRaw) Transact

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

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

func (*ObsERC20TransactorRaw) Transfer

func (_ObsERC20 *ObsERC20TransactorRaw) 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 ObsERC20TransactorSession

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

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

func (*ObsERC20TransactorSession) Approve

func (_ObsERC20 *ObsERC20TransactorSession) 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 (*ObsERC20TransactorSession) DecreaseAllowance

func (_ObsERC20 *ObsERC20TransactorSession) 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 (*ObsERC20TransactorSession) IncreaseAllowance

func (_ObsERC20 *ObsERC20TransactorSession) 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 (*ObsERC20TransactorSession) Transfer

func (_ObsERC20 *ObsERC20TransactorSession) 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 (*ObsERC20TransactorSession) TransferFrom

func (_ObsERC20 *ObsERC20TransactorSession) 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)

type ObsERC20Transfer

type ObsERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ObsERC20Transfer represents a Transfer event raised by the ObsERC20 contract.

type ObsERC20TransferIterator

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

ObsERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ObsERC20 contract.

func (*ObsERC20TransferIterator) Close

func (it *ObsERC20TransferIterator) Close() error

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

func (*ObsERC20TransferIterator) Error

func (it *ObsERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ObsERC20TransferIterator) Next

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