package
0.0.0-20220527054452-47007f32ba2f
Repository: https://github.com/covertness/ally.git
Documentation: pkg.go.dev
# README
Smart Contracts
Address Factory
A Smart contract that generate addresses can be used to withdraw without any ether, using a common address pay the transaction fee.
Compilation
$ solc --abi AddressFactory.sol -o build
$ solc --bin AddressFactory.sol -o build
$ abigen --bin=./build/AddressFactory.bin --abi=./build/AddressFactory.abi --pkg=contracts --type=AddressFactory --out=addressFactory.go
$ solc --abi ERC20.sol -o build
$ abigen --abi=./build/ERC20.abi --pkg=contracts --type=ERC20 --out=ERC20.go
Deploy
$ INFURA_ENDPOINT= INFURA_ID= go run deploy/*
# Packages
No description provided by the author
# Functions
DeployAddressFactory deploys a new Ethereum contract, binding an instance of AddressFactory to it.
NewAddressFactory creates a new instance of AddressFactory, bound to a specific deployed contract.
NewAddressFactoryCaller creates a new read-only instance of AddressFactory, bound to a specific deployed contract.
NewAddressFactoryFilterer creates a new log filterer instance of AddressFactory, bound to a specific deployed contract.
NewAddressFactoryTransactor creates a new write-only instance of AddressFactory, bound to a specific deployed contract.
NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
# Constants
AddressFactoryABI is the input ABI used to generate the binding from.
ERC20ABI is the input ABI used to generate the binding from.
# Variables
AddressFactoryBin is the compiled bytecode used for deploying new contracts.
# Structs
AddressFactory is an auto generated Go binding around an Ethereum contract.
AddressFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
AddressFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
AddressFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
AddressFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
AddressFactoryOwnershipTransferred represents a OwnershipTransferred event raised by the AddressFactory contract.
AddressFactoryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AddressFactory contract.
AddressFactoryPaused represents a Paused event raised by the AddressFactory contract.
AddressFactoryPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the AddressFactory contract.
AddressFactoryPauserAdded represents a PauserAdded event raised by the AddressFactory contract.
AddressFactoryPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the AddressFactory contract.
AddressFactoryPauserRemoved represents a PauserRemoved event raised by the AddressFactory contract.
AddressFactoryPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the AddressFactory contract.
AddressFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
AddressFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
AddressFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
AddressFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
AddressFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
AddressFactoryUnpaused represents a Unpaused event raised by the AddressFactory contract.
AddressFactoryUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the AddressFactory contract.
ERC20 is an auto generated Go binding around an Ethereum contract.
ERC20Approval represents a Approval event raised by the ERC20 contract.
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.