// 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 AllowedAssetTokenSet extends ethereum.Event { get params(): AllowedAssetTokenSet__Params { return new AllowedAssetTokenSet__Params(this); } } export class AllowedAssetTokenSet__Params { _event: AllowedAssetTokenSet; constructor(event: AllowedAssetTokenSet) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get assetToken(): Address { return this._event.parameters[1].value.toAddress(); } get isAllowed(): boolean { return this._event.parameters[2].value.toBoolean(); } } export class AssetInvaliditySet extends ethereum.Event { get params(): AssetInvaliditySet__Params { return new AssetInvaliditySet__Params(this); } } export class AssetInvaliditySet__Params { _event: AssetInvaliditySet; constructor(event: AssetInvaliditySet) { this._event = event; } get assetToken(): Address { return this._event.parameters[0].value.toAddress(); } get invalidity(): boolean { return this._event.parameters[1].value.toBoolean(); } } export class AssetTokenLimitsSet extends ethereum.Event { get params(): AssetTokenLimitsSet__Params { return new AssetTokenLimitsSet__Params(this); } } export class AssetTokenLimitsSet__Params { _event: AssetTokenLimitsSet; constructor(event: AssetTokenLimitsSet) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get assetToken(): Address { return this._event.parameters[1].value.toAddress(); } get assetDepositMin(): BigInt { return this._event.parameters[2].value.toBigInt(); } get assetDepositMax(): BigInt { return this._event.parameters[3].value.toBigInt(); } } export class AssetTokenRestrictionsSet extends ethereum.Event { get params(): AssetTokenRestrictionsSet__Params { return new AssetTokenRestrictionsSet__Params(this); } } export class AssetTokenRestrictionsSet__Params { _event: AssetTokenRestrictionsSet; constructor(event: AssetTokenRestrictionsSet) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get restrictionsEnabled(): boolean { return this._event.parameters[1].value.toBoolean(); } } export class ControllerSet extends ethereum.Event { get params(): ControllerSet__Params { return new ControllerSet__Params(this); } } export class ControllerSet__Params { _event: ControllerSet; constructor(event: ControllerSet) { this._event = event; } get controllerAddress(): Address { return this._event.parameters[0].value.toAddress(); } get controllerId(): string { return this._event.parameters[1].value.toString(); } } export class DepositCapSet extends ethereum.Event { get params(): DepositCapSet__Params { return new DepositCapSet__Params(this); } } export class DepositCapSet__Params { _event: DepositCapSet; constructor(event: DepositCapSet) { this._event = event; } get assetToken(): Address { return this._event.parameters[0].value.toAddress(); } get depositCap(): BigInt { return this._event.parameters[1].value.toBigInt(); } } export class Initialized extends ethereum.Event { get params(): Initialized__Params { return new Initialized__Params(this); } } export class Initialized__Params { _event: Initialized; constructor(event: Initialized) { this._event = event; } get initiator(): Address { return this._event.parameters[0].value.toAddress(); } } export class MaxNftsSet extends ethereum.Event { get params(): MaxNftsSet__Params { return new MaxNftsSet__Params(this); } } export class MaxNftsSet__Params { _event: MaxNftsSet; constructor(event: MaxNftsSet) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get nftTokenAddress(): Address { return this._event.parameters[1].value.toAddress(); } get maxNfts(): BigInt { return this._event.parameters[2].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 PermsSetForBasket extends ethereum.Event { get params(): PermsSetForBasket__Params { return new PermsSetForBasket__Params(this); } } export class PermsSetForBasket__Params { _event: PermsSetForBasket; constructor(event: PermsSetForBasket) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get state(): boolean { return this._event.parameters[1].value.toBoolean(); } } export class PermsSetForCharge extends ethereum.Event { get params(): PermsSetForCharge__Params { return new PermsSetForCharge__Params(this); } } export class PermsSetForCharge__Params { _event: PermsSetForCharge; constructor(event: PermsSetForCharge) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get state(): boolean { return this._event.parameters[1].value.toBoolean(); } } export class PermsSetForTimelockAny extends ethereum.Event { get params(): PermsSetForTimelockAny__Params { return new PermsSetForTimelockAny__Params(this); } } export class PermsSetForTimelockAny__Params { _event: PermsSetForTimelockAny; constructor(event: PermsSetForTimelockAny) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get state(): boolean { return this._event.parameters[1].value.toBoolean(); } } export class PermsSetForTimelockSelf extends ethereum.Event { get params(): PermsSetForTimelockSelf__Params { return new PermsSetForTimelockSelf__Params(this); } } export class PermsSetForTimelockSelf__Params { _event: PermsSetForTimelockSelf; constructor(event: PermsSetForTimelockSelf) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get state(): boolean { return this._event.parameters[1].value.toBoolean(); } } export class RequiredBasketManagerSet extends ethereum.Event { get params(): RequiredBasketManagerSet__Params { return new RequiredBasketManagerSet__Params(this); } } export class RequiredBasketManagerSet__Params { _event: RequiredBasketManagerSet; constructor(event: RequiredBasketManagerSet) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get basketManager(): string { return this._event.parameters[1].value.toString(); } } export class RequiredWalletManagerSet extends ethereum.Event { get params(): RequiredWalletManagerSet__Params { return new RequiredWalletManagerSet__Params(this); } } export class RequiredWalletManagerSet__Params { _event: RequiredWalletManagerSet; constructor(event: RequiredWalletManagerSet) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get walletManager(): string { return this._event.parameters[1].value.toString(); } } export class TempLockExpirySet extends ethereum.Event { get params(): TempLockExpirySet__Params { return new TempLockExpirySet__Params(this); } } export class TempLockExpirySet__Params { _event: TempLockExpirySet; constructor(event: TempLockExpirySet) { this._event = event; } get expiryBlocks(): BigInt { return this._event.parameters[0].value.toBigInt(); } } export class TokenCreatorAnnuitiesRedirected extends ethereum.Event { get params(): TokenCreatorAnnuitiesRedirected__Params { return new TokenCreatorAnnuitiesRedirected__Params(this); } } export class TokenCreatorAnnuitiesRedirected__Params { _event: TokenCreatorAnnuitiesRedirected; constructor(event: TokenCreatorAnnuitiesRedirected) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[1].value.toBigInt(); } get redirectAddress(): Address { return this._event.parameters[2].value.toAddress(); } } export class TokenCreatorConfigsSet extends ethereum.Event { get params(): TokenCreatorConfigsSet__Params { return new TokenCreatorConfigsSet__Params(this); } } export class TokenCreatorConfigsSet__Params { _event: TokenCreatorConfigsSet; constructor(event: TokenCreatorConfigsSet) { this._event = event; } get contractAddress(): Address { return this._event.parameters[0].value.toAddress(); } get tokenId(): BigInt { return this._event.parameters[1].value.toBigInt(); } get creatorAddress(): Address { return this._event.parameters[2].value.toAddress(); } get annuityPercent(): 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 ChargedSettings__getAssetRequirementsResult { value0: string; value1: boolean; value2: boolean; value3: boolean; value4: BigInt; value5: BigInt; value6: BigInt; value7: boolean; constructor( value0: string, value1: boolean, value2: boolean, value3: boolean, value4: BigInt, value5: BigInt, value6: BigInt, value7: boolean ) { this.value0 = value0; this.value1 = value1; this.value2 = value2; this.value3 = value3; this.value4 = value4; this.value5 = value5; this.value6 = value6; this.value7 = value7; } toMap(): TypedMap { let map = new TypedMap(); map.set("value0", ethereum.Value.fromString(this.value0)); map.set("value1", ethereum.Value.fromBoolean(this.value1)); map.set("value2", ethereum.Value.fromBoolean(this.value2)); map.set("value3", ethereum.Value.fromBoolean(this.value3)); map.set("value4", ethereum.Value.fromUnsignedBigInt(this.value4)); map.set("value5", ethereum.Value.fromUnsignedBigInt(this.value5)); map.set("value6", ethereum.Value.fromUnsignedBigInt(this.value6)); map.set("value7", ethereum.Value.fromBoolean(this.value7)); return map; } } export class ChargedSettings__getCreatorAnnuitiesResult { value0: Address; value1: BigInt; constructor(value0: Address, value1: BigInt) { this.value0 = value0; this.value1 = value1; } toMap(): TypedMap { let map = new TypedMap(); map.set("value0", ethereum.Value.fromAddress(this.value0)); map.set("value1", ethereum.Value.fromUnsignedBigInt(this.value1)); return map; } } export class ChargedSettings__getNftAssetRequirementsResult { value0: string; value1: boolean; value2: BigInt; constructor(value0: string, value1: boolean, value2: BigInt) { this.value0 = value0; this.value1 = value1; this.value2 = value2; } toMap(): TypedMap { let map = new TypedMap(); map.set("value0", ethereum.Value.fromString(this.value0)); map.set("value1", ethereum.Value.fromBoolean(this.value1)); map.set("value2", ethereum.Value.fromUnsignedBigInt(this.value2)); return map; } } export class ChargedSettings__getTimelockApprovalsResult { value0: boolean; value1: boolean; constructor(value0: boolean, value1: boolean) { this.value0 = value0; this.value1 = value1; } toMap(): TypedMap { let map = new TypedMap(); map.set("value0", ethereum.Value.fromBoolean(this.value0)); map.set("value1", ethereum.Value.fromBoolean(this.value1)); return map; } } export class ChargedSettings extends ethereum.SmartContract { static bind(address: Address): ChargedSettings { return new ChargedSettings("ChargedSettings", address); } getAssetRequirements( contractAddress: Address, assetToken: Address ): ChargedSettings__getAssetRequirementsResult { let result = super.call( "getAssetRequirements", "getAssetRequirements(address,address):(string,bool,bool,bool,uint256,uint256,uint256,bool)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromAddress(assetToken) ] ); return new ChargedSettings__getAssetRequirementsResult( result[0].toString(), result[1].toBoolean(), result[2].toBoolean(), result[3].toBoolean(), result[4].toBigInt(), result[5].toBigInt(), result[6].toBigInt(), result[7].toBoolean() ); } try_getAssetRequirements( contractAddress: Address, assetToken: Address ): ethereum.CallResult { let result = super.tryCall( "getAssetRequirements", "getAssetRequirements(address,address):(string,bool,bool,bool,uint256,uint256,uint256,bool)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromAddress(assetToken) ] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue( new ChargedSettings__getAssetRequirementsResult( value[0].toString(), value[1].toBoolean(), value[2].toBoolean(), value[3].toBoolean(), value[4].toBigInt(), value[5].toBigInt(), value[6].toBigInt(), value[7].toBoolean() ) ); } getCreatorAnnuities( contractAddress: Address, tokenId: BigInt ): ChargedSettings__getCreatorAnnuitiesResult { let result = super.call( "getCreatorAnnuities", "getCreatorAnnuities(address,uint256):(address,uint256)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromUnsignedBigInt(tokenId) ] ); return new ChargedSettings__getCreatorAnnuitiesResult( result[0].toAddress(), result[1].toBigInt() ); } try_getCreatorAnnuities( contractAddress: Address, tokenId: BigInt ): ethereum.CallResult { let result = super.tryCall( "getCreatorAnnuities", "getCreatorAnnuities(address,uint256):(address,uint256)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromUnsignedBigInt(tokenId) ] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue( new ChargedSettings__getCreatorAnnuitiesResult( value[0].toAddress(), value[1].toBigInt() ) ); } getCreatorAnnuitiesRedirect( contractAddress: Address, tokenId: BigInt ): Address { let result = super.call( "getCreatorAnnuitiesRedirect", "getCreatorAnnuitiesRedirect(address,uint256):(address)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromUnsignedBigInt(tokenId) ] ); return result[0].toAddress(); } try_getCreatorAnnuitiesRedirect( contractAddress: Address, tokenId: BigInt ): ethereum.CallResult
{ let result = super.tryCall( "getCreatorAnnuitiesRedirect", "getCreatorAnnuitiesRedirect(address,uint256):(address)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromUnsignedBigInt(tokenId) ] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toAddress()); } getNftAssetRequirements( contractAddress: Address, nftTokenAddress: Address ): ChargedSettings__getNftAssetRequirementsResult { let result = super.call( "getNftAssetRequirements", "getNftAssetRequirements(address,address):(string,bool,uint256)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromAddress(nftTokenAddress) ] ); return new ChargedSettings__getNftAssetRequirementsResult( result[0].toString(), result[1].toBoolean(), result[2].toBigInt() ); } try_getNftAssetRequirements( contractAddress: Address, nftTokenAddress: Address ): ethereum.CallResult { let result = super.tryCall( "getNftAssetRequirements", "getNftAssetRequirements(address,address):(string,bool,uint256)", [ ethereum.Value.fromAddress(contractAddress), ethereum.Value.fromAddress(nftTokenAddress) ] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue( new ChargedSettings__getNftAssetRequirementsResult( value[0].toString(), value[1].toBoolean(), value[2].toBigInt() ) ); } getTempLockExpiryBlocks(): BigInt { let result = super.call( "getTempLockExpiryBlocks", "getTempLockExpiryBlocks():(uint256)", [] ); return result[0].toBigInt(); } try_getTempLockExpiryBlocks(): ethereum.CallResult { let result = super.tryCall( "getTempLockExpiryBlocks", "getTempLockExpiryBlocks():(uint256)", [] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBigInt()); } getTimelockApprovals( operator: Address ): ChargedSettings__getTimelockApprovalsResult { let result = super.call( "getTimelockApprovals", "getTimelockApprovals(address):(bool,bool)", [ethereum.Value.fromAddress(operator)] ); return new ChargedSettings__getTimelockApprovalsResult( result[0].toBoolean(), result[1].toBoolean() ); } try_getTimelockApprovals( operator: Address ): ethereum.CallResult { let result = super.tryCall( "getTimelockApprovals", "getTimelockApprovals(address):(bool,bool)", [ethereum.Value.fromAddress(operator)] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue( new ChargedSettings__getTimelockApprovalsResult( value[0].toBoolean(), value[1].toBoolean() ) ); } isTrustedForwarder(forwarder: Address): boolean { let result = super.call( "isTrustedForwarder", "isTrustedForwarder(address):(bool)", [ethereum.Value.fromAddress(forwarder)] ); return result[0].toBoolean(); } try_isTrustedForwarder(forwarder: Address): ethereum.CallResult { let result = super.tryCall( "isTrustedForwarder", "isTrustedForwarder(address):(bool)", [ethereum.Value.fromAddress(forwarder)] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toBoolean()); } 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()); } trustedForwarder(): Address { let result = super.call( "trustedForwarder", "trustedForwarder():(address)", [] ); return result[0].toAddress(); } try_trustedForwarder(): ethereum.CallResult
{ let result = super.tryCall( "trustedForwarder", "trustedForwarder():(address)", [] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toAddress()); } versionRecipient(): string { let result = super.call( "versionRecipient", "versionRecipient():(string)", [] ); return result[0].toString(); } try_versionRecipient(): ethereum.CallResult { let result = super.tryCall( "versionRecipient", "versionRecipient():(string)", [] ); if (result.reverted) { return new ethereum.CallResult(); } let value = result.value; return ethereum.CallResult.fromValue(value[0].toString()); } } export class EnableNftContractsCall extends ethereum.Call { get inputs(): EnableNftContractsCall__Inputs { return new EnableNftContractsCall__Inputs(this); } get outputs(): EnableNftContractsCall__Outputs { return new EnableNftContractsCall__Outputs(this); } } export class EnableNftContractsCall__Inputs { _call: EnableNftContractsCall; constructor(call: EnableNftContractsCall) { this._call = call; } get contracts(): Array
{ return this._call.inputValues[0].value.toAddressArray(); } } export class EnableNftContractsCall__Outputs { _call: EnableNftContractsCall; constructor(call: EnableNftContractsCall) { this._call = call; } } export class GetCreatorAnnuitiesCall extends ethereum.Call { get inputs(): GetCreatorAnnuitiesCall__Inputs { return new GetCreatorAnnuitiesCall__Inputs(this); } get outputs(): GetCreatorAnnuitiesCall__Outputs { return new GetCreatorAnnuitiesCall__Outputs(this); } } export class GetCreatorAnnuitiesCall__Inputs { _call: GetCreatorAnnuitiesCall; constructor(call: GetCreatorAnnuitiesCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[1].value.toBigInt(); } } export class GetCreatorAnnuitiesCall__Outputs { _call: GetCreatorAnnuitiesCall; constructor(call: GetCreatorAnnuitiesCall) { this._call = call; } get creator(): Address { return this._call.outputValues[0].value.toAddress(); } get annuityPct(): BigInt { return this._call.outputValues[1].value.toBigInt(); } } export class InitializeCall extends ethereum.Call { get inputs(): InitializeCall__Inputs { return new InitializeCall__Inputs(this); } get outputs(): InitializeCall__Outputs { return new InitializeCall__Outputs(this); } } export class InitializeCall__Inputs { _call: InitializeCall; constructor(call: InitializeCall) { this._call = call; } get initiator(): Address { return this._call.inputValues[0].value.toAddress(); } } export class InitializeCall__Outputs { _call: InitializeCall; constructor(call: InitializeCall) { this._call = call; } } export class MigrateTokenCall extends ethereum.Call { get inputs(): MigrateTokenCall__Inputs { return new MigrateTokenCall__Inputs(this); } get outputs(): MigrateTokenCall__Outputs { return new MigrateTokenCall__Outputs(this); } } export class MigrateTokenCall__Inputs { _call: MigrateTokenCall; constructor(call: MigrateTokenCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[1].value.toBigInt(); } get creator(): Address { return this._call.inputValues[2].value.toAddress(); } get annuityPercent(): BigInt { return this._call.inputValues[3].value.toBigInt(); } get annuityReceiver(): Address { return this._call.inputValues[4].value.toAddress(); } } export class MigrateTokenCall__Outputs { _call: MigrateTokenCall; constructor(call: MigrateTokenCall) { this._call = call; } } 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 SetAllowedAssetTokenCall extends ethereum.Call { get inputs(): SetAllowedAssetTokenCall__Inputs { return new SetAllowedAssetTokenCall__Inputs(this); } get outputs(): SetAllowedAssetTokenCall__Outputs { return new SetAllowedAssetTokenCall__Outputs(this); } } export class SetAllowedAssetTokenCall__Inputs { _call: SetAllowedAssetTokenCall; constructor(call: SetAllowedAssetTokenCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get assetToken(): Address { return this._call.inputValues[1].value.toAddress(); } get isAllowed(): boolean { return this._call.inputValues[2].value.toBoolean(); } } export class SetAllowedAssetTokenCall__Outputs { _call: SetAllowedAssetTokenCall; constructor(call: SetAllowedAssetTokenCall) { this._call = call; } } export class SetAssetInvalidityCall extends ethereum.Call { get inputs(): SetAssetInvalidityCall__Inputs { return new SetAssetInvalidityCall__Inputs(this); } get outputs(): SetAssetInvalidityCall__Outputs { return new SetAssetInvalidityCall__Outputs(this); } } export class SetAssetInvalidityCall__Inputs { _call: SetAssetInvalidityCall; constructor(call: SetAssetInvalidityCall) { this._call = call; } get assetToken(): Address { return this._call.inputValues[0].value.toAddress(); } get invalidity(): boolean { return this._call.inputValues[1].value.toBoolean(); } } export class SetAssetInvalidityCall__Outputs { _call: SetAssetInvalidityCall; constructor(call: SetAssetInvalidityCall) { this._call = call; } } export class SetAssetTokenLimitsCall extends ethereum.Call { get inputs(): SetAssetTokenLimitsCall__Inputs { return new SetAssetTokenLimitsCall__Inputs(this); } get outputs(): SetAssetTokenLimitsCall__Outputs { return new SetAssetTokenLimitsCall__Outputs(this); } } export class SetAssetTokenLimitsCall__Inputs { _call: SetAssetTokenLimitsCall; constructor(call: SetAssetTokenLimitsCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get assetToken(): Address { return this._call.inputValues[1].value.toAddress(); } get depositMin(): BigInt { return this._call.inputValues[2].value.toBigInt(); } get depositMax(): BigInt { return this._call.inputValues[3].value.toBigInt(); } } export class SetAssetTokenLimitsCall__Outputs { _call: SetAssetTokenLimitsCall; constructor(call: SetAssetTokenLimitsCall) { this._call = call; } } export class SetAssetTokenRestrictionsCall extends ethereum.Call { get inputs(): SetAssetTokenRestrictionsCall__Inputs { return new SetAssetTokenRestrictionsCall__Inputs(this); } get outputs(): SetAssetTokenRestrictionsCall__Outputs { return new SetAssetTokenRestrictionsCall__Outputs(this); } } export class SetAssetTokenRestrictionsCall__Inputs { _call: SetAssetTokenRestrictionsCall; constructor(call: SetAssetTokenRestrictionsCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get restrictionsEnabled(): boolean { return this._call.inputValues[1].value.toBoolean(); } } export class SetAssetTokenRestrictionsCall__Outputs { _call: SetAssetTokenRestrictionsCall; constructor(call: SetAssetTokenRestrictionsCall) { this._call = call; } } export class SetControllerCall extends ethereum.Call { get inputs(): SetControllerCall__Inputs { return new SetControllerCall__Inputs(this); } get outputs(): SetControllerCall__Outputs { return new SetControllerCall__Outputs(this); } } export class SetControllerCall__Inputs { _call: SetControllerCall; constructor(call: SetControllerCall) { this._call = call; } get controller(): Address { return this._call.inputValues[0].value.toAddress(); } get controllerId(): string { return this._call.inputValues[1].value.toString(); } } export class SetControllerCall__Outputs { _call: SetControllerCall; constructor(call: SetControllerCall) { this._call = call; } } export class SetCreatorAnnuitiesCall extends ethereum.Call { get inputs(): SetCreatorAnnuitiesCall__Inputs { return new SetCreatorAnnuitiesCall__Inputs(this); } get outputs(): SetCreatorAnnuitiesCall__Outputs { return new SetCreatorAnnuitiesCall__Outputs(this); } } export class SetCreatorAnnuitiesCall__Inputs { _call: SetCreatorAnnuitiesCall; constructor(call: SetCreatorAnnuitiesCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[1].value.toBigInt(); } get creator(): Address { return this._call.inputValues[2].value.toAddress(); } get annuityPercent(): BigInt { return this._call.inputValues[3].value.toBigInt(); } } export class SetCreatorAnnuitiesCall__Outputs { _call: SetCreatorAnnuitiesCall; constructor(call: SetCreatorAnnuitiesCall) { this._call = call; } } export class SetCreatorAnnuitiesRedirectCall extends ethereum.Call { get inputs(): SetCreatorAnnuitiesRedirectCall__Inputs { return new SetCreatorAnnuitiesRedirectCall__Inputs(this); } get outputs(): SetCreatorAnnuitiesRedirectCall__Outputs { return new SetCreatorAnnuitiesRedirectCall__Outputs(this); } } export class SetCreatorAnnuitiesRedirectCall__Inputs { _call: SetCreatorAnnuitiesRedirectCall; constructor(call: SetCreatorAnnuitiesRedirectCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get tokenId(): BigInt { return this._call.inputValues[1].value.toBigInt(); } get receiver(): Address { return this._call.inputValues[2].value.toAddress(); } } export class SetCreatorAnnuitiesRedirectCall__Outputs { _call: SetCreatorAnnuitiesRedirectCall; constructor(call: SetCreatorAnnuitiesRedirectCall) { this._call = call; } } export class SetDepositCapCall extends ethereum.Call { get inputs(): SetDepositCapCall__Inputs { return new SetDepositCapCall__Inputs(this); } get outputs(): SetDepositCapCall__Outputs { return new SetDepositCapCall__Outputs(this); } } export class SetDepositCapCall__Inputs { _call: SetDepositCapCall; constructor(call: SetDepositCapCall) { this._call = call; } get assetToken(): Address { return this._call.inputValues[0].value.toAddress(); } get cap(): BigInt { return this._call.inputValues[1].value.toBigInt(); } } export class SetDepositCapCall__Outputs { _call: SetDepositCapCall; constructor(call: SetDepositCapCall) { this._call = call; } } export class SetMaxNftsCall extends ethereum.Call { get inputs(): SetMaxNftsCall__Inputs { return new SetMaxNftsCall__Inputs(this); } get outputs(): SetMaxNftsCall__Outputs { return new SetMaxNftsCall__Outputs(this); } } export class SetMaxNftsCall__Inputs { _call: SetMaxNftsCall; constructor(call: SetMaxNftsCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get nftTokenAddress(): Address { return this._call.inputValues[1].value.toAddress(); } get maxNfts(): BigInt { return this._call.inputValues[2].value.toBigInt(); } } export class SetMaxNftsCall__Outputs { _call: SetMaxNftsCall; constructor(call: SetMaxNftsCall) { this._call = call; } } export class SetPermsForBasketCall extends ethereum.Call { get inputs(): SetPermsForBasketCall__Inputs { return new SetPermsForBasketCall__Inputs(this); } get outputs(): SetPermsForBasketCall__Outputs { return new SetPermsForBasketCall__Outputs(this); } } export class SetPermsForBasketCall__Inputs { _call: SetPermsForBasketCall; constructor(call: SetPermsForBasketCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get state(): boolean { return this._call.inputValues[1].value.toBoolean(); } } export class SetPermsForBasketCall__Outputs { _call: SetPermsForBasketCall; constructor(call: SetPermsForBasketCall) { this._call = call; } } export class SetPermsForChargeCall extends ethereum.Call { get inputs(): SetPermsForChargeCall__Inputs { return new SetPermsForChargeCall__Inputs(this); } get outputs(): SetPermsForChargeCall__Outputs { return new SetPermsForChargeCall__Outputs(this); } } export class SetPermsForChargeCall__Inputs { _call: SetPermsForChargeCall; constructor(call: SetPermsForChargeCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get state(): boolean { return this._call.inputValues[1].value.toBoolean(); } } export class SetPermsForChargeCall__Outputs { _call: SetPermsForChargeCall; constructor(call: SetPermsForChargeCall) { this._call = call; } } export class SetPermsForTimelockAnyCall extends ethereum.Call { get inputs(): SetPermsForTimelockAnyCall__Inputs { return new SetPermsForTimelockAnyCall__Inputs(this); } get outputs(): SetPermsForTimelockAnyCall__Outputs { return new SetPermsForTimelockAnyCall__Outputs(this); } } export class SetPermsForTimelockAnyCall__Inputs { _call: SetPermsForTimelockAnyCall; constructor(call: SetPermsForTimelockAnyCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get state(): boolean { return this._call.inputValues[1].value.toBoolean(); } } export class SetPermsForTimelockAnyCall__Outputs { _call: SetPermsForTimelockAnyCall; constructor(call: SetPermsForTimelockAnyCall) { this._call = call; } } export class SetPermsForTimelockSelfCall extends ethereum.Call { get inputs(): SetPermsForTimelockSelfCall__Inputs { return new SetPermsForTimelockSelfCall__Inputs(this); } get outputs(): SetPermsForTimelockSelfCall__Outputs { return new SetPermsForTimelockSelfCall__Outputs(this); } } export class SetPermsForTimelockSelfCall__Inputs { _call: SetPermsForTimelockSelfCall; constructor(call: SetPermsForTimelockSelfCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get state(): boolean { return this._call.inputValues[1].value.toBoolean(); } } export class SetPermsForTimelockSelfCall__Outputs { _call: SetPermsForTimelockSelfCall; constructor(call: SetPermsForTimelockSelfCall) { this._call = call; } } export class SetRequiredBasketManagerCall extends ethereum.Call { get inputs(): SetRequiredBasketManagerCall__Inputs { return new SetRequiredBasketManagerCall__Inputs(this); } get outputs(): SetRequiredBasketManagerCall__Outputs { return new SetRequiredBasketManagerCall__Outputs(this); } } export class SetRequiredBasketManagerCall__Inputs { _call: SetRequiredBasketManagerCall; constructor(call: SetRequiredBasketManagerCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get basketManager(): string { return this._call.inputValues[1].value.toString(); } } export class SetRequiredBasketManagerCall__Outputs { _call: SetRequiredBasketManagerCall; constructor(call: SetRequiredBasketManagerCall) { this._call = call; } } export class SetRequiredWalletManagerCall extends ethereum.Call { get inputs(): SetRequiredWalletManagerCall__Inputs { return new SetRequiredWalletManagerCall__Inputs(this); } get outputs(): SetRequiredWalletManagerCall__Outputs { return new SetRequiredWalletManagerCall__Outputs(this); } } export class SetRequiredWalletManagerCall__Inputs { _call: SetRequiredWalletManagerCall; constructor(call: SetRequiredWalletManagerCall) { this._call = call; } get contractAddress(): Address { return this._call.inputValues[0].value.toAddress(); } get walletManager(): string { return this._call.inputValues[1].value.toString(); } } export class SetRequiredWalletManagerCall__Outputs { _call: SetRequiredWalletManagerCall; constructor(call: SetRequiredWalletManagerCall) { this._call = call; } } export class SetTempLockExpiryBlocksCall extends ethereum.Call { get inputs(): SetTempLockExpiryBlocksCall__Inputs { return new SetTempLockExpiryBlocksCall__Inputs(this); } get outputs(): SetTempLockExpiryBlocksCall__Outputs { return new SetTempLockExpiryBlocksCall__Outputs(this); } } export class SetTempLockExpiryBlocksCall__Inputs { _call: SetTempLockExpiryBlocksCall; constructor(call: SetTempLockExpiryBlocksCall) { this._call = call; } get numBlocks(): BigInt { return this._call.inputValues[0].value.toBigInt(); } } export class SetTempLockExpiryBlocksCall__Outputs { _call: SetTempLockExpiryBlocksCall; constructor(call: SetTempLockExpiryBlocksCall) { this._call = call; } } export class SetTrustedForwarderCall extends ethereum.Call { get inputs(): SetTrustedForwarderCall__Inputs { return new SetTrustedForwarderCall__Inputs(this); } get outputs(): SetTrustedForwarderCall__Outputs { return new SetTrustedForwarderCall__Outputs(this); } } export class SetTrustedForwarderCall__Inputs { _call: SetTrustedForwarderCall; constructor(call: SetTrustedForwarderCall) { this._call = call; } get _trustedForwarder(): Address { return this._call.inputValues[0].value.toAddress(); } } export class SetTrustedForwarderCall__Outputs { _call: SetTrustedForwarderCall; constructor(call: SetTrustedForwarderCall) { 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 WithdrawERC1155Call extends ethereum.Call { get inputs(): WithdrawERC1155Call__Inputs { return new WithdrawERC1155Call__Inputs(this); } get outputs(): WithdrawERC1155Call__Outputs { return new WithdrawERC1155Call__Outputs(this); } } export class WithdrawERC1155Call__Inputs { _call: WithdrawERC1155Call; constructor(call: WithdrawERC1155Call) { 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(); } get amount(): BigInt { return this._call.inputValues[3].value.toBigInt(); } } export class WithdrawERC1155Call__Outputs { _call: WithdrawERC1155Call; constructor(call: WithdrawERC1155Call) { 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; } }