yearn-vaults / Modules / index / Token__factory
Class: Token__factory
index.Token__factory
Hierarchy
ContractFactory
↳ Token__factory
Table of contents
Constructors
Properties
Methods
- attach
- connect
- deploy
- getDeployTransaction
- connect
- createInterface
- fromSolidity
- getContract
- getContractAddress
- getInterface
Constructors
constructor
• new Token__factory(signer?
)
Parameters
Name | Type |
---|---|
signer? |
Signer |
Overrides
ContractFactory.constructor
Defined in
typechain/factories/Token__factory.ts:341
Properties
bytecode
• Readonly
bytecode: string
Inherited from
ContractFactory.bytecode
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:135
interface
• Readonly
interface: Interface
Inherited from
ContractFactory.interface
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:134
signer
• Readonly
signer: Signer
Inherited from
ContractFactory.signer
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:136
abi
▪ Static
Readonly
abi: ({ anonymous
: undefined
= false; inputs
: { internalType
: string
= “uint8”; name
: string
= “_decimals”; type
: string
= “uint8” }[] ; name
: undefined
= “allowance”; outputs
: undefined
; stateMutability
: string
= “nonpayable”; type
: string
= “constructor” } | { anonymous
: boolean
= false; inputs
: { indexed
: boolean
= true; internalType
: string
= “address”; name
: string
= “owner”; type
: string
= “address” }[] ; name
: string
= “Approval”; outputs
: undefined
; stateMutability
: undefined
= “view”; type
: string
= “event” } | { anonymous
: undefined
= false; inputs
: { internalType
: string
= “address”; name
: string
= “”; type
: string
= “address” }[] ; name
: string
= “_blocked”; outputs
: { internalType
: string
= “bool”; name
: string
= “”; type
: string
= “bool” }[] ; stateMutability
: string
= “view”; type
: string
= “function” })[]
Defined in
typechain/factories/Token__factory.ts:364
bytecode
▪ Static
Readonly
bytecode: "0x60806040523480156200001157600080fd5b506040516200185338038062001853833981810160405260208110156200003757600080fd5b81019080805190602001909291905050506040518060400160405280601881526020017f796561726e2e66696e616e6365207465737420746f6b656e00000000000000008152506040518060400160405280600481526020017f54455354000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000cc92919062000484565b508060049080519060200190620000e592919062000484565b506012600560006101000a81548160ff021916908360ff160217905550505062000115816200013860201b60201c565b62000131338260ff16600a0a617530026200015660201b60201c565b506200052a565b80600560006101000a81548160ff021916908360ff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620001fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6200020e600083836200033460201b60201c565b6200022a81600254620003f660201b62000aeb1790919060201c565b60028190555062000288816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620003f660201b62000aeb1790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615620003d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180620018236030913960400191505060405180910390fd5b620003f18383836200047f60201b62000b731760201c565b505050565b60008082840190508381101562000475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004c757805160ff1916838001178555620004f8565b82800160010185558215620004f8579182015b82811115620004f7578251825591602001919060010190620004da565b5b5090506200050791906200050b565b5090565b5b80821115620005265760008160009055506001016200050c565b5090565b6112e9806200053a6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c578063a457c2d711610066578063a457c2d714610417578063a51c68d51461047b578063a9059cbb146104cb578063dd62ed3e1461052f576100cf565b806339509351146102d857806370a082311461033c57806395d89b4114610394576100cf565b806306fdde03146100d4578063095ea7b31461015757806313f73eaa146101bb57806318160ddd1461021557806323b872dd14610233578063313ce567146102b7575b600080fd5b6100dc6105a7565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561011c578082015181840152602081019050610101565b50505050905090810190601f1680156101495780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a36004803603604081101561016d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610649565b60405180821515815260200191505060405180910390f35b6101fd600480360360208110156101d157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610667565b60405180821515815260200191505060405180910390f35b61021d610687565b6040518082815260200191505060405180910390f35b61029f6004803603606081101561024957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610691565b60405180821515815260200191505060405180910390f35b6102bf61076a565b604051808260ff16815260200191505060405180910390f35b610324600480360360408110156102ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610781565b60405180821515815260200191505060405180910390f35b61037e6004803603602081101561035257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610834565b6040518082815260200191505060405180910390f35b61039c61087c565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103dc5780820151818401526020810190506103c1565b50505050905090810190601f1680156104095780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104636004803603604081101561042d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061091e565b60405180821515815260200191505060405180910390f35b6104c96004803603604081101561049157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506109eb565b005b610517600480360360408110156104e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a46565b60405180821515815260200191505060405180910390f35b6105916004803603604081101561054557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a64565b6040518082815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561063f5780601f106106145761010080835404028352916020019161063f565b820191906000526020600020905b81548152906001019060200180831161062257829003601f168201915b5050505050905090565b600061065d610656610b78565b8484610b80565b6001905092915050565b60066020528060005260406000206000915054906101000a900460ff1681565b6000600254905090565b600061069e848484610d77565b61075f846106aa610b78565b61075a8560405180606001604052806028815260200161121760289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610710610b78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110389092919063ffffffff16565b610b80565b600190509392505050565b6000600560009054906101000a900460ff16905090565b600061082a61078e610b78565b84610825856001600061079f610b78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610aeb90919063ffffffff16565b610b80565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109145780601f106108e957610100808354040283529160200191610914565b820191906000526020600020905b8154815290600101906020018083116108f757829003601f168201915b5050505050905090565b60006109e161092b610b78565b846109dc856040518060600160405280602581526020016112b86025913960016000610955610b78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110389092919063ffffffff16565b610b80565b6001905092915050565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610a5a610a53610b78565b8484610d77565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600080828401905083811015610b69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806112646024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c8c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806111cf6022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061123f6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806111ac6023913960400191505060405180910390fd5b610e8e8383836110f8565b610ef9816040518060600160405280602681526020016111f1602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110389092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f8c816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610aeb90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906110e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110aa57808201518184015260208101905061108f565b50505050905090810190601f1680156110d75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561119b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806112886030913960400191505060405180910390fd5b6111a6838383610b73565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373546f6b656e207472616e7366657220726566757365642e205265636569766572206973206f6e20626c61636b6c69737445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c634300060c000a546f6b656e207472616e7366657220726566757365642e205265636569766572206973206f6e20626c61636b6c697374"
Defined in
typechain/factories/Token__factory.ts:363
Methods
attach
▸ attach(address
): Token
Parameters
Name | Type |
---|---|
address |
string |
Returns
Overrides
ContractFactory.attach
Defined in
typechain/factories/Token__factory.ts:357
connect
▸ connect(signer
): Token__factory
Parameters
Name | Type |
---|---|
signer |
Signer |
Returns
Overrides
ContractFactory.connect
Defined in
typechain/factories/Token__factory.ts:360
deploy
▸ deploy(_decimals
, overrides?
): Promise
<Token
>
Parameters
Name | Type |
---|---|
_decimals |
BigNumberish |
overrides? |
Overrides & { from? : string | Promise <string > } |
Returns
Promise
<Token
>
Overrides
ContractFactory.deploy
Defined in
typechain/factories/Token__factory.ts:345
getDeployTransaction
▸ getDeployTransaction(_decimals
, overrides?
): TransactionRequest
Parameters
Name | Type |
---|---|
_decimals |
BigNumberish |
overrides? |
Overrides & { from? : string | Promise <string > } |
Returns
TransactionRequest
Overrides
ContractFactory.getDeployTransaction
Defined in
typechain/factories/Token__factory.ts:351
connect
▸ Static
connect(address
, signerOrProvider
): Token
Parameters
Name | Type |
---|---|
address |
string |
signerOrProvider |
Provider | Signer |
Returns
Defined in
typechain/factories/Token__factory.ts:368
createInterface
▸ Static
createInterface(): TokenInterface
Returns
Defined in
typechain/factories/Token__factory.ts:365
fromSolidity
▸ Static
fromSolidity(compilerOutput
, signer?
): ContractFactory
Parameters
Name | Type |
---|---|
compilerOutput |
any |
signer? |
Signer |
Returns
ContractFactory
Inherited from
ContractFactory.fromSolidity
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:144
getContract
▸ Static
getContract(address
, contractInterface
, signer?
): Contract
Parameters
Name | Type |
---|---|
address |
string |
contractInterface |
ContractInterface |
signer? |
Signer |
Returns
Contract
Inherited from
ContractFactory.getContract
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:150
getContractAddress
▸ Static
getContractAddress(tx
): string
Parameters
Name | Type |
---|---|
tx |
Object |
tx.from |
string |
tx.nonce |
number | BytesLike | BigNumber |
Returns
string
Inherited from
ContractFactory.getContractAddress
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:146
getInterface
▸ Static
getInterface(contractInterface
): Interface
Parameters
Name | Type |
---|---|
contractInterface |
ContractInterface |
Returns
Interface
Inherited from
ContractFactory.getInterface
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:145