// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. import { ethereum, JSONValue, TypedMap, Entity, Bytes, Address, BigInt } from "@graphprotocol/graph-ts"; export class Approval extends ethereum.Event { get params(): Approval__Params { return new Approval__Params(this); } } export class Approval__Params { _event: Approval; constructor(event: Approval) { this._event = event; } get owner(): Address { return this._event.parameters[0].value.toAddress(); } get approved(): Address { return this._event.parameters[1].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[2].value.toBigInt(); } } export class ApprovalForAll extends ethereum.Event { get params(): ApprovalForAll__Params { return new ApprovalForAll__Params(this); } } export class ApprovalForAll__Params { _event: ApprovalForAll; constructor(event: ApprovalForAll) { this._event = event; } get owner(): Address { return this._event.parameters[0].value.toAddress(); } get operator(): Address { return this._event.parameters[1].value.toAddress(); } get approved(): boolean { return this._event.parameters[2].value.toBoolean(); } } export class LeptonBatchMinted extends ethereum.Event { get params(): LeptonBatchMinted__Params { return new LeptonBatchMinted__Params(this); } } export class LeptonBatchMinted__Params { _event: LeptonBatchMinted; constructor(event: LeptonBatchMinted) { this._event = event; } get receiver(): Address { return this._event.parameters[0].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[1].value.toBigInt(); } get count(): BigInt { return this._event.parameters[2].value.toBigInt(); } get price(): BigInt { return this._event.parameters[3].value.toBigInt(); } get multiplier(): BigInt { return this._event.parameters[4].value.toBigInt(); } } export class LeptonMinted extends ethereum.Event { get params(): LeptonMinted__Params { return new LeptonMinted__Params(this); } } export class LeptonMinted__Params { _event: LeptonMinted; constructor(event: LeptonMinted) { this._event = event; } get receiver(): Address { return this._event.parameters[0].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[1].value.toBigInt(); } get price(): BigInt { return this._event.parameters[2].value.toBigInt(); } get multiplier(): BigInt { return this._event.parameters[3].value.toBigInt(); } } export class LeptonTypeAdded extends ethereum.Event { get params(): LeptonTypeAdded__Params { return new LeptonTypeAdded__Params(this); } } export class LeptonTypeAdded__Params { _event: LeptonTypeAdded; constructor(event: LeptonTypeAdded) { this._event = event; } get tokenUri(): string { return this._event.parameters[0].value.toString(); } get price(): BigInt { return this._event.parameters[1].value.toBigInt(); } get supply(): BigInt { return this._event.parameters[2].value.toBigInt(); } get multiplier(): BigInt { return this._event.parameters[3].value.toBigInt(); } get bonus(): BigInt { return this._event.parameters[4].value.toBigInt(); } get upperBounds(): BigInt { return this._event.parameters[5].value.toBigInt(); } } export class LeptonTypeUpdated extends ethereum.Event { get params(): LeptonTypeUpdated__Params { return new LeptonTypeUpdated__Params(this); } } export class LeptonTypeUpdated__Params { _event: LeptonTypeUpdated; constructor(event: LeptonTypeUpdated) { this._event = event; } get leptonIndex(): BigInt { return this._event.parameters[0].value.toBigInt(); } get tokenUri(): string { return this._event.parameters[1].value.toString(); } get price(): BigInt { return this._event.parameters[2].value.toBigInt(); } get supply(): BigInt { return this._event.parameters[3].value.toBigInt(); } get multiplier(): BigInt { return this._event.parameters[4].value.toBigInt(); } get bonus(): BigInt { return this._event.parameters[5].value.toBigInt(); } get upperBounds(): BigInt { return this._event.parameters[6].value.toBigInt(); } } export class MaxMintPerTxSet extends ethereum.Event { get params(): MaxMintPerTxSet__Params { return new MaxMintPerTxSet__Params(this); } } export class MaxMintPerTxSet__Params { _event: MaxMintPerTxSet; constructor(event: MaxMintPerTxSet) { this._event = event; } get maxAmount(): BigInt { return this._event.parameters[0].value.toBigInt(); } } export class OwnershipTransferred extends ethereum.Event { get params(): OwnershipTransferred__Params { return new OwnershipTransferred__Params(this); } } export class OwnershipTransferred__Params { _event: OwnershipTransferred; constructor(event: OwnershipTransferred) { this._event = event; } get previousOwner(): Address { return this._event.parameters[0].value.toAddress(); } get newOwner(): Address { return this._event.parameters[1].value.toAddress(); } } export class PausedStateSet extends ethereum.Event { get params(): PausedStateSet__Params { return new PausedStateSet__Params(this); } } export class PausedStateSet__Params { _event: PausedStateSet; constructor(event: PausedStateSet) { this._event = event; } get isPaused(): boolean { return this._event.parameters[0].value.toBoolean(); } } export class Transfer extends ethereum.Event { get params(): Transfer__Params { return new Transfer__Params(this); } } export class Transfer__Params { _event: Transfer; constructor(event: Transfer) { this._event = event; } get from(): Address { return this._event.parameters[0].value.toAddress(); } get to(): Address { return this._event.parameters[1].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[2].value.toBigInt(); } } export class TransferBatch extends ethereum.Event { get params(): TransferBatch__Params { return new TransferBatch__Params(this); } } export class TransferBatch__Params { _event: TransferBatch; constructor(event: TransferBatch) { this._event = event; } get from(): Address { return this._event.parameters[0].value.toAddress(); } get to(): Address { return this._event.parameters[1].value.toAddress(); } get startTokenId(): BigInt { return this._event.parameters[2].value.toBigInt(); } get count(): BigInt { return this._event.parameters[3].value.toBigInt(); } } export class WithdrawStuckERC1155 extends ethereum.Event { get params(): WithdrawStuckERC1155__Params { return new WithdrawStuckERC1155__Params(this); } } export class WithdrawStuckERC1155__Params { _event: WithdrawStuckERC1155; constructor(event: WithdrawStuckERC1155) { this._event = event; } get receiver(): Address { return this._event.parameters[0].value.toAddress(); } get tokenAddress(): Address { return this._event.parameters[1].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[2].value.toBigInt(); } get amount(): BigInt { return this._event.parameters[3].value.toBigInt(); } } export class WithdrawStuckERC20 extends ethereum.Event { get params(): WithdrawStuckERC20__Params { return new WithdrawStuckERC20__Params(this); } } export class WithdrawStuckERC20__Params { _event: WithdrawStuckERC20; constructor(event: WithdrawStuckERC20) { this._event = event; } get receiver(): Address { return this._event.parameters[0].value.toAddress(); } get tokenAddress(): Address { return this._event.parameters[1].value.toAddress(); } get amount(): BigInt { return this._event.parameters[2].value.toBigInt(); } } export class WithdrawStuckERC721 extends ethereum.Event { get params(): WithdrawStuckERC721__Params { return new WithdrawStuckERC721__Params(this); } } export class WithdrawStuckERC721__Params { _event: WithdrawStuckERC721; constructor(event: WithdrawStuckERC721) { this._event = event; } get receiver(): Address { return this._event.parameters[0].value.toAddress(); } get tokenAddress(): Address { return this._event.parameters[1].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[2].value.toBigInt(); } } export class WithdrawStuckEther extends ethereum.Event { get params(): WithdrawStuckEther__Params { return new WithdrawStuckEther__Params(this); } } export class WithdrawStuckEther__Params { _event: WithdrawStuckEther; constructor(event: WithdrawStuckEther) { this._event = event; } get receiver(): Address { return this._event.parameters[0].value.toAddress(); } get amount(): BigInt { return this._event.parameters[1].value.toBigInt(); } } export class Lepton extends ethereum.SmartContract { static bind(address: Address): Lepton { return new Lepton("Lepton", address); } balanceOf(owner: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ ethereum.Value.fromAddress(owner) ]); return result[0].toBigInt(); } try_balanceOf(owner: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ ethereum.Value.fromAddress(owner) ]); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } getApproved(tokenId: BigInt): Address { let result = super.call("getApproved", "getApproved(uint256):(address)", [ ethereum.Value.fromUnsignedBigInt(tokenId) ]); return result[0].toAddress(); } try_getApproved(tokenId: BigInt): ethereum.CallResult
{ let result = super.tryCall( "getApproved", "getApproved(uint256):(address)", [ethereum.Value.fromUnsignedBigInt(tokenId)] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toAddress()); } getBonus(tokenId: BigInt): BigInt { let result = super.call("getBonus", "getBonus(uint256):(uint256)", [ ethereum.Value.fromUnsignedBigInt(tokenId) ]); return result[0].toBigInt(); } try_getBonus(tokenId: BigInt): ethereum.CallResult { let result = super.tryCall("getBonus", "getBonus(uint256):(uint256)", [ ethereum.Value.fromUnsignedBigInt(tokenId) ]); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } getMultiplier(tokenId: BigInt): BigInt { let result = super.call( "getMultiplier", "getMultiplier(uint256):(uint256)", [ethereum.Value.fromUnsignedBigInt(tokenId)] ); return result[0].toBigInt(); } try_getMultiplier(tokenId: BigInt): ethereum.CallResult { let result = super.tryCall( "getMultiplier", "getMultiplier(uint256):(uint256)", [ethereum.Value.fromUnsignedBigInt(tokenId)] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } getNextPrice(): BigInt { let result = super.call("getNextPrice", "getNextPrice():(uint256)", []); return result[0].toBigInt(); } try_getNextPrice(): ethereum.CallResult { let result = super.tryCall("getNextPrice", "getNextPrice():(uint256)", []); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } getNextType(): BigInt { let result = super.call("getNextType", "getNextType():(uint256)", []); return result[0].toBigInt(); } try_getNextType(): ethereum.CallResult { let result = super.tryCall("getNextType", "getNextType():(uint256)", []); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } isApprovedForAll(owner: Address, operator: Address): boolean { let result = super.call( "isApprovedForAll", "isApprovedForAll(address,address):(bool)", [ethereum.Value.fromAddress(owner), ethereum.Value.fromAddress(operator)] ); return result[0].toBoolean(); } try_isApprovedForAll( owner: Address, operator: Address ): ethereum.CallResult { let result = super.tryCall( "isApprovedForAll", "isApprovedForAll(address,address):(bool)", [ethereum.Value.fromAddress(owner), ethereum.Value.fromAddress(operator)] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBoolean()); } name(): string { let result = super.call("name", "name():(string)", []); return result[0].toString(); } try_name(): ethereum.CallResult { let result = super.tryCall("name", "name():(string)", []); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toString()); } owner(): Address { let result = super.call("owner", "owner():(address)", []); return result[0].toAddress(); } try_owner(): ethereum.CallResult
{ let result = super.tryCall("owner", "owner():(address)", []); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toAddress()); } ownerOf(tokenId: BigInt): Address { let result = super.call("ownerOf", "ownerOf(uint256):(address)", [ ethereum.Value.fromUnsignedBigInt(tokenId) ]); return result[0].toAddress(); } try_ownerOf(tokenId: BigInt): ethereum.CallResult
{ let result = super.tryCall("ownerOf", "ownerOf(uint256):(address)", [ ethereum.Value.fromUnsignedBigInt(tokenId) ]); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toAddress()); } supportsInterface(interfaceId: Bytes): boolean { let result = super.call( "supportsInterface", "supportsInterface(bytes4):(bool)", [ethereum.Value.fromFixedBytes(interfaceId)] ); return result[0].toBoolean(); } try_supportsInterface(interfaceId: Bytes): ethereum.CallResult { let result = super.tryCall( "supportsInterface", "supportsInterface(bytes4):(bool)", [ethereum.Value.fromFixedBytes(interfaceId)] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBoolean()); } symbol(): string { let result = super.call("symbol", "symbol():(string)", []); return result[0].toString(); } try_symbol(): ethereum.CallResult { let result = super.tryCall("symbol", "symbol():(string)", []); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toString()); } tokenByIndex(index: BigInt): BigInt { let result = super.call("tokenByIndex", "tokenByIndex(uint256):(uint256)", [ ethereum.Value.fromUnsignedBigInt(index) ]); return result[0].toBigInt(); } try_tokenByIndex(index: BigInt): ethereum.CallResult { let result = super.tryCall( "tokenByIndex", "tokenByIndex(uint256):(uint256)", [ethereum.Value.fromUnsignedBigInt(index)] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } tokenOfOwnerByIndex(owner: Address, index: BigInt): BigInt { let result = super.call( "tokenOfOwnerByIndex", "tokenOfOwnerByIndex(address,uint256):(uint256)", [ ethereum.Value.fromAddress(owner), ethereum.Value.fromUnsignedBigInt(index) ] ); return result[0].toBigInt(); } try_tokenOfOwnerByIndex( owner: Address, index: BigInt ): ethereum.CallResult { let result = super.tryCall( "tokenOfOwnerByIndex", "tokenOfOwnerByIndex(address,uint256):(uint256)", [ ethereum.Value.fromAddress(owner), ethereum.Value.fromUnsignedBigInt(index) ] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } tokenURI(tokenId: BigInt): string { let result = super.call("tokenURI", "tokenURI(uint256):(string)", [ ethereum.Value.fromUnsignedBigInt(tokenId) ]); return result[0].toString(); } try_tokenURI(tokenId: BigInt): ethereum.CallResult { let result = super.tryCall("tokenURI", "tokenURI(uint256):(string)", [ ethereum.Value.fromUnsignedBigInt(tokenId) ]); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toString()); } totalSupply(): BigInt { let result = super.call("totalSupply", "totalSupply():(uint256)", []); return result[0].toBigInt(); } try_totalSupply(): ethereum.CallResult { let result = super.tryCall("totalSupply", "totalSupply():(uint256)", []); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } } export class ConstructorCall extends ethereum.Call { get inputs(): ConstructorCall__Inputs { return new ConstructorCall__Inputs(this); } get outputs(): ConstructorCall__Outputs { return new ConstructorCall__Outputs(this); } } export class ConstructorCall__Inputs { _call: ConstructorCall; constructor(call: ConstructorCall) { this._call = call; } } export class ConstructorCall__Outputs { _call: ConstructorCall; constructor(call: ConstructorCall) { this._call = call; } } export class AddLeptonTypeCall extends ethereum.Call { get inputs(): AddLeptonTypeCall__Inputs { return new AddLeptonTypeCall__Inputs(this); } get outputs(): AddLeptonTypeCall__Outputs { return new AddLeptonTypeCall__Outputs(this); } } export class AddLeptonTypeCall__Inputs { _call: AddLeptonTypeCall; constructor(call: AddLeptonTypeCall) { this._call = call; } get tokenUri(): string { return this._call.inputValues[0].value.toString(); } get price(): BigInt { return this._call.inputValues[1].value.toBigInt(); } get supply(): BigInt { return this._call.inputValues[2].value.toBigInt(); } get multiplier(): BigInt { return this._call.inputValues[3].value.toBigInt(); } get bonus(): BigInt { return this._call.inputValues[4].value.toBigInt(); } } export class AddLeptonTypeCall__Outputs { _call: AddLeptonTypeCall; constructor(call: AddLeptonTypeCall) { this._call = call; } } export class ApproveCall extends ethereum.Call { get inputs(): ApproveCall__Inputs { return new ApproveCall__Inputs(this); } get outputs(): ApproveCall__Outputs { return new ApproveCall__Outputs(this); } } export class ApproveCall__Inputs { _call: ApproveCall; constructor(call: ApproveCall) { this._call = call; } get to(): Address { return this._call.inputValues[0].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[1].value.toBigInt(); } } export class ApproveCall__Outputs { _call: ApproveCall; constructor(call: ApproveCall) { this._call = call; } } export class BatchMintLeptonCall extends ethereum.Call { get inputs(): BatchMintLeptonCall__Inputs { return new BatchMintLeptonCall__Inputs(this); } get outputs(): BatchMintLeptonCall__Outputs { return new BatchMintLeptonCall__Outputs(this); } } export class BatchMintLeptonCall__Inputs { _call: BatchMintLeptonCall; constructor(call: BatchMintLeptonCall) { this._call = call; } get count(): BigInt { return this._call.inputValues[0].value.toBigInt(); } } export class BatchMintLeptonCall__Outputs { _call: BatchMintLeptonCall; constructor(call: BatchMintLeptonCall) { this._call = call; } } export class MintLeptonCall extends ethereum.Call { get inputs(): MintLeptonCall__Inputs { return new MintLeptonCall__Inputs(this); } get outputs(): MintLeptonCall__Outputs { return new MintLeptonCall__Outputs(this); } } export class MintLeptonCall__Inputs { _call: MintLeptonCall; constructor(call: MintLeptonCall) { this._call = call; } } export class MintLeptonCall__Outputs { _call: MintLeptonCall; constructor(call: MintLeptonCall) { this._call = call; } get newTokenId(): BigInt { return this._call.outputValues[0].value.toBigInt(); } } export class RenounceOwnershipCall extends ethereum.Call { get inputs(): RenounceOwnershipCall__Inputs { return new RenounceOwnershipCall__Inputs(this); } get outputs(): RenounceOwnershipCall__Outputs { return new RenounceOwnershipCall__Outputs(this); } } export class RenounceOwnershipCall__Inputs { _call: RenounceOwnershipCall; constructor(call: RenounceOwnershipCall) { this._call = call; } } export class RenounceOwnershipCall__Outputs { _call: RenounceOwnershipCall; constructor(call: RenounceOwnershipCall) { this._call = call; } } export class SafeTransferFromCall extends ethereum.Call { get inputs(): SafeTransferFromCall__Inputs { return new SafeTransferFromCall__Inputs(this); } get outputs(): SafeTransferFromCall__Outputs { return new SafeTransferFromCall__Outputs(this); } } export class SafeTransferFromCall__Inputs { _call: SafeTransferFromCall; constructor(call: SafeTransferFromCall) { this._call = call; } get from(): Address { return this._call.inputValues[0].value.toAddress(); } get to(): Address { return this._call.inputValues[1].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[2].value.toBigInt(); } } export class SafeTransferFromCall__Outputs { _call: SafeTransferFromCall; constructor(call: SafeTransferFromCall) { this._call = call; } } export class SafeTransferFrom1Call extends ethereum.Call { get inputs(): SafeTransferFrom1Call__Inputs { return new SafeTransferFrom1Call__Inputs(this); } get outputs(): SafeTransferFrom1Call__Outputs { return new SafeTransferFrom1Call__Outputs(this); } } export class SafeTransferFrom1Call__Inputs { _call: SafeTransferFrom1Call; constructor(call: SafeTransferFrom1Call) { this._call = call; } get from(): Address { return this._call.inputValues[0].value.toAddress(); } get to(): Address { return this._call.inputValues[1].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[2].value.toBigInt(); } get _data(): Bytes { return this._call.inputValues[3].value.toBytes(); } } export class SafeTransferFrom1Call__Outputs { _call: SafeTransferFrom1Call; constructor(call: SafeTransferFrom1Call) { this._call = call; } } export class SetApprovalForAllCall extends ethereum.Call { get inputs(): SetApprovalForAllCall__Inputs { return new SetApprovalForAllCall__Inputs(this); } get outputs(): SetApprovalForAllCall__Outputs { return new SetApprovalForAllCall__Outputs(this); } } export class SetApprovalForAllCall__Inputs { _call: SetApprovalForAllCall; constructor(call: SetApprovalForAllCall) { this._call = call; } get operator(): Address { return this._call.inputValues[0].value.toAddress(); } get approved(): boolean { return this._call.inputValues[1].value.toBoolean(); } } export class SetApprovalForAllCall__Outputs { _call: SetApprovalForAllCall; constructor(call: SetApprovalForAllCall) { this._call = call; } } export class SetMaxMintPerTxCall extends ethereum.Call { get inputs(): SetMaxMintPerTxCall__Inputs { return new SetMaxMintPerTxCall__Inputs(this); } get outputs(): SetMaxMintPerTxCall__Outputs { return new SetMaxMintPerTxCall__Outputs(this); } } export class SetMaxMintPerTxCall__Inputs { _call: SetMaxMintPerTxCall; constructor(call: SetMaxMintPerTxCall) { this._call = call; } get maxAmount(): BigInt { return this._call.inputValues[0].value.toBigInt(); } } export class SetMaxMintPerTxCall__Outputs { _call: SetMaxMintPerTxCall; constructor(call: SetMaxMintPerTxCall) { this._call = call; } } export class SetPausedStateCall extends ethereum.Call { get inputs(): SetPausedStateCall__Inputs { return new SetPausedStateCall__Inputs(this); } get outputs(): SetPausedStateCall__Outputs { return new SetPausedStateCall__Outputs(this); } } export class SetPausedStateCall__Inputs { _call: SetPausedStateCall; constructor(call: SetPausedStateCall) { this._call = call; } get state(): boolean { return this._call.inputValues[0].value.toBoolean(); } } export class SetPausedStateCall__Outputs { _call: SetPausedStateCall; constructor(call: SetPausedStateCall) { this._call = call; } } export class TransferFromCall extends ethereum.Call { get inputs(): TransferFromCall__Inputs { return new TransferFromCall__Inputs(this); } get outputs(): TransferFromCall__Outputs { return new TransferFromCall__Outputs(this); } } export class TransferFromCall__Inputs { _call: TransferFromCall; constructor(call: TransferFromCall) { this._call = call; } get from(): Address { return this._call.inputValues[0].value.toAddress(); } get to(): Address { return this._call.inputValues[1].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[2].value.toBigInt(); } } export class TransferFromCall__Outputs { _call: TransferFromCall; constructor(call: TransferFromCall) { this._call = call; } } export class TransferOwnershipCall extends ethereum.Call { get inputs(): TransferOwnershipCall__Inputs { return new TransferOwnershipCall__Inputs(this); } get outputs(): TransferOwnershipCall__Outputs { return new TransferOwnershipCall__Outputs(this); } } export class TransferOwnershipCall__Inputs { _call: TransferOwnershipCall; constructor(call: TransferOwnershipCall) { this._call = call; } get newOwner(): Address { return this._call.inputValues[0].value.toAddress(); } } export class TransferOwnershipCall__Outputs { _call: TransferOwnershipCall; constructor(call: TransferOwnershipCall) { this._call = call; } } export class UpdateLeptonTypeCall extends ethereum.Call { get inputs(): UpdateLeptonTypeCall__Inputs { return new UpdateLeptonTypeCall__Inputs(this); } get outputs(): UpdateLeptonTypeCall__Outputs { return new UpdateLeptonTypeCall__Outputs(this); } } export class UpdateLeptonTypeCall__Inputs { _call: UpdateLeptonTypeCall; constructor(call: UpdateLeptonTypeCall) { this._call = call; } get leptonIndex(): BigInt { return this._call.inputValues[0].value.toBigInt(); } get tokenUri(): string { return this._call.inputValues[1].value.toString(); } get price(): BigInt { return this._call.inputValues[2].value.toBigInt(); } get supply(): BigInt { return this._call.inputValues[3].value.toBigInt(); } get multiplier(): BigInt { return this._call.inputValues[4].value.toBigInt(); } get bonus(): BigInt { return this._call.inputValues[5].value.toBigInt(); } } export class UpdateLeptonTypeCall__Outputs { _call: UpdateLeptonTypeCall; constructor(call: UpdateLeptonTypeCall) { this._call = call; } } export class WithdrawERC721Call extends ethereum.Call { get inputs(): WithdrawERC721Call__Inputs { return new WithdrawERC721Call__Inputs(this); } get outputs(): WithdrawERC721Call__Outputs { return new WithdrawERC721Call__Outputs(this); } } export class WithdrawERC721Call__Inputs { _call: WithdrawERC721Call; constructor(call: WithdrawERC721Call) { this._call = call; } get receiver(): Address { return this._call.inputValues[0].value.toAddress(); } get tokenAddress(): Address { return this._call.inputValues[1].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[2].value.toBigInt(); } } export class WithdrawERC721Call__Outputs { _call: WithdrawERC721Call; constructor(call: WithdrawERC721Call) { this._call = call; } } export class WithdrawErc20Call extends ethereum.Call { get inputs(): WithdrawErc20Call__Inputs { return new WithdrawErc20Call__Inputs(this); } get outputs(): WithdrawErc20Call__Outputs { return new WithdrawErc20Call__Outputs(this); } } export class WithdrawErc20Call__Inputs { _call: WithdrawErc20Call; constructor(call: WithdrawErc20Call) { this._call = call; } get receiver(): Address { return this._call.inputValues[0].value.toAddress(); } get tokenAddress(): Address { return this._call.inputValues[1].value.toAddress(); } get amount(): BigInt { return this._call.inputValues[2].value.toBigInt(); } } export class WithdrawErc20Call__Outputs { _call: WithdrawErc20Call; constructor(call: WithdrawErc20Call) { this._call = call; } } export class WithdrawEtherCall extends ethereum.Call { get inputs(): WithdrawEtherCall__Inputs { return new WithdrawEtherCall__Inputs(this); } get outputs(): WithdrawEtherCall__Outputs { return new WithdrawEtherCall__Outputs(this); } } export class WithdrawEtherCall__Inputs { _call: WithdrawEtherCall; constructor(call: WithdrawEtherCall) { this._call = call; } get receiver(): Address { return this._call.inputValues[0].value.toAddress(); } get amount(): BigInt { return this._call.inputValues[1].value.toBigInt(); } } export class WithdrawEtherCall__Outputs { _call: WithdrawEtherCall; constructor(call: WithdrawEtherCall) { this._call = call; } }