Class Whitelist__factory

Hierarchy

  • ContractFactory
    • Whitelist__factory

Index

Constructors

constructor

Properties

Readonly bytecode

bytecode: string

Readonly interface

interface: Interface

Readonly signer

signer: Signer

Static Readonly abi

abi: [{ anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "paymaster"; type: "address" }, { indexed: true; internalType: "address[]"; name: "accounts"; type: "address[]" }]; name: "AddedBatchToWhitelist"; type: "event" }, { anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "paymaster"; type: "address" }, { indexed: true; internalType: "address"; name: "account"; type: "address" }]; name: "AddedToWhitelist"; type: "event" }, { anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "paymaster"; type: "address" }, { indexed: true; internalType: "address[]"; name: "accounts"; type: "address[]" }]; name: "RemovedBatchFromWhitelist"; type: "event" }, { anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "paymaster"; type: "address" }, { indexed: true; internalType: "address"; name: "account"; type: "address" }]; name: "RemovedFromWhitelist"; type: "event" }, { inputs: [{ internalType: "address[]"; name: "_accounts"; type: "address[]" }]; name: "addBatchToWhitelist"; outputs: []; stateMutability: "nonpayable"; type: "function" }, { inputs: [{ internalType: "address"; name: "_account"; type: "address" }]; name: "addToWhitelist"; outputs: []; stateMutability: "nonpayable"; type: "function" }, { inputs: [{ internalType: "address"; name: "_sponsor"; type: "address" }, { internalType: "address"; name: "_account"; type: "address" }]; name: "check"; outputs: [{ internalType: "bool"; name: ""; type: "bool" }]; stateMutability: "view"; type: "function" }, { inputs: [{ internalType: "address[]"; name: "_accounts"; type: "address[]" }]; name: "removeBatchFromWhitelist"; outputs: []; stateMutability: "nonpayable"; type: "function" }, { inputs: [{ internalType: "address"; name: "_account"; type: "address" }]; name: "removeFromWhitelist"; outputs: []; stateMutability: "nonpayable"; type: "function" }] = _abi

Static Readonly bytecode

bytecode: "0x608060405234801561001057600080fd5b50610630806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063123a6a821461005c5780638ab1d68114610071578063a3d19d8c14610084578063b3154db014610097578063e43252d7146100be575b600080fd5b61006f61006a36600461049e565b6100d1565b005b61006f61007f36600461052f565b610121565b61006f61009236600461049e565b610163565b6100aa6100a536600461054a565b6101b3565b604051901515815260200160405180910390f35b61006f6100cc36600461052f565b6101c6565b6100db8282610208565b81816040516100eb92919061057d565b6040519081900381209033907f75dcdde27b71b9c529ae8b02072e1eeda244662d2d9c2effea5a1afb8fc913f390600090a35050565b61012a81610257565b6040516001600160a01b0382169033907fd288ab5da2e1f37cf384a1565a3f905ad289b092fbdd31950dbbfef148c04f8890600090a350565b61016d828261033e565b818160405161017d92919061057d565b6040519081900381209033907f6eabb183ad4385932735ae89018089a008c58e814451b618bc0dd0e7922f6d1390600090a35050565b60006101bf8383610388565b9392505050565b6101cf816103b4565b6040516001600160a01b0382169033907f0c4b48e75a1f7ab0a9a2f786b5d6c1f7789020403bff177fb54d46edb89ccc0090600090a350565b60005b8181101561025257610242838383818110610228576102286105bd565b905060200201602081019061023d919061052f565b610257565b61024b816105d3565b905061020b565b505050565b6001600160a01b0381166102ad5760405162461bcd60e51b815260206004820152601860248201527757686974656c6973743a3a205a65726f206164647265737360401b60448201526064015b60405180910390fd5b6102b73382610388565b6103125760405162461bcd60e51b815260206004820152602660248201527f57686974656c6973743a3a204163636f756e74206973206e6f742077686974656044820152651b1a5cdd195960d21b60648201526084016102a4565b336000908152602081815260408083206001600160a01b0394909416835292905220805460ff19169055565b60005b818110156102525761037883838381811061035e5761035e6105bd565b9050602002016020810190610373919061052f565b6103b4565b610381816105d3565b9050610341565b6001600160a01b0391821660009081526020818152604080832093909416825291909152205460ff1690565b6001600160a01b0381166104055760405162461bcd60e51b815260206004820152601860248201527757686974656c6973743a3a205a65726f206164647265737360401b60448201526064016102a4565b61040f3382610388565b1561046f5760405162461bcd60e51b815260206004820152602a60248201527f57686974656c6973743a3a204163636f756e7420697320616c726561647920776044820152691a1a5d195b1a5cdd195960b21b60648201526084016102a4565b336000908152602081815260408083206001600160a01b0394909416835292905220805460ff19166001179055565b600080602083850312156104b157600080fd5b823567ffffffffffffffff808211156104c957600080fd5b818501915085601f8301126104dd57600080fd5b8135818111156104ec57600080fd5b8660208260051b850101111561050157600080fd5b60209290920196919550909350505050565b80356001600160a01b038116811461052a57600080fd5b919050565b60006020828403121561054157600080fd5b6101bf82610513565b6000806040838503121561055d57600080fd5b61056683610513565b915061057460208401610513565b90509250929050565b60008184825b858110156105b2576001600160a01b0361059c83610513565b1683526020928301929190910190600101610583565b509095945050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016105f357634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212208c42722a6a682051f10641a080c059bb9904925da0993fff187c78544bd89a6f64736f6c63430008110033" = _bytecode

Methods

attach

  • Parameters

    • address: string

    Returns Whitelist

connect

deploy

  • Parameters

    Returns Promise<Whitelist>

getDeployTransaction

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

    Returns TransactionRequest

Static connect

  • connect(address: string, signerOrProvider: Signer | Provider): Whitelist
  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns Whitelist

Static createInterface

Static fromSolidity

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

Static getContract

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

Static getContractAddress

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

Static getInterface

  • getInterface(contractInterface: ContractInterface): Interface