Search
Preparing search index...
The search index is not available
radicle-drips
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
radicle-drips
ERC20TxFactory
Class ERC20TxFactory
A factory for creating
IERC20
contract transactions.
Hierarchy
ERC20TxFactory
Implements
IERC20TxFactory
Index
Constructors
constructor
Properties
#erc20
#token
Address
Accessors
token
Address
Methods
approve
create
Constructors
constructor
new ERC20
Tx
Factory
(
)
:
ERC20TxFactory
Returns
ERC20TxFactory
Properties
Private
#erc20
#erc20
:
IERC20
Private
#token
Address
#token
Address
:
string
Accessors
token
Address
get
tokenAddress
(
)
:
string
Returns
string
Methods
approve
approve
(
spender
:
PromiseOrValue
<
string
>
, amount
:
PromiseOrValue
<
BigNumberish
>
)
:
Promise
<
PopulatedTransaction
>
Parameters
spender:
PromiseOrValue
<
string
>
amount:
PromiseOrValue
<
BigNumberish
>
Returns
Promise
<
PopulatedTransaction
>
Static
create
create
(
singer
:
Signer
, tokenAddress
:
string
)
:
Promise
<
ERC20TxFactory
>
Parameters
singer:
Signer
tokenAddress:
string
Returns
Promise
<
ERC20TxFactory
>
Exports
Address
Driver
Presets
NFTDriver
Presets
Utils
ERC20
Tx
Factory
constructor
#erc20
#token
Address
token
Address
approve
create
Generated using
TypeDoc
A factory for creating
IERC20
contract transactions.