Skip to content
Verified contractPartialMIT

SeriesParameters

Address0x11fb5efb95d04cfdccb2c2b6d45474eef48481cb
Balance

0 ETH

 

Transactions

6

 

Compiler

solc 0.8.26

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.26+commit.8a97fa7a
Language
solidity
Optimization
Yes, 200 runs
EVM version
cancun
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,323,040
Creation transaction
0xab7b2d2f3e…52a3283f5d

Read21

  • MAX_BANDS() → (uint256)
  • MAX_FEE_BPS() → (uint16)
  • MAX_GATE_WINDOW_DAYS() → (uint16)
  • MAX_MANAGEMENT_BPS() → (uint16)
  • MAX_PERFORMANCE_BPS() → (uint16)
  • entryBpsOf(address) → (uint16)
  • exitBpsFor(address,uint256) → (uint16)
  • exitScheduleOf(address) → (tuple[])
  • feeLedger() → (address)
  • feesFor(address,uint256,uint32,uint32) → (uint16,uint16)
  • gateOf(address) → (tuple)
  • governance() → (address)
  • initializer() → (address)
  • initializerUntil() → (uint64)
  • isSet(address) → (bool)
  • minRedeemOf(address) → (uint128)
  • navFeesOf(address) → (uint16,uint16)
  • switchBpsFor(address,uint256) → (uint16)
  • switchScheduleOf(address) → (tuple[])
  • termsOf(address) → (tuple)
  • versionsOf(address) → (uint32,uint32)

Write8

  • initialise(address,uint16,tuple[],tuple[],uint16,uint16,tuple)
  • setEntryFee(address,uint16)
  • setExitSchedule(address,tuple[])
  • setFeeLedger(address)
  • setGate(address,tuple)
  • setMinRedeem(address,uint128)
  • setNavFees(address,uint16,uint16)
  • setSwitchSchedule(address,tuple[])

Events7

  • EntryFeeSet(address,uint16)
  • ExitScheduleSet(address,tuple[])
  • FeeLedgerSet(address)
  • GateSet(address,uint16,uint16,uint16)
  • MinRedeemSet(address,uint128)
  • NavFeesSet(address,uint16,uint16)
  • SwitchScheduleSet(address,tuple[])

Errors11

  • AlreadySet(address)
  • FeeTooHigh(uint16)
  • GateInvalid()
  • LedgerSet()
  • ManagementTooHigh(uint16)
  • NotGovernance()
  • NotInitializer()
  • PerformanceTooHigh(uint16)
  • ScheduleInvalid()
  • TermsNotSet(address)
  • ZeroAddress()

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "governance_",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "initializer_",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "AlreadySet",
    "type": "error",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "name": "FeeTooHigh",
    "type": "error",
    "inputs": [
      {
        "name": "bps",
        "type": "uint16",
        "internalType": "uint16"
      }
    ]
  },
  {
    "name": "GateInvalid",
    "type": "error",
    "inputs": []
  },
  {
    "name": "LedgerSet",
    "type": "error",
    "inputs": []
  },
  {
    "name": "ManagementTooHigh",
    "type": "error",
    "inputs": [
      {
        "name": "bps",
        "type": "uint16",
        "internalType": "uint16"
      }
    ]
  },
  {
    "name": "NotGovernance",
    "type": "error",
    "inputs": []
  },
  {
    "name": "NotInitializer",
    "type": "error",
    "inputs": []
  },
  {
    "name": "PerformanceTooHigh",
    "type": "error",
    "inputs": [
      {
        "name": "bps",
        "type": "uint16",
        "internalType": "uint16"
      }
    ]
  },
  {
    "name": "ScheduleInvalid",
    "type": "error",
    "inputs": []
  },
  {
    "name": "TermsNotSet",
    "type": "error",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "name": "ZeroAddress",
    "type": "error",
    "inputs": []
  },
  {
    "name": "EntryFeeSet",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "bps",
        "type": "uint16",
        "indexed": false,
        "internalType": "uint16"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ExitScheduleSet",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "bands",
        "type": "tuple[]",
        "indexed": false,
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      }
    ],
    "anonymous": false
  },
  {
    "name": "FeeLedgerSet",
    "type": "event",
    "inputs": [
      {
        "name": "ledger",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "GateSet",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "bps",
        "type": "uint16",
        "indexed": false,
        "internalType": "uint16"
      },
      {
        "name": "windowDays",
        "type": "uint16",
        "indexed": false,
        "internalType": "uint16"
      },
      {
        "name": "maxWaitDays",
        "type": "uint16",
        "indexed": false,
        "internalType": "uint16"
      }
    ],
    "anonymous": false
  },
  {
    "name": "MinRedeemSet",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "units",
        "type": "uint128",
        "indexed": false,
        "internalType": "uint128"
      }
    ],
    "anonymous": false
  },
  {
    "name": "NavFeesSet",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "managementBps",
        "type": "uint16",
        "indexed": false,
        "internalType": "uint16"
      },
      {
        "name": "performanceBps",
        "type": "uint16",
        "indexed": false,
        "internalType": "uint16"
      }
    ],
    "anonymous": false
  },
  {
    "name": "SwitchScheduleSet",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "bands",
        "type": "tuple[]",
        "indexed": false,
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      }
    ],
    "anonymous": false
  },
  {
    "name": "MAX_BANDS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MAX_FEE_BPS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MAX_GATE_WINDOW_DAYS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MAX_MANAGEMENT_BPS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MAX_PERFORMANCE_BPS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "entryBpsOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "exitBpsFor",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "ageDays",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "exitScheduleOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple[]",
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "feeLedger",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "feesFor",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "ageDays",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "exitVersion",
        "type": "uint32",
        "internalType": "uint32"
      },
      {
        "name": "switchVersion",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "outputs": [
      {
        "name": "exitBps",
        "type": "uint16",
        "internalType": "uint16"
      },
      {
        "name": "switchBps",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "gateOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "windowDays",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "maxWaitDays",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Gate"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "governance",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "initialise",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "entryBps",
        "type": "uint16",
        "internalType": "uint16"
      },
      {
        "name": "exit",
        "type": "tuple[]",
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      },
      {
        "name": "switching",
        "type": "tuple[]",
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      },
      {
        "name": "managementBps",
        "type": "uint16",
        "internalType": "uint16"
      },
      {
        "name": "performanceBps",
        "type": "uint16",
        "internalType": "uint16"
      },
      {
        "name": "gate",
        "type": "tuple",
        "components": [
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "windowDays",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "maxWaitDays",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Gate"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "initializer",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "initializerUntil",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "isSet",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "minRedeemOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint128",
        "internalType": "uint128"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "navFeesOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "managementBps",
        "type": "uint16",
        "internalType": "uint16"
      },
      {
        "name": "performanceBps",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "setEntryFee",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "bps",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setExitSchedule",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "bands",
        "type": "tuple[]",
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setFeeLedger",
    "type": "function",
    "inputs": [
      {
        "name": "ledger",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGate",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "gate",
        "type": "tuple",
        "components": [
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "windowDays",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "maxWaitDays",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Gate"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setMinRedeem",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "units",
        "type": "uint128",
        "internalType": "uint128"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setNavFees",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "managementBps",
        "type": "uint16",
        "internalType": "uint16"
      },
      {
        "name": "performanceBps",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setSwitchSchedule",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "bands",
        "type": "tuple[]",
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "switchBpsFor",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "ageDays",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint16",
        "internalType": "uint16"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "switchScheduleOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple[]",
        "components": [
          {
            "name": "untilDays",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "bps",
            "type": "uint16",
            "internalType": "uint16"
          }
        ],
        "internalType": "struct SeriesParameters.Band[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "termsOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "set",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "entryBps",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "managementBps",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "performanceBps",
            "type": "uint16",
            "internalType": "uint16"
          },
          {
            "name": "gate",
            "type": "tuple",
            "components": [
              {
                "name": "bps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "windowDays",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "maxWaitDays",
                "type": "uint16",
                "internalType": "uint16"
              }
            ],
            "internalType": "struct SeriesParameters.Gate"
          },
          {
            "name": "exit",
            "type": "tuple[]",
            "components": [
              {
                "name": "untilDays",
                "type": "uint32",
                "internalType": "uint32"
              },
              {
                "name": "bps",
                "type": "uint16",
                "internalType": "uint16"
              }
            ],
            "internalType": "struct SeriesParameters.Band[]"
          },
          {
            "name": "switching",
            "type": "tuple[]",
            "components": [
              {
                "name": "untilDays",
                "type": "uint32",
                "internalType": "uint32"
              },
              {
                "name": "bps",
                "type": "uint16",
                "internalType": "uint16"
              }
            ],
            "internalType": "struct SeriesParameters.Band[]"
          },
          {
            "name": "minRedeemUnits",
            "type": "uint128",
            "internalType": "uint128"
          }
        ],
        "internalType": "struct SeriesParameters.Terms"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "versionsOf",
    "type": "function",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "exitVersion",
        "type": "uint32",
        "internalType": "uint32"
      },
      {
        "name": "switchVersion",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "stateMutability": "view"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.