Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ContractFactory
    • MockTokenImplementation__factory

Index

Constructors

constructor

  • Parameters

    • Optional signer: Signer

    Returns MockTokenImplementation__factory

Properties

Readonly bytecode

bytecode: string

Readonly interface

interface: Interface

Readonly signer

signer: Signer

Static Readonly abi

abi: ({ anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string }[]; name: string; outputs: undefined; stateMutability: undefined; type: string } | { anonymous: undefined; inputs: { internalType: string; name: string; type: string }[]; name: string; outputs: { internalType: string; name: string; type: string }[]; stateMutability: string; type: string })[] = ...

Static Readonly bytecode

bytecode: "0x608060405234801561001057600080fd5b50611a2a806100206000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80637ecebe00116100c3578063a18cd7c61161007c578063a18cd7c6146102ba578063a457c2d7146102cd578063a9059cbb146102e0578063c71f4615146102f3578063d505accf14610306578063dd62ed3e1461031957600080fd5b80637ecebe001461023557806384b0196e146102485780638da5cb5b1461026357806395d89b411461027e5780639a8a0592146102865780639dc29fac146102a757600080fd5b8063313ce56711610115578063313ce567146101bf5780633644e515146101d457806339509351146101dc5780633d6c043b146101ef57806340c10f19146101f757806370a082311461020c57600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd146101935780631f8cdb2b146101a557806323b872dd146101ac575b600080fd5b61015a610352565b60405161016791906118ea565b60405180910390f35b61018361017e3660046116bc565b6103e6565b6040519015158152602001610167565b6003545b604051908152602001610167565b6001610183565b6101836101ba366004611618565b6103fc565b60045460405160ff9091168152602001610167565b6101976104b2565b6101836101ea3660046116bc565b6104c1565b600854610197565b61020a6102053660046116bc565b6104f8565b005b61019761021a3660046115c5565b6001600160a01b031660009081526005602052604090205490565b6101976102433660046115c5565b610530565b610250610550565b6040516101679796959493929190611855565b6007546040516001600160a01b039091168152602001610167565b61015a6105ae565b600754600160a81b900461ffff1660405161ffff9091168152602001610167565b61020a6102b53660046116bc565b6105c0565b61020a6102c83660046116e5565b6105f4565b6101836102db3660046116bc565b6106ce565b6101836102ee3660046116bc565b610769565b61020a610301366004611756565b610776565b61020a610314366004611653565b6107f9565b6101976103273660046115e6565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b606060008001805461036390611993565b80601f016020809104026020016040519081016040528092919081815260200182805461038f90611993565b80156103dc5780601f106103b1576101008083540402835291602001916103dc565b820191906000526020600020905b8154815290600101906020018083116103bf57829003601f168201915b5050505050905090565b60006103f3338484610965565b50600192915050565b6000610409848484610a8a565b6001600160a01b0384166000908152600660209081526040808320338452909152902054828110156104935760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104a785336104a2868561194c565b610965565b506001949350505050565b60006104bc610c62565b905090565b3360008181526006602090815260408083206001600160a01b038716845290915281205490916103f39185906104a2908690611934565b6007546001600160a01b031633146105225760405162461bcd60e51b815260040161048a906118fd565b61052c8282610ca4565b5050565b6001600160a01b0381166000908152600e60205260408120545b92915050565b600060608060008060006060610564610352565b6040805180820190915260018152603160f81b60208201524630610586610d86565b604080516000815260208101909152601f60f81b9d959c50939a509198509650945092509050565b60606000600101805461036390611993565b6007546001600160a01b031633146105ea5760405162461bcd60e51b815260040161048a906118fd565b61052c8282610dd0565b6007546001600160a01b0316331461061e5760405162461bcd60e51b815260040161048a906118fd565b60025467ffffffffffffffff80831691161061067c5760405162461bcd60e51b815260206004820152601e60248201527f63757272656e74206d6574616461746120697320757020746f20646174650000604482015260640161048a565b825161068f906000906020860190611460565b5081516106a3906001906020850190611460565b506002805467ffffffffffffffff191667ffffffffffffffff83161790556106c9610f1f565b505050565b3360009081526006602090815260408083206001600160a01b0386168452909152812054828110156107505760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161048a565b61075f33856104a2868561194c565b5060019392505050565b60006103f3338484610a8a565b600754600160a01b900460ff16156107c65760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015260640161048a565b6007805460ff60a01b1916600160a01b1790556107e887878787878787610f7b565b6107f0610f1f565b50505050505050565b610801610f1f565b834211156108515760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161048a565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886108808c611017565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006108db8261103f565b905060006108eb82878787611052565b9050896001600160a01b0316816001600160a01b03161461094e5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161048a565b6109598a8a8a610965565b50505050505050505050565b6001600160a01b0383166109c75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161048a565b6001600160a01b038216610a285760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161048a565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610aee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161048a565b6001600160a01b038216610b505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161048a565b6001600160a01b03831660009081526005602052604090205481811015610bc85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161048a565b610bd2828261194c565b6001600160a01b038086166000908152600560205260408082209390935590851681529081208054849290610c08908490611934565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c5491815260200190565b60405180910390a350505050565b600b546000906001600160a01b031630148015610c805750600a5446145b15610c8c575060095490565b6104bc610c9761107a565b610c9f610d86565b611094565b6001600160a01b038216610cfa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161048a565b8060006003016000828254610d0f9190611934565b90915550506001600160a01b03821660009081526005602052604081208054839290610d3c908490611934565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600754600854604051600160a81b90920460f01b6001600160f01b031916602083015260228201526000906042015b60405160208183030381529060405280519060200120905090565b6001600160a01b038216610e305760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161048a565b6001600160a01b03821660009081526005602052604090205481811015610ea45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161048a565b610eae828261194c565b6001600160a01b03841660009081526005602052604081209190915560038054849290610edc90849061194c565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610a7d565b6000610f2961107a565b90506000610f35610d86565b600d5490915082141580610f4b5750600c548114155b1561052c5746600a55600b80546001600160a01b03191630179055610f708282611094565b600955600c55600d55565b8651610f8e9060009060208a0190611460565b508551610fa2906001906020890190611460565b506004805460ff90961660ff19909616959095179094556002805467ffffffffffffffff90941667ffffffffffffffff19909416939093179092556007805461ffff909316600160a81b02600162ffff0160a01b03199093166001600160a01b03909216919091179190911790556008555050565b6001600160a01b0381166000908152600e602052604090208054600181018255905b50919050565b600061054a61104c610c62565b83611148565b60008060006110638787878761116f565b915091506110708161125c565b5095945050505050565b6000611084610352565b604051602001610db59190611839565b60007fd87cd6ef79d4e2b95e15ce8abf732db51ec771f1ca2edccf22a46c729ac56472836110d66040805180820190915260018152603160f81b602082015290565b6040516020016110e69190611839565b60408051601f1981840301815282825280516020918201209083019490945281019190915260608101919091524660808201523060a082015260c0810183905260e0015b60405160208183030381529060405280519060200120905092915050565b60405161190160f01b6020820152602281018390526042810182905260009060620161112a565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156111a65750600090506003611253565b8460ff16601b141580156111be57508460ff16601c14155b156111cf5750600090506004611253565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611223573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661124c57600060019250925050611253565b9150600090505b94509492505050565b600081600481111561127e57634e487b7160e01b600052602160045260246000fd5b14156112875750565b60018160048111156112a957634e487b7160e01b600052602160045260246000fd5b14156112f75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161048a565b600281600481111561131957634e487b7160e01b600052602160045260246000fd5b14156113675760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161048a565b600381600481111561138957634e487b7160e01b600052602160045260246000fd5b14156113e25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161048a565b600481600481111561140457634e487b7160e01b600052602160045260246000fd5b141561145d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161048a565b50565b82805461146c90611993565b90600052602060002090601f01602090048101928261148e57600085556114d4565b82601f106114a757805160ff19168380011785556114d4565b828001600101855582156114d4579182015b828111156114d45782518255916020019190600101906114b9565b506114e09291506114e4565b5090565b5b808211156114e057600081556001016114e5565b80356001600160a01b038116811461151057600080fd5b919050565b600082601f830112611525578081fd5b813567ffffffffffffffff80821115611540576115406119de565b604051601f8301601f19908116603f01168101908282118183101715611568576115686119de565b81604052838152866020858801011115611580578485fd5b8360208701602083013792830160200193909352509392505050565b803567ffffffffffffffff8116811461151057600080fd5b803560ff8116811461151057600080fd5b6000602082840312156115d6578081fd5b6115df826114f9565b9392505050565b600080604083850312156115f8578081fd5b611601836114f9565b915061160f602084016114f9565b90509250929050565b60008060006060848603121561162c578081fd5b611635846114f9565b9250611643602085016114f9565b9150604084013590509250925092565b600080600080600080600060e0888a03121561166d578283fd5b611676886114f9565b9650611684602089016114f9565b955060408801359450606088013593506116a0608089016115b4565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156116ce578182fd5b6116d7836114f9565b946020939093013593505050565b6000806000606084860312156116f9578283fd5b833567ffffffffffffffff80821115611710578485fd5b61171c87838801611515565b94506020860135915080821115611731578384fd5b5061173e86828701611515565b92505061174d6040850161159c565b90509250925092565b600080600080600080600060e0888a031215611770578283fd5b873567ffffffffffffffff80821115611787578485fd5b6117938b838c01611515565b985060208a01359150808211156117a8578485fd5b506117b58a828b01611515565b9650506117c4604089016115b4565b94506117d26060890161159c565b93506117e0608089016114f9565b925060a088013561ffff811681146117f6578283fd5b8092505060c0880135905092959891949750929550565b60008151808452611825816020860160208601611963565b601f01601f19169290920160200192915050565b6000825161184b818460208701611963565b9190910192915050565b60ff60f81b881681526000602060e08184015261187560e084018a61180d565b8381036040850152611887818a61180d565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252838701925090830190845b818110156118d8578351835292840192918401916001016118bc565b50909c9b505050505050505050505050565b6020815260006115df602083018461180d565b60208082526017908201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b60008219821115611947576119476119c8565b500190565b60008282101561195e5761195e6119c8565b500390565b60005b8381101561197e578181015183820152602001611966565b8381111561198d576000848401525b50505050565b600181811c908216806119a757607f821691505b6020821081141561103957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a584305444ce4637e92be3a7bbd99ec1545ae0949ba60b265a34734c1de907d164736f6c63430008040033" = ...

Methods

attach

  • Parameters

    • address: string

    Returns MockTokenImplementation

connect

  • Parameters

    • signer: Signer

    Returns MockTokenImplementation__factory

deploy

  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<MockTokenImplementation>

getDeployTransaction

  • getDeployTransaction(overrides?: Overrides & { from?: string | Promise<string> }): TransactionRequest
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns TransactionRequest

Static connect

  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns MockTokenImplementation

Static createInterface

  • createInterface(): MockTokenImplementationInterface
  • Returns MockTokenImplementationInterface

Static fromSolidity

  • fromSolidity(compilerOutput: any, signer?: Signer): ContractFactory
  • Parameters

    • compilerOutput: any
    • Optional signer: Signer

    Returns ContractFactory

Static getContract

  • getContract(address: string, contractInterface: ContractInterface, signer?: Signer): Contract
  • Parameters

    • address: string
    • contractInterface: ContractInterface
    • Optional signer: Signer

    Returns Contract

Static getContractAddress

  • getContractAddress(tx: { from: string; nonce: number | BigNumber | BytesLike }): string
  • Parameters

    • tx: { from: string; nonce: number | BigNumber | BytesLike }
      • from: string
      • nonce: number | BigNumber | BytesLike

    Returns string

Static getInterface

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

Generated using TypeDoc