Skip to content
Verified contractExactAGPL-3.0-or-later

OrigamiLovToken

Address0xe567dcf433f97d787df2359bdbf95dfd2b7abf4e
Balance

0 ETH

 

Transactions

203

 

Compiler

solc 0.8.19

 

Same code

3 more contracts

 

Details

Compiler
solc 0.8.19+commit.7dd6d404
Language
solidity
Optimization
Yes, 10,000 runs
EVM version
paris
License
AGPL-3.0-or-later
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
19,892,163
Creation transaction
0xb336571160…f09bdac73c

Read39

  • API_VERSION() → (string)
  • DOMAIN_SEPARATOR() → (bytes32)
  • acceptedExitTokens() → (address[])
  • acceptedInvestTokens() → (address[])
  • accruedPerformanceFee() → (uint256)
  • allowance(address,address) → (uint256)
  • annualPerformanceFeeBps() → (uint48)
  • apiVersion() → (string)
  • areExitsPaused() → (bool)
  • areInvestmentsPaused() → (bool)
  • assetsAndLiabilities() → (uint256,uint256,uint256)
  • balanceOf(address) → (uint256)
  • baseToken() → (address)
  • decimals() → (uint8)
  • effectiveExposure() → (uint128)
  • eip712Domain() → (bytes1,string,string,uint256,address,bytes32,uint256[])
  • exitQuote(uint256,address,uint256,uint256) → (tuple,uint256[])
  • explicitFunctionAccess(address,bytes4) → (bool)
  • feeCollector() → (address)
  • getDynamicFeesBps() → (uint256,uint256)
  • investQuote(uint256,address,uint256,uint256) → (tuple,uint256[])
  • isMinter(address) → (bool)
  • lastPerformanceFeeTime() → (uint48)
  • manager() → (address)
  • maxExit(address) → (uint256)
  • maxInvest(address) → (uint256)
  • maxTotalSupply() → (uint256)
  • name() → (string)
  • nonces(address) → (uint256)
  • owner() → (address)
  • reserveToken() → (address)
  • reservesPerShare() → (uint256)
  • reservesToShares(uint256) → (uint256)
  • sharesToReserves(uint256) → (uint256)
  • symbol() → (string)
  • tokenPrices() → (address)
  • totalReserves() → (uint256)
  • totalSupply() → (uint256)
  • userALRange() → (uint128,uint128)

Write24

  • acceptOwner()
  • addMinter(address)
  • approve(address,uint256) → (bool)
  • burn(address,uint256)
  • collectPerformanceFees() → (uint256)
  • decreaseAllowance(address,uint256) → (bool)
  • exitToNative(tuple,address) → (uint256)
  • exitToToken(tuple,address) → (uint256)
  • increaseAllowance(address,uint256) → (bool)
  • investWithNative(tuple) → (uint256)
  • investWithToken(tuple) → (uint256)
  • mint(address,uint256)
  • permit(address,address,uint256,uint256,uint8,bytes32,bytes32)
  • proposeNewOwner(address)
  • recoverToken(address,address,uint256)
  • removeMinter(address)
  • setAnnualPerformanceFee(uint48)
  • setExplicitAccess(address,tuple[])
  • setFeeCollector(address)
  • setManager(address)
  • setMaxTotalSupply(uint256)
  • setTokenPrices(address)
  • transfer(address,uint256) → (bool)
  • transferFrom(address,address,uint256) → (bool)

Events16

  • AddedMinter(address)
  • Approval(address,address,uint256)
  • EIP712DomainChanged()
  • Exited(address,uint256,address,uint256,address)
  • ExplicitAccessSet(address,bytes4,bool)
  • FeeCollectorSet(address)
  • Invested(address,uint256,address,uint256)
  • ManagerSet(address)
  • MaxTotalSupplySet(uint256)
  • NewOwnerAccepted(address,address)
  • NewOwnerProposed(address,address,address)
  • PerformanceFeeSet(uint256)
  • PerformanceFeesCollected(address,uint256)
  • RemovedMinter(address)
  • TokenPricesSet(address)
  • Transfer(address,address,uint256)

Errors10

  • BreachedMaxTotalSupply(uint256,uint256)
  • CannotMintOrBurn(address)
  • ExpectedNonZero()
  • InvalidAccess()
  • InvalidAddress(address)
  • InvalidParam()
  • InvalidShortString()
  • PRBMath_MulDiv_Overflow(uint256,uint256,uint256)
  • StringTooLong(string)
  • Unsupported()

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_initialOwner",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_name",
        "type": "string",
        "internalType": "string"
      },
      {
        "name": "_symbol",
        "type": "string",
        "internalType": "string"
      },
      {
        "name": "_annualPerformanceFeeBps",
        "type": "uint48",
        "internalType": "uint48"
      },
      {
        "name": "_feeCollector",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_tokenPrices",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_maxTotalSupply",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "BreachedMaxTotalSupply",
    "type": "error",
    "inputs": [
      {
        "name": "totalSupply",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "maxTotalSupply",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "name": "CannotMintOrBurn",
    "type": "error",
    "inputs": [
      {
        "name": "caller",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "name": "ExpectedNonZero",
    "type": "error",
    "inputs": []
  },
  {
    "name": "InvalidAccess",
    "type": "error",
    "inputs": []
  },
  {
    "name": "InvalidAddress",
    "type": "error",
    "inputs": [
      {
        "name": "addr",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "name": "InvalidParam",
    "type": "error",
    "inputs": []
  },
  {
    "name": "InvalidShortString",
    "type": "error",
    "inputs": []
  },
  {
    "name": "PRBMath_MulDiv_Overflow",
    "type": "error",
    "inputs": [
      {
        "name": "x",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "y",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "denominator",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "name": "StringTooLong",
    "type": "error",
    "inputs": [
      {
        "name": "str",
        "type": "string",
        "internalType": "string"
      }
    ]
  },
  {
    "name": "Unsupported",
    "type": "error",
    "inputs": []
  },
  {
    "name": "AddedMinter",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Approval",
    "type": "event",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "spender",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "value",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "EIP712DomainChanged",
    "type": "event",
    "inputs": [],
    "anonymous": false
  },
  {
    "name": "Exited",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "investmentAmount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "toToken",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "toTokenAmount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "recipient",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ExplicitAccessSet",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "fnSelector",
        "type": "bytes4",
        "indexed": true,
        "internalType": "bytes4"
      },
      {
        "name": "value",
        "type": "bool",
        "indexed": true,
        "internalType": "bool"
      }
    ],
    "anonymous": false
  },
  {
    "name": "FeeCollectorSet",
    "type": "event",
    "inputs": [
      {
        "name": "feeCollector",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Invested",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "fromTokenAmount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "fromToken",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "investmentAmount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ManagerSet",
    "type": "event",
    "inputs": [
      {
        "name": "manager",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "MaxTotalSupplySet",
    "type": "event",
    "inputs": [
      {
        "name": "maxTotalSupply",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "NewOwnerAccepted",
    "type": "event",
    "inputs": [
      {
        "name": "oldOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "NewOwnerProposed",
    "type": "event",
    "inputs": [
      {
        "name": "oldOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "oldProposedOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newProposedOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "PerformanceFeeSet",
    "type": "event",
    "inputs": [
      {
        "name": "fee",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "PerformanceFeesCollected",
    "type": "event",
    "inputs": [
      {
        "name": "feeCollector",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "mintAmount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "RemovedMinter",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "TokenPricesSet",
    "type": "event",
    "inputs": [
      {
        "name": "_tokenPrices",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Transfer",
    "type": "event",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "value",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "API_VERSION",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "DOMAIN_SEPARATOR",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "acceptOwner",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "acceptedExitTokens",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "address[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "acceptedInvestTokens",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "address[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "accruedPerformanceFee",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "addMinter",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "allowance",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "spender",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "annualPerformanceFeeBps",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint48",
        "internalType": "uint48"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "apiVersion",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "name": "approve",
    "type": "function",
    "inputs": [
      {
        "name": "spender",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "areExitsPaused",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "areInvestmentsPaused",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "assetsAndLiabilities",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "balanceOf",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "baseToken",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "burn",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "collectPerformanceFees",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "decimals",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "decreaseAllowance",
    "type": "function",
    "inputs": [
      {
        "name": "spender",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "subtractedValue",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "effectiveExposure",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint128",
        "internalType": "uint128"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "eip712Domain",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "fields",
        "type": "bytes1",
        "internalType": "bytes1"
      },
      {
        "name": "name",
        "type": "string",
        "internalType": "string"
      },
      {
        "name": "version",
        "type": "string",
        "internalType": "string"
      },
      {
        "name": "chainId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "verifyingContract",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "salt",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "extensions",
        "type": "uint256[]",
        "internalType": "uint256[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "exitQuote",
    "type": "function",
    "inputs": [
      {
        "name": "investmentTokenAmount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "toToken",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "maxSlippageBps",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "deadline",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "quoteData",
        "type": "tuple",
        "components": [
          {
            "name": "investmentTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "toToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "maxSlippageBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "deadline",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "expectedToTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "minToTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "underlyingInvestmentQuoteData",
            "type": "bytes",
            "internalType": "bytes"
          }
        ],
        "internalType": "struct IOrigamiInvestment.ExitQuoteData"
      },
      {
        "name": "exitFeeBps",
        "type": "uint256[]",
        "internalType": "uint256[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "exitToNative",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "investmentTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "toToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "maxSlippageBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "deadline",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "expectedToTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "minToTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "underlyingInvestmentQuoteData",
            "type": "bytes",
            "internalType": "bytes"
          }
        ],
        "internalType": "struct IOrigamiInvestment.ExitQuoteData"
      },
      {
        "name": "",
        "type": "address",
        "internalType": "address payable"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "exitToToken",
    "type": "function",
    "inputs": [
      {
        "name": "quoteData",
        "type": "tuple",
        "components": [
          {
            "name": "investmentTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "toToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "maxSlippageBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "deadline",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "expectedToTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "minToTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "underlyingInvestmentQuoteData",
            "type": "bytes",
            "internalType": "bytes"
          }
        ],
        "internalType": "struct IOrigamiInvestment.ExitQuoteData"
      },
      {
        "name": "recipient",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "toTokenAmount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "explicitFunctionAccess",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "",
        "type": "bytes4",
        "internalType": "bytes4"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "feeCollector",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getDynamicFeesBps",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "depositFeeBps",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "exitFeeBps",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "increaseAllowance",
    "type": "function",
    "inputs": [
      {
        "name": "spender",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "addedValue",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "investQuote",
    "type": "function",
    "inputs": [
      {
        "name": "fromTokenAmount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "fromToken",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "maxSlippageBps",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "deadline",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "quoteData",
        "type": "tuple",
        "components": [
          {
            "name": "fromToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "fromTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "maxSlippageBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "deadline",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "expectedInvestmentAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "minInvestmentAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "underlyingInvestmentQuoteData",
            "type": "bytes",
            "internalType": "bytes"
          }
        ],
        "internalType": "struct IOrigamiInvestment.InvestQuoteData"
      },
      {
        "name": "investFeeBps",
        "type": "uint256[]",
        "internalType": "uint256[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "investWithNative",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "fromToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "fromTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "maxSlippageBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "deadline",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "expectedInvestmentAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "minInvestmentAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "underlyingInvestmentQuoteData",
            "type": "bytes",
            "internalType": "bytes"
          }
        ],
        "internalType": "struct IOrigamiInvestment.InvestQuoteData"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "payable"
  },
  {
    "name": "investWithToken",
    "type": "function",
    "inputs": [
      {
        "name": "quoteData",
        "type": "tuple",
        "components": [
          {
            "name": "fromToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "fromTokenAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "maxSlippageBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "deadline",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "expectedInvestmentAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "minInvestmentAmount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "underlyingInvestmentQuoteData",
            "type": "bytes",
            "internalType": "bytes"
          }
        ],
        "internalType": "struct IOrigamiInvestment.InvestQuoteData"
      }
    ],
    "outputs": [
      {
        "name": "investmentAmount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "isMinter",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "lastPerformanceFeeTime",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint48",
        "internalType": "uint48"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "manager",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IOrigamiOTokenManager"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "maxExit",
    "type": "function",
    "inputs": [
      {
        "name": "toToken",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "maxInvest",
    "type": "function",
    "inputs": [
      {
        "name": "fromToken",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "maxTotalSupply",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mint",
    "type": "function",
    "inputs": [
      {
        "name": "_to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "name",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "nonces",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "permit",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "spender",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "value",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "deadline",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "v",
        "type": "uint8",
        "internalType": "uint8"
      },
      {
        "name": "r",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "s",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "proposeNewOwner",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "recoverToken",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "removeMinter",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "reserveToken",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "reservesPerShare",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "reservesToShares",
    "type": "function",
    "inputs": [
      {
        "name": "reserves",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "setAnnualPerformanceFee",
    "type": "function",
    "inputs": [
      {
        "name": "_annualPerformanceFeeBps",
        "type": "uint48",
        "internalType": "uint48"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setExplicitAccess",
    "type": "function",
    "inputs": [
      {
        "name": "allowedCaller",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "access",
        "type": "tuple[]",
        "components": [
          {
            "name": "fnSelector",
            "type": "bytes4",
            "internalType": "bytes4"
          },
          {
            "name": "allowed",
            "type": "bool",
            "internalType": "bool"
          }
        ],
        "internalType": "struct IOrigamiElevatedAccess.ExplicitAccess[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setFeeCollector",
    "type": "function",
    "inputs": [
      {
        "name": "_feeCollector",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setManager",
    "type": "function",
    "inputs": [
      {
        "name": "_manager",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setMaxTotalSupply",
    "type": "function",
    "inputs": [
      {
        "name": "_maxTotalSupply",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setTokenPrices",
    "type": "function",
    "inputs": [
      {
        "name": "_tokenPrices",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "sharesToReserves",
    "type": "function",
    "inputs": [
      {
        "name": "shares",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "symbol",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "tokenPrices",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract ITokenPrices"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "totalReserves",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "totalSupply",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "transfer",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "transferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "userALRange",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint128",
        "internalType": "uint128"
      },
      {
        "name": "",
        "type": "uint128",
        "internalType": "uint128"
      }
    ],
    "stateMutability": "view"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.