core

package
v0.1.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoreABI = CoreMetaData.ABI

CoreABI is the input ABI used to generate the binding from. Deprecated: Use CoreMetaData.ABI instead.

View Source
var CoreMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ImplementationIsSterile\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoChange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contr\",\"type\":\"address\"}],\"name\":\"NotAContract\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"NotNominated\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpgradeSimulationFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"self\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newNominatedOwner\",\"type\":\"address\"}],\"name\":\"nominateNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nominatedOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceNomination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"simulateUpgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ValueAlreadyInSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ValueNotInSet\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowAll\",\"type\":\"bool\"}],\"name\":\"FeatureFlagAllowAllSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"FeatureFlagAllowlistAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"FeatureFlagAllowlistRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"deniers\",\"type\":\"address[]\"}],\"name\":\"FeatureFlagDeniersReset\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"denyAll\",\"type\":\"bool\"}],\"name\":\"FeatureFlagDenyAllSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addToFeatureFlagAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getDeniers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagAllowAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagAllowlist\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagDenyAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isFeatureAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removeFromFeatureFlagAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"deniers\",\"type\":\"address[]\"}],\"name\":\"setDeniers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowAll\",\"type\":\"bool\"}],\"name\":\"setFeatureFlagAllowAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"denyAll\",\"type\":\"bool\"}],\"name\":\"setFeatureFlagDenyAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"which\",\"type\":\"bytes32\"}],\"name\":\"FeatureUnavailable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"InvalidAccountId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"}],\"name\":\"InvalidPermission\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"}],\"name\":\"OnlyAccountTokenProxy\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"PermissionDenied\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"PermissionNotGranted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PositionOutOfBounds\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"AccountCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"PermissionGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"PermissionRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"createAccount\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"requestedAccountId\",\"type\":\"uint128\"}],\"name\":\"createAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getAccountLastInteraction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getAccountOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"getAccountPermissions\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"permissions\",\"type\":\"bytes32[]\"}],\"internalType\":\"structIAccountModule.AccountPermissions[]\",\"name\":\"accountPerms\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAccountTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"grantPermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"hasPermission\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"isAuthorized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"notifyAccountTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"}],\"name\":\"renouncePermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"permission\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"revokePermission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"AccountNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyDistribution\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"collateralValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"debt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ratio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minRatio\",\"type\":\"uint256\"}],\"name\":\"InsufficientCollateralRatio\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"MarketNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"marketId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolId\",\"type\":\"uint256\"}],\"name\":\"NotFundedByPool\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowInt256ToInt128\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowInt256ToUint256\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint128ToInt128\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToInt256\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToUint128\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"updatedDebt\",\"type\":\"int256\"}],\"name\":\"DebtAssociated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"associateDebt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"MismatchAssociatedSystemKind\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"MissingAssociatedSystem\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proxy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"AssociatedSystemSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"getAssociatedSystem\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"initOrUpgradeNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"initOrUpgradeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"endpoint\",\"type\":\"address\"}],\"name\":\"registerUnmanagedSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"InvalidMessage\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"NotCcipRouter\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"UnsupportedNetwork\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"messageId\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"sourceChainSelector\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"sender\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structCcipClient.EVMTokenAmount[]\",\"name\":\"tokenAmounts\",\"type\":\"tuple[]\"}],\"internalType\":\"structCcipClient.Any2EVMMessage\",\"name\":\"message\",\"type\":\"tuple\"}],\"name\":\"ccipReceive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"currentTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requiredTime\",\"type\":\"uint256\"}],\"name\":\"AccountActivityTimeoutPending\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"CollateralDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CollateralNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"FailedTransfer\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountAvailableForDelegationD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountD18\",\"type\":\"uint256\"}],\"name\":\"InsufficentAvailableCollateral\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InsufficientAccountCollateral\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"existing\",\"type\":\"uint256\"}],\"name\":\"InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"parameter\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"InvalidParameter\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToUint64\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"PrecisionLost\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"expireTimestamp\",\"type\":\"uint64\"}],\"name\":\"CollateralLockCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"expireTimestamp\",\"type\":\"uint64\"}],\"name\":\"CollateralLockExpired\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"cleanExpiredLocks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"cleared\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"expireTimestamp\",\"type\":\"uint64\"}],\"name\":\"createLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getAccountAvailableCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getAccountCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalDeposited\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAssigned\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalLocked\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"getLocks\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"amountD18\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"lockExpirationTime\",\"type\":\"uint64\"}],\"internalType\":\"structCollateralLock.Data[]\",\"name\":\"locks\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"depositingEnabled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"issuanceRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRewardD18\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"oracleNodeId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minDelegationD18\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structCollateralConfiguration.Data\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"CollateralConfigured\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"depositingEnabled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"issuanceRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRewardD18\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"oracleNodeId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minDelegationD18\",\"type\":\"uint256\"}],\"internalType\":\"structCollateralConfiguration.Data\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"configureCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getCollateralConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"depositingEnabled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"issuanceRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRewardD18\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"oracleNodeId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minDelegationD18\",\"type\":\"uint256\"}],\"internalType\":\"structCollateralConfiguration.Data\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"hideDisabled\",\"type\":\"bool\"}],\"name\":\"getCollateralConfigurations\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"depositingEnabled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"issuanceRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRatioD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationRewardD18\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"oracleNodeId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minDelegationD18\",\"type\":\"uint256\"}],\"internalType\":\"structCollateralConfiguration.Data[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getCollateralPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"requiredAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableAmount\",\"type\":\"uint256\"}],\"name\":\"InsufficientCcipFee\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"destChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"TransferCrossChainInitiated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"destChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferCrossChain\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"gasTokenUsed\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"currentDebt\",\"type\":\"int256\"}],\"name\":\"InsufficientDebt\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"PoolNotFound\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"IssuanceFeePaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"UsdBurned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"UsdMinted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnUsd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mintUsd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CannotScaleEmptyMapping\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"collateralValue\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"debt\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"currentCRatio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cratio\",\"type\":\"uint256\"}],\"name\":\"IneligibleForLiquidation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientMappedAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustBeVaultLiquidated\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowInt128ToUint128\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"debtLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRewarded\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structILiquidationModule.LiquidationData\",\"name\":\"liquidationData\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidateAsAccountId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"Liquidation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"debtLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRewarded\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structILiquidationModule.LiquidationData\",\"name\":\"liquidationData\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidateAsAccountId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"VaultLiquidation\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"isPositionLiquidatable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"isVaultLiquidatable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"liquidateAsAccountId\",\"type\":\"uint128\"}],\"name\":\"liquidate\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"debtLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRewarded\",\"type\":\"uint256\"}],\"internalType\":\"structILiquidationModule.LiquidationData\",\"name\":\"liquidationData\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"liquidateAsAccountId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"maxUsd\",\"type\":\"uint256\"}],\"name\":\"liquidateVault\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"debtLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRewarded\",\"type\":\"uint256\"}],\"internalType\":\"structILiquidationModule.LiquidationData\",\"name\":\"liquidationData\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmountToDeposit\",\"type\":\"uint256\"}],\"name\":\"InsufficientMarketCollateralDepositable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmountToWithdraw\",\"type\":\"uint256\"}],\"name\":\"InsufficientMarketCollateralWithdrawable\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"creditCapacity\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"netIssuance\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositedCollateralValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reportedDebt\",\"type\":\"uint256\"}],\"name\":\"MarketCollateralDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"creditCapacity\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"netIssuance\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositedCollateralValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reportedDebt\",\"type\":\"uint256\"}],\"name\":\"MarketCollateralWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"systemAmount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"MaximumMarketCollateralConfigured\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"configureMaximumMarketCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"depositMarketCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getMarketCollateralAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"collateralAmountD18\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketCollateralValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getMaximumMarketCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"withdrawMarketCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"}],\"name\":\"IncorrectMarketInterface\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"NotEnoughLiquidity\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"MarketRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"MarketSystemFeePaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"creditCapacity\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"netIssuance\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositedCollateralValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reportedDebt\",\"type\":\"uint256\"}],\"name\":\"MarketUsdDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"creditCapacity\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"netIssuance\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositedCollateralValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reportedDebt\",\"type\":\"uint256\"}],\"name\":\"MarketUsdWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minLiquidityRatio\",\"type\":\"uint256\"}],\"name\":\"SetMarketMinLiquidityRatio\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"minDelegateTime\",\"type\":\"uint32\"}],\"name\":\"SetMinDelegateTime\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"depositMarketUsd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"maxIter\",\"type\":\"uint256\"}],\"name\":\"distributeDebtToPools\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketDebtPerShare\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getMarketFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"depositFeeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawFeeAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketMinDelegateTime\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketNetIssuance\",\"outputs\":[{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"getMarketPoolDebtDistribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"sharesD18\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"totalSharesD18\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"valuePerShareD27\",\"type\":\"int128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketPools\",\"outputs\":[{\"internalType\":\"uint128[]\",\"name\":\"inRangePoolIds\",\"type\":\"uint128[]\"},{\"internalType\":\"uint128[]\",\"name\":\"outRangePoolIds\",\"type\":\"uint128[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketReportedDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMarketTotalDebt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getMinLiquidityRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOracleManager\",\"outputs\":[{\"internalType\":\"contractIOracleManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUsdToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getWithdrawableMarketUsd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"isMarketCapacityLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"}],\"name\":\"registerMarket\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint32\",\"name\":\"minDelegateTime\",\"type\":\"uint32\"}],\"name\":\"setMarketMinDelegateTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"minLiquidityRatio\",\"type\":\"uint256\"}],\"name\":\"setMinLiquidityRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawMarketUsd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"poolId\",\"type\":\"uint256\"}],\"name\":\"PoolApprovedAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"poolId\",\"type\":\"uint256\"}],\"name\":\"PoolApprovedRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"poolId\",\"type\":\"uint256\"}],\"name\":\"PreferredPoolSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"addApprovedPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getApprovedPools\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPreferredPool\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"removeApprovedPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"setPreferredPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"marketId\",\"type\":\"uint256\"}],\"name\":\"CapacityLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"uint32\",\"name\":\"timeRemaining\",\"type\":\"uint32\"}],\"name\":\"MinDelegationTimeoutPending\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"PoolAlreadyExists\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"collateralLimitD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuanceRatioD18\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structPoolCollateralConfiguration.Data\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"PoolCollateralConfigurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"disabled\",\"type\":\"bool\"}],\"name\":\"PoolCollateralDisabledByDefaultSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"weightD18\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"maxDebtShareValueD18\",\"type\":\"int128\"}],\"indexed\":false,\"internalType\":\"structMarketConfiguration.Data[]\",\"name\":\"markets\",\"type\":\"tuple[]\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"PoolConfigurationSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"PoolNameUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"PoolNominationRenounced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"PoolNominationRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"nominatedOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"PoolOwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"PoolOwnershipAccepted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"PoolOwnershipRenounced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minLiquidityRatio\",\"type\":\"uint256\"}],\"name\":\"SetMinLiquidityRatio\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"acceptPoolOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"requestedPoolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"createPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinLiquidityRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"getNominatedPoolOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getPoolCollateralConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"collateralLimitD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuanceRatioD18\",\"type\":\"uint256\"}],\"internalType\":\"structPoolCollateralConfiguration.Data\",\"name\":\"config\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateral\",\"type\":\"address\"}],\"name\":\"getPoolCollateralIssuanceRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"getPoolConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"weightD18\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"maxDebtShareValueD18\",\"type\":\"int128\"}],\"internalType\":\"structMarketConfiguration.Data[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"getPoolName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"poolName\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"getPoolOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nominatedOwner\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"nominatePoolOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"optionalCollateralType\",\"type\":\"address\"}],\"name\":\"rebalancePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"renouncePoolNomination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"renouncePoolOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"}],\"name\":\"revokePoolNomination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minLiquidityRatio\",\"type\":\"uint256\"}],\"name\":\"setMinLiquidityRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"collateralLimitD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuanceRatioD18\",\"type\":\"uint256\"}],\"internalType\":\"structPoolCollateralConfiguration.Data\",\"name\":\"newConfig\",\"type\":\"tuple\"}],\"name\":\"setPoolCollateralConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"bool\",\"name\":\"disabled\",\"type\":\"bool\"}],\"name\":\"setPoolCollateralDisabledByDefault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"weightD18\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"maxDebtShareValueD18\",\"type\":\"int128\"}],\"internalType\":\"structMarketConfiguration.Data[]\",\"name\":\"newMarketConfigurations\",\"type\":\"tuple[]\"}],\"name\":\"setPoolConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setPoolName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OverflowUint256ToUint32\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint32ToInt32\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint64ToInt64\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RewardDistributorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"RewardUnavailable\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"RewardsDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"RewardsDistributorRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"RewardsDistributorRemoved\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"claimRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"duration\",\"type\":\"uint32\"}],\"name\":\"distributeRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"getAvailableRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"getRewardRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"registerRewardsDistributor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"}],\"name\":\"removeRewardsDistributor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"}],\"name\":\"updateRewards\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"newChainId\",\"type\":\"uint64\"}],\"name\":\"NewSupportedCrossChainNetwork\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ccipRouter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ccipTokenPool\",\"type\":\"address\"}],\"name\":\"configureChainlinkCrossChain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oracleManagerAddress\",\"type\":\"address\"}],\"name\":\"configureOracleManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"k\",\"type\":\"bytes32\"}],\"name\":\"getConfig\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"v\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"k\",\"type\":\"bytes32\"}],\"name\":\"getConfigAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"v\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"k\",\"type\":\"bytes32\"}],\"name\":\"getConfigUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"v\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTrustedForwarder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"k\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"v\",\"type\":\"bytes32\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64[]\",\"name\":\"supportedNetworks\",\"type\":\"uint64[]\"},{\"internalType\":\"uint64[]\",\"name\":\"ccipSelectors\",\"type\":\"uint64[]\"}],\"name\":\"setSupportedCrossChainNetworks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numRegistered\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minDelegation\",\"type\":\"uint256\"}],\"name\":\"InsufficientDelegation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCollateralAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"leverage\",\"type\":\"uint256\"}],\"name\":\"InvalidLeverage\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxCollateral\",\"type\":\"uint256\"}],\"name\":\"PoolCollateralLimitExceeded\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"leverage\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"DelegationUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newCollateralAmountD18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"leverage\",\"type\":\"uint256\"}],\"name\":\"delegateCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralValue\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"debt\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"collateralizationRatio\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getPositionCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getPositionCollateralRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"accountId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getPositionDebt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"debt\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getVaultCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getVaultCollateralRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"poolId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"collateralType\",\"type\":\"address\"}],\"name\":\"getVaultDebt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CoreMetaData contains all meta data concerning the Core contract.

Functions

This section is empty.

Types

type CcipClientAny2EVMMessage

type CcipClientAny2EVMMessage struct {
	MessageId           [32]byte
	SourceChainSelector uint64
	Sender              []byte
	Data                []byte
	TokenAmounts        []CcipClientEVMTokenAmount
}

CcipClientAny2EVMMessage is an auto generated low-level Go binding around an user-defined struct.

type CcipClientEVMTokenAmount

type CcipClientEVMTokenAmount struct {
	Token  common.Address
	Amount *big.Int
}

CcipClientEVMTokenAmount is an auto generated low-level Go binding around an user-defined struct.

type CollateralConfigurationData

type CollateralConfigurationData struct {
	DepositingEnabled    bool
	IssuanceRatioD18     *big.Int
	LiquidationRatioD18  *big.Int
	LiquidationRewardD18 *big.Int
	OracleNodeId         [32]byte
	TokenAddress         common.Address
	MinDelegationD18     *big.Int
}

CollateralConfigurationData is an auto generated low-level Go binding around an user-defined struct.

type CollateralLockData

type CollateralLockData struct {
	AmountD18          *big.Int
	LockExpirationTime uint64
}

CollateralLockData is an auto generated low-level Go binding around an user-defined struct.

type Core

type Core struct {
	CoreCaller     // Read-only binding to the contract
	CoreTransactor // Write-only binding to the contract
	CoreFilterer   // Log filterer for contract events
}

Core is an auto generated Go binding around an Ethereum contract.

func NewCore

func NewCore(address common.Address, backend bind.ContractBackend) (*Core, error)

NewCore creates a new instance of Core, bound to a specific deployed contract.

type CoreAccountCreated

type CoreAccountCreated struct {
	AccountId *big.Int
	Owner     common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

CoreAccountCreated represents a AccountCreated event raised by the Core contract.

type CoreAccountCreatedIterator

type CoreAccountCreatedIterator struct {
	Event *CoreAccountCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreAccountCreatedIterator is returned from FilterAccountCreated and is used to iterate over the raw logs and unpacked data for AccountCreated events raised by the Core contract.

func (*CoreAccountCreatedIterator) Close

func (it *CoreAccountCreatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreAccountCreatedIterator) Error

func (it *CoreAccountCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreAccountCreatedIterator) Next

func (it *CoreAccountCreatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreAssociatedSystemSet

type CoreAssociatedSystemSet struct {
	Kind  [32]byte
	Id    [32]byte
	Proxy common.Address
	Impl  common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CoreAssociatedSystemSet represents a AssociatedSystemSet event raised by the Core contract.

type CoreAssociatedSystemSetIterator

type CoreAssociatedSystemSetIterator struct {
	Event *CoreAssociatedSystemSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreAssociatedSystemSetIterator is returned from FilterAssociatedSystemSet and is used to iterate over the raw logs and unpacked data for AssociatedSystemSet events raised by the Core contract.

func (*CoreAssociatedSystemSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreAssociatedSystemSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreAssociatedSystemSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreCaller

type CoreCaller struct {
	// contains filtered or unexported fields
}

CoreCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCoreCaller

func NewCoreCaller(address common.Address, caller bind.ContractCaller) (*CoreCaller, error)

NewCoreCaller creates a new read-only instance of Core, bound to a specific deployed contract.

func (*CoreCaller) GetAccountAvailableCollateral

func (_Core *CoreCaller) GetAccountAvailableCollateral(opts *bind.CallOpts, accountId *big.Int, collateralType common.Address) (*big.Int, error)

GetAccountAvailableCollateral is a free data retrieval call binding the contract method 0x927482ff.

Solidity: function getAccountAvailableCollateral(uint128 accountId, address collateralType) view returns(uint256)

func (*CoreCaller) GetAccountCollateral

func (_Core *CoreCaller) GetAccountCollateral(opts *bind.CallOpts, accountId *big.Int, collateralType common.Address) (struct {
	TotalDeposited *big.Int
	TotalAssigned  *big.Int
	TotalLocked    *big.Int
}, error)

GetAccountCollateral is a free data retrieval call binding the contract method 0xef45148e.

Solidity: function getAccountCollateral(uint128 accountId, address collateralType) view returns(uint256 totalDeposited, uint256 totalAssigned, uint256 totalLocked)

func (*CoreCaller) GetAccountLastInteraction

func (_Core *CoreCaller) GetAccountLastInteraction(opts *bind.CallOpts, accountId *big.Int) (*big.Int, error)

GetAccountLastInteraction is a free data retrieval call binding the contract method 0x1b5dccdb.

Solidity: function getAccountLastInteraction(uint128 accountId) view returns(uint256)

func (*CoreCaller) GetAccountOwner

func (_Core *CoreCaller) GetAccountOwner(opts *bind.CallOpts, accountId *big.Int) (common.Address, error)

GetAccountOwner is a free data retrieval call binding the contract method 0xbf60c31d.

Solidity: function getAccountOwner(uint128 accountId) view returns(address)

func (*CoreCaller) GetAccountPermissions

func (_Core *CoreCaller) GetAccountPermissions(opts *bind.CallOpts, accountId *big.Int) ([]IAccountModuleAccountPermissions, error)

GetAccountPermissions is a free data retrieval call binding the contract method 0xa796fecd.

Solidity: function getAccountPermissions(uint128 accountId) view returns((address,bytes32[])[] accountPerms)

func (*CoreCaller) GetAccountTokenAddress

func (_Core *CoreCaller) GetAccountTokenAddress(opts *bind.CallOpts) (common.Address, error)

GetAccountTokenAddress is a free data retrieval call binding the contract method 0xa148bf10.

Solidity: function getAccountTokenAddress() view returns(address)

func (*CoreCaller) GetApprovedPools

func (_Core *CoreCaller) GetApprovedPools(opts *bind.CallOpts) ([]*big.Int, error)

GetApprovedPools is a free data retrieval call binding the contract method 0x48741626.

Solidity: function getApprovedPools() view returns(uint256[])

func (*CoreCaller) GetAssociatedSystem

func (_Core *CoreCaller) GetAssociatedSystem(opts *bind.CallOpts, id [32]byte) (struct {
	Addr common.Address
	Kind [32]byte
}, error)

GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.

Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)

func (*CoreCaller) GetAvailableRewards

func (_Core *CoreCaller) GetAvailableRewards(opts *bind.CallOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address, distributor common.Address) (*big.Int, error)

GetAvailableRewards is a free data retrieval call binding the contract method 0xc4b3410e.

Solidity: function getAvailableRewards(uint128 accountId, uint128 poolId, address collateralType, address distributor) view returns(uint256)

func (*CoreCaller) GetCollateralConfiguration

func (_Core *CoreCaller) GetCollateralConfiguration(opts *bind.CallOpts, collateralType common.Address) (CollateralConfigurationData, error)

GetCollateralConfiguration is a free data retrieval call binding the contract method 0xdc0b3f52.

Solidity: function getCollateralConfiguration(address collateralType) pure returns((bool,uint256,uint256,uint256,bytes32,address,uint256))

func (*CoreCaller) GetCollateralConfigurations

func (_Core *CoreCaller) GetCollateralConfigurations(opts *bind.CallOpts, hideDisabled bool) ([]CollateralConfigurationData, error)

GetCollateralConfigurations is a free data retrieval call binding the contract method 0x75bf2444.

Solidity: function getCollateralConfigurations(bool hideDisabled) view returns((bool,uint256,uint256,uint256,bytes32,address,uint256)[])

func (*CoreCaller) GetCollateralPrice

func (_Core *CoreCaller) GetCollateralPrice(opts *bind.CallOpts, collateralType common.Address) (*big.Int, error)

GetCollateralPrice is a free data retrieval call binding the contract method 0x51a40994.

Solidity: function getCollateralPrice(address collateralType) view returns(uint256)

func (*CoreCaller) GetConfig

func (_Core *CoreCaller) GetConfig(opts *bind.CallOpts, k [32]byte) ([32]byte, error)

GetConfig is a free data retrieval call binding the contract method 0x6dd5b69d.

Solidity: function getConfig(bytes32 k) view returns(bytes32 v)

func (*CoreCaller) GetConfigAddress

func (_Core *CoreCaller) GetConfigAddress(opts *bind.CallOpts, k [32]byte) (common.Address, error)

GetConfigAddress is a free data retrieval call binding the contract method 0xf896503a.

Solidity: function getConfigAddress(bytes32 k) view returns(address v)

func (*CoreCaller) GetConfigUint

func (_Core *CoreCaller) GetConfigUint(opts *bind.CallOpts, k [32]byte) (*big.Int, error)

GetConfigUint is a free data retrieval call binding the contract method 0xf92bb8c9.

Solidity: function getConfigUint(bytes32 k) view returns(uint256 v)

func (*CoreCaller) GetDeniers

func (_Core *CoreCaller) GetDeniers(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)

GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.

Solidity: function getDeniers(bytes32 feature) view returns(address[])

func (*CoreCaller) GetFeatureFlagAllowAll

func (_Core *CoreCaller) GetFeatureFlagAllowAll(opts *bind.CallOpts, feature [32]byte) (bool, error)

GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.

Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)

func (*CoreCaller) GetFeatureFlagAllowlist

func (_Core *CoreCaller) GetFeatureFlagAllowlist(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)

GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.

Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])

func (*CoreCaller) GetFeatureFlagDenyAll

func (_Core *CoreCaller) GetFeatureFlagDenyAll(opts *bind.CallOpts, feature [32]byte) (bool, error)

GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.

Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)

func (*CoreCaller) GetImplementation

func (_Core *CoreCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*CoreCaller) GetLocks

func (_Core *CoreCaller) GetLocks(opts *bind.CallOpts, accountId *big.Int, collateralType common.Address, offset *big.Int, count *big.Int) ([]CollateralLockData, error)

GetLocks is a free data retrieval call binding the contract method 0xaa8c6369.

Solidity: function getLocks(uint128 accountId, address collateralType, uint256 offset, uint256 count) view returns((uint128,uint64)[] locks)

func (*CoreCaller) GetMarketAddress

func (_Core *CoreCaller) GetMarketAddress(opts *bind.CallOpts, marketId *big.Int) (common.Address, error)

GetMarketAddress is a free data retrieval call binding the contract method 0xd24437f1.

Solidity: function getMarketAddress(uint128 marketId) view returns(address)

func (*CoreCaller) GetMarketCollateral

func (_Core *CoreCaller) GetMarketCollateral(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetMarketCollateral is a free data retrieval call binding the contract method 0x150834a3.

Solidity: function getMarketCollateral(uint128 marketId) view returns(uint256)

func (*CoreCaller) GetMarketCollateralAmount

func (_Core *CoreCaller) GetMarketCollateralAmount(opts *bind.CallOpts, marketId *big.Int, collateralType common.Address) (*big.Int, error)

GetMarketCollateralAmount is a free data retrieval call binding the contract method 0xc2b0cf41.

Solidity: function getMarketCollateralAmount(uint128 marketId, address collateralType) view returns(uint256 collateralAmountD18)

func (*CoreCaller) GetMarketCollateralValue

func (_Core *CoreCaller) GetMarketCollateralValue(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetMarketCollateralValue is a free data retrieval call binding the contract method 0xd4f88381.

Solidity: function getMarketCollateralValue(uint128 marketId) view returns(uint256)

func (*CoreCaller) GetMarketFees

func (_Core *CoreCaller) GetMarketFees(opts *bind.CallOpts, arg0 *big.Int, amount *big.Int) (struct {
	DepositFeeAmount  *big.Int
	WithdrawFeeAmount *big.Int
}, error)

GetMarketFees is a free data retrieval call binding the contract method 0xdfb83437.

Solidity: function getMarketFees(uint128 , uint256 amount) view returns(uint256 depositFeeAmount, uint256 withdrawFeeAmount)

func (*CoreCaller) GetMarketMinDelegateTime

func (_Core *CoreCaller) GetMarketMinDelegateTime(opts *bind.CallOpts, marketId *big.Int) (uint32, error)

GetMarketMinDelegateTime is a free data retrieval call binding the contract method 0x5424901b.

Solidity: function getMarketMinDelegateTime(uint128 marketId) view returns(uint32)

func (*CoreCaller) GetMarketNetIssuance

func (_Core *CoreCaller) GetMarketNetIssuance(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetMarketNetIssuance is a free data retrieval call binding the contract method 0x85d99ebc.

Solidity: function getMarketNetIssuance(uint128 marketId) view returns(int128)

func (*CoreCaller) GetMarketReportedDebt

func (_Core *CoreCaller) GetMarketReportedDebt(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetMarketReportedDebt is a free data retrieval call binding the contract method 0x86e3b1cf.

Solidity: function getMarketReportedDebt(uint128 marketId) view returns(uint256)

func (*CoreCaller) GetMarketTotalDebt

func (_Core *CoreCaller) GetMarketTotalDebt(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetMarketTotalDebt is a free data retrieval call binding the contract method 0xbaa2a264.

Solidity: function getMarketTotalDebt(uint128 marketId) view returns(int256)

func (*CoreCaller) GetMaximumMarketCollateral

func (_Core *CoreCaller) GetMaximumMarketCollateral(opts *bind.CallOpts, marketId *big.Int, collateralType common.Address) (*big.Int, error)

GetMaximumMarketCollateral is a free data retrieval call binding the contract method 0x12e1c673.

Solidity: function getMaximumMarketCollateral(uint128 marketId, address collateralType) view returns(uint256)

func (*CoreCaller) GetMinLiquidityRatio

func (_Core *CoreCaller) GetMinLiquidityRatio(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetMinLiquidityRatio is a free data retrieval call binding the contract method 0x84f29b6d.

Solidity: function getMinLiquidityRatio(uint128 marketId) view returns(uint256)

func (*CoreCaller) GetMinLiquidityRatio0

func (_Core *CoreCaller) GetMinLiquidityRatio0(opts *bind.CallOpts) (*big.Int, error)

GetMinLiquidityRatio0 is a free data retrieval call binding the contract method 0xfd85c1f8.

Solidity: function getMinLiquidityRatio() view returns(uint256)

func (*CoreCaller) GetNominatedPoolOwner

func (_Core *CoreCaller) GetNominatedPoolOwner(opts *bind.CallOpts, poolId *big.Int) (common.Address, error)

GetNominatedPoolOwner is a free data retrieval call binding the contract method 0x9851af01.

Solidity: function getNominatedPoolOwner(uint128 poolId) view returns(address)

func (*CoreCaller) GetOracleManager

func (_Core *CoreCaller) GetOracleManager(opts *bind.CallOpts) (common.Address, error)

GetOracleManager is a free data retrieval call binding the contract method 0xb01ceccd.

Solidity: function getOracleManager() view returns(address)

func (*CoreCaller) GetPoolCollateralConfiguration

func (_Core *CoreCaller) GetPoolCollateralConfiguration(opts *bind.CallOpts, poolId *big.Int, collateralType common.Address) (PoolCollateralConfigurationData, error)

GetPoolCollateralConfiguration is a free data retrieval call binding the contract method 0xc77e51f6.

Solidity: function getPoolCollateralConfiguration(uint128 poolId, address collateralType) view returns((uint256,uint256) config)

func (*CoreCaller) GetPoolCollateralIssuanceRatio

func (_Core *CoreCaller) GetPoolCollateralIssuanceRatio(opts *bind.CallOpts, poolId *big.Int, collateral common.Address) (*big.Int, error)

GetPoolCollateralIssuanceRatio is a free data retrieval call binding the contract method 0xc4d2aad3.

Solidity: function getPoolCollateralIssuanceRatio(uint128 poolId, address collateral) view returns(uint256)

func (*CoreCaller) GetPoolConfiguration

func (_Core *CoreCaller) GetPoolConfiguration(opts *bind.CallOpts, poolId *big.Int) ([]MarketConfigurationData, error)

GetPoolConfiguration is a free data retrieval call binding the contract method 0xefecf137.

Solidity: function getPoolConfiguration(uint128 poolId) view returns((uint128,uint128,int128)[])

func (*CoreCaller) GetPoolName

func (_Core *CoreCaller) GetPoolName(opts *bind.CallOpts, poolId *big.Int) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0xf86e6f91.

Solidity: function getPoolName(uint128 poolId) view returns(string poolName)

func (*CoreCaller) GetPoolOwner

func (_Core *CoreCaller) GetPoolOwner(opts *bind.CallOpts, poolId *big.Int) (common.Address, error)

GetPoolOwner is a free data retrieval call binding the contract method 0xbbdd7c5a.

Solidity: function getPoolOwner(uint128 poolId) view returns(address)

func (*CoreCaller) GetPositionCollateral

func (_Core *CoreCaller) GetPositionCollateral(opts *bind.CallOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address) (*big.Int, error)

GetPositionCollateral is a free data retrieval call binding the contract method 0x33cc422b.

Solidity: function getPositionCollateral(uint128 accountId, uint128 poolId, address collateralType) view returns(uint256 amount)

func (*CoreCaller) GetPreferredPool

func (_Core *CoreCaller) GetPreferredPool(opts *bind.CallOpts) (*big.Int, error)

GetPreferredPool is a free data retrieval call binding the contract method 0x3b390b57.

Solidity: function getPreferredPool() view returns(uint128)

func (*CoreCaller) GetRewardRate

func (_Core *CoreCaller) GetRewardRate(opts *bind.CallOpts, poolId *big.Int, collateralType common.Address, distributor common.Address) (*big.Int, error)

GetRewardRate is a free data retrieval call binding the contract method 0x0dd2395a.

Solidity: function getRewardRate(uint128 poolId, address collateralType, address distributor) view returns(uint256)

func (*CoreCaller) GetTrustedForwarder

func (_Core *CoreCaller) GetTrustedForwarder(opts *bind.CallOpts) (common.Address, error)

GetTrustedForwarder is a free data retrieval call binding the contract method 0xce1b815f.

Solidity: function getTrustedForwarder() pure returns(address)

func (*CoreCaller) GetUsdToken

func (_Core *CoreCaller) GetUsdToken(opts *bind.CallOpts) (common.Address, error)

GetUsdToken is a free data retrieval call binding the contract method 0x21f1d9e5.

Solidity: function getUsdToken() view returns(address)

func (*CoreCaller) GetVaultCollateral

func (_Core *CoreCaller) GetVaultCollateral(opts *bind.CallOpts, poolId *big.Int, collateralType common.Address) (struct {
	Amount *big.Int
	Value  *big.Int
}, error)

GetVaultCollateral is a free data retrieval call binding the contract method 0x078145a8.

Solidity: function getVaultCollateral(uint128 poolId, address collateralType) view returns(uint256 amount, uint256 value)

func (*CoreCaller) GetWithdrawableMarketUsd

func (_Core *CoreCaller) GetWithdrawableMarketUsd(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetWithdrawableMarketUsd is a free data retrieval call binding the contract method 0x1eb60770.

Solidity: function getWithdrawableMarketUsd(uint128 marketId) view returns(uint256)

func (*CoreCaller) HasPermission

func (_Core *CoreCaller) HasPermission(opts *bind.CallOpts, accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

HasPermission is a free data retrieval call binding the contract method 0x8d34166b.

Solidity: function hasPermission(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*CoreCaller) IsAuthorized

func (_Core *CoreCaller) IsAuthorized(opts *bind.CallOpts, accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

IsAuthorized is a free data retrieval call binding the contract method 0x1213d453.

Solidity: function isAuthorized(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*CoreCaller) IsFeatureAllowed

func (_Core *CoreCaller) IsFeatureAllowed(opts *bind.CallOpts, feature [32]byte, account common.Address) (bool, error)

IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.

Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)

func (*CoreCaller) IsMarketCapacityLocked

func (_Core *CoreCaller) IsMarketCapacityLocked(opts *bind.CallOpts, marketId *big.Int) (bool, error)

IsMarketCapacityLocked is a free data retrieval call binding the contract method 0x07003f0a.

Solidity: function isMarketCapacityLocked(uint128 marketId) view returns(bool)

func (*CoreCaller) IsTrustedForwarder

func (_Core *CoreCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) pure returns(bool)

func (*CoreCaller) NominatedOwner

func (_Core *CoreCaller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*CoreCaller) Owner

func (_Core *CoreCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CoreCaller) SupportsInterface

func (_Core *CoreCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type CoreCallerRaw

type CoreCallerRaw struct {
	Contract *CoreCaller // Generic read-only contract binding to access the raw methods on
}

CoreCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CoreCallerRaw) Call

func (_Core *CoreCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type CoreCallerSession

type CoreCallerSession struct {
	Contract *CoreCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

CoreCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CoreCallerSession) GetAccountAvailableCollateral

func (_Core *CoreCallerSession) GetAccountAvailableCollateral(accountId *big.Int, collateralType common.Address) (*big.Int, error)

GetAccountAvailableCollateral is a free data retrieval call binding the contract method 0x927482ff.

Solidity: function getAccountAvailableCollateral(uint128 accountId, address collateralType) view returns(uint256)

func (*CoreCallerSession) GetAccountCollateral

func (_Core *CoreCallerSession) GetAccountCollateral(accountId *big.Int, collateralType common.Address) (struct {
	TotalDeposited *big.Int
	TotalAssigned  *big.Int
	TotalLocked    *big.Int
}, error)

GetAccountCollateral is a free data retrieval call binding the contract method 0xef45148e.

Solidity: function getAccountCollateral(uint128 accountId, address collateralType) view returns(uint256 totalDeposited, uint256 totalAssigned, uint256 totalLocked)

func (*CoreCallerSession) GetAccountLastInteraction

func (_Core *CoreCallerSession) GetAccountLastInteraction(accountId *big.Int) (*big.Int, error)

GetAccountLastInteraction is a free data retrieval call binding the contract method 0x1b5dccdb.

Solidity: function getAccountLastInteraction(uint128 accountId) view returns(uint256)

func (*CoreCallerSession) GetAccountOwner

func (_Core *CoreCallerSession) GetAccountOwner(accountId *big.Int) (common.Address, error)

GetAccountOwner is a free data retrieval call binding the contract method 0xbf60c31d.

Solidity: function getAccountOwner(uint128 accountId) view returns(address)

func (*CoreCallerSession) GetAccountPermissions

func (_Core *CoreCallerSession) GetAccountPermissions(accountId *big.Int) ([]IAccountModuleAccountPermissions, error)

GetAccountPermissions is a free data retrieval call binding the contract method 0xa796fecd.

Solidity: function getAccountPermissions(uint128 accountId) view returns((address,bytes32[])[] accountPerms)

func (*CoreCallerSession) GetAccountTokenAddress

func (_Core *CoreCallerSession) GetAccountTokenAddress() (common.Address, error)

GetAccountTokenAddress is a free data retrieval call binding the contract method 0xa148bf10.

Solidity: function getAccountTokenAddress() view returns(address)

func (*CoreCallerSession) GetApprovedPools

func (_Core *CoreCallerSession) GetApprovedPools() ([]*big.Int, error)

GetApprovedPools is a free data retrieval call binding the contract method 0x48741626.

Solidity: function getApprovedPools() view returns(uint256[])

func (*CoreCallerSession) GetAssociatedSystem

func (_Core *CoreCallerSession) GetAssociatedSystem(id [32]byte) (struct {
	Addr common.Address
	Kind [32]byte
}, error)

GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.

Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)

func (*CoreCallerSession) GetAvailableRewards

func (_Core *CoreCallerSession) GetAvailableRewards(accountId *big.Int, poolId *big.Int, collateralType common.Address, distributor common.Address) (*big.Int, error)

GetAvailableRewards is a free data retrieval call binding the contract method 0xc4b3410e.

Solidity: function getAvailableRewards(uint128 accountId, uint128 poolId, address collateralType, address distributor) view returns(uint256)

func (*CoreCallerSession) GetCollateralConfiguration

func (_Core *CoreCallerSession) GetCollateralConfiguration(collateralType common.Address) (CollateralConfigurationData, error)

GetCollateralConfiguration is a free data retrieval call binding the contract method 0xdc0b3f52.

Solidity: function getCollateralConfiguration(address collateralType) pure returns((bool,uint256,uint256,uint256,bytes32,address,uint256))

func (*CoreCallerSession) GetCollateralConfigurations

func (_Core *CoreCallerSession) GetCollateralConfigurations(hideDisabled bool) ([]CollateralConfigurationData, error)

GetCollateralConfigurations is a free data retrieval call binding the contract method 0x75bf2444.

Solidity: function getCollateralConfigurations(bool hideDisabled) view returns((bool,uint256,uint256,uint256,bytes32,address,uint256)[])

func (*CoreCallerSession) GetCollateralPrice

func (_Core *CoreCallerSession) GetCollateralPrice(collateralType common.Address) (*big.Int, error)

GetCollateralPrice is a free data retrieval call binding the contract method 0x51a40994.

Solidity: function getCollateralPrice(address collateralType) view returns(uint256)

func (*CoreCallerSession) GetConfig

func (_Core *CoreCallerSession) GetConfig(k [32]byte) ([32]byte, error)

GetConfig is a free data retrieval call binding the contract method 0x6dd5b69d.

Solidity: function getConfig(bytes32 k) view returns(bytes32 v)

func (*CoreCallerSession) GetConfigAddress

func (_Core *CoreCallerSession) GetConfigAddress(k [32]byte) (common.Address, error)

GetConfigAddress is a free data retrieval call binding the contract method 0xf896503a.

Solidity: function getConfigAddress(bytes32 k) view returns(address v)

func (*CoreCallerSession) GetConfigUint

func (_Core *CoreCallerSession) GetConfigUint(k [32]byte) (*big.Int, error)

GetConfigUint is a free data retrieval call binding the contract method 0xf92bb8c9.

Solidity: function getConfigUint(bytes32 k) view returns(uint256 v)

func (*CoreCallerSession) GetDeniers

func (_Core *CoreCallerSession) GetDeniers(feature [32]byte) ([]common.Address, error)

GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.

Solidity: function getDeniers(bytes32 feature) view returns(address[])

func (*CoreCallerSession) GetFeatureFlagAllowAll

func (_Core *CoreCallerSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)

GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.

Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)

func (*CoreCallerSession) GetFeatureFlagAllowlist

func (_Core *CoreCallerSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)

GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.

Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])

func (*CoreCallerSession) GetFeatureFlagDenyAll

func (_Core *CoreCallerSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)

GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.

Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)

func (*CoreCallerSession) GetImplementation

func (_Core *CoreCallerSession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*CoreCallerSession) GetLocks

func (_Core *CoreCallerSession) GetLocks(accountId *big.Int, collateralType common.Address, offset *big.Int, count *big.Int) ([]CollateralLockData, error)

GetLocks is a free data retrieval call binding the contract method 0xaa8c6369.

Solidity: function getLocks(uint128 accountId, address collateralType, uint256 offset, uint256 count) view returns((uint128,uint64)[] locks)

func (*CoreCallerSession) GetMarketAddress

func (_Core *CoreCallerSession) GetMarketAddress(marketId *big.Int) (common.Address, error)

GetMarketAddress is a free data retrieval call binding the contract method 0xd24437f1.

Solidity: function getMarketAddress(uint128 marketId) view returns(address)

func (*CoreCallerSession) GetMarketCollateral

func (_Core *CoreCallerSession) GetMarketCollateral(marketId *big.Int) (*big.Int, error)

GetMarketCollateral is a free data retrieval call binding the contract method 0x150834a3.

Solidity: function getMarketCollateral(uint128 marketId) view returns(uint256)

func (*CoreCallerSession) GetMarketCollateralAmount

func (_Core *CoreCallerSession) GetMarketCollateralAmount(marketId *big.Int, collateralType common.Address) (*big.Int, error)

GetMarketCollateralAmount is a free data retrieval call binding the contract method 0xc2b0cf41.

Solidity: function getMarketCollateralAmount(uint128 marketId, address collateralType) view returns(uint256 collateralAmountD18)

func (*CoreCallerSession) GetMarketCollateralValue

func (_Core *CoreCallerSession) GetMarketCollateralValue(marketId *big.Int) (*big.Int, error)

GetMarketCollateralValue is a free data retrieval call binding the contract method 0xd4f88381.

Solidity: function getMarketCollateralValue(uint128 marketId) view returns(uint256)

func (*CoreCallerSession) GetMarketFees

func (_Core *CoreCallerSession) GetMarketFees(arg0 *big.Int, amount *big.Int) (struct {
	DepositFeeAmount  *big.Int
	WithdrawFeeAmount *big.Int
}, error)

GetMarketFees is a free data retrieval call binding the contract method 0xdfb83437.

Solidity: function getMarketFees(uint128 , uint256 amount) view returns(uint256 depositFeeAmount, uint256 withdrawFeeAmount)

func (*CoreCallerSession) GetMarketMinDelegateTime

func (_Core *CoreCallerSession) GetMarketMinDelegateTime(marketId *big.Int) (uint32, error)

GetMarketMinDelegateTime is a free data retrieval call binding the contract method 0x5424901b.

Solidity: function getMarketMinDelegateTime(uint128 marketId) view returns(uint32)

func (*CoreCallerSession) GetMarketNetIssuance

func (_Core *CoreCallerSession) GetMarketNetIssuance(marketId *big.Int) (*big.Int, error)

GetMarketNetIssuance is a free data retrieval call binding the contract method 0x85d99ebc.

Solidity: function getMarketNetIssuance(uint128 marketId) view returns(int128)

func (*CoreCallerSession) GetMarketReportedDebt

func (_Core *CoreCallerSession) GetMarketReportedDebt(marketId *big.Int) (*big.Int, error)

GetMarketReportedDebt is a free data retrieval call binding the contract method 0x86e3b1cf.

Solidity: function getMarketReportedDebt(uint128 marketId) view returns(uint256)

func (*CoreCallerSession) GetMarketTotalDebt

func (_Core *CoreCallerSession) GetMarketTotalDebt(marketId *big.Int) (*big.Int, error)

GetMarketTotalDebt is a free data retrieval call binding the contract method 0xbaa2a264.

Solidity: function getMarketTotalDebt(uint128 marketId) view returns(int256)

func (*CoreCallerSession) GetMaximumMarketCollateral

func (_Core *CoreCallerSession) GetMaximumMarketCollateral(marketId *big.Int, collateralType common.Address) (*big.Int, error)

GetMaximumMarketCollateral is a free data retrieval call binding the contract method 0x12e1c673.

Solidity: function getMaximumMarketCollateral(uint128 marketId, address collateralType) view returns(uint256)

func (*CoreCallerSession) GetMinLiquidityRatio

func (_Core *CoreCallerSession) GetMinLiquidityRatio(marketId *big.Int) (*big.Int, error)

GetMinLiquidityRatio is a free data retrieval call binding the contract method 0x84f29b6d.

Solidity: function getMinLiquidityRatio(uint128 marketId) view returns(uint256)

func (*CoreCallerSession) GetMinLiquidityRatio0

func (_Core *CoreCallerSession) GetMinLiquidityRatio0() (*big.Int, error)

GetMinLiquidityRatio0 is a free data retrieval call binding the contract method 0xfd85c1f8.

Solidity: function getMinLiquidityRatio() view returns(uint256)

func (*CoreCallerSession) GetNominatedPoolOwner

func (_Core *CoreCallerSession) GetNominatedPoolOwner(poolId *big.Int) (common.Address, error)

GetNominatedPoolOwner is a free data retrieval call binding the contract method 0x9851af01.

Solidity: function getNominatedPoolOwner(uint128 poolId) view returns(address)

func (*CoreCallerSession) GetOracleManager

func (_Core *CoreCallerSession) GetOracleManager() (common.Address, error)

GetOracleManager is a free data retrieval call binding the contract method 0xb01ceccd.

Solidity: function getOracleManager() view returns(address)

func (*CoreCallerSession) GetPoolCollateralConfiguration

func (_Core *CoreCallerSession) GetPoolCollateralConfiguration(poolId *big.Int, collateralType common.Address) (PoolCollateralConfigurationData, error)

GetPoolCollateralConfiguration is a free data retrieval call binding the contract method 0xc77e51f6.

Solidity: function getPoolCollateralConfiguration(uint128 poolId, address collateralType) view returns((uint256,uint256) config)

func (*CoreCallerSession) GetPoolCollateralIssuanceRatio

func (_Core *CoreCallerSession) GetPoolCollateralIssuanceRatio(poolId *big.Int, collateral common.Address) (*big.Int, error)

GetPoolCollateralIssuanceRatio is a free data retrieval call binding the contract method 0xc4d2aad3.

Solidity: function getPoolCollateralIssuanceRatio(uint128 poolId, address collateral) view returns(uint256)

func (*CoreCallerSession) GetPoolConfiguration

func (_Core *CoreCallerSession) GetPoolConfiguration(poolId *big.Int) ([]MarketConfigurationData, error)

GetPoolConfiguration is a free data retrieval call binding the contract method 0xefecf137.

Solidity: function getPoolConfiguration(uint128 poolId) view returns((uint128,uint128,int128)[])

func (*CoreCallerSession) GetPoolName

func (_Core *CoreCallerSession) GetPoolName(poolId *big.Int) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0xf86e6f91.

Solidity: function getPoolName(uint128 poolId) view returns(string poolName)

func (*CoreCallerSession) GetPoolOwner

func (_Core *CoreCallerSession) GetPoolOwner(poolId *big.Int) (common.Address, error)

GetPoolOwner is a free data retrieval call binding the contract method 0xbbdd7c5a.

Solidity: function getPoolOwner(uint128 poolId) view returns(address)

func (*CoreCallerSession) GetPositionCollateral

func (_Core *CoreCallerSession) GetPositionCollateral(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*big.Int, error)

GetPositionCollateral is a free data retrieval call binding the contract method 0x33cc422b.

Solidity: function getPositionCollateral(uint128 accountId, uint128 poolId, address collateralType) view returns(uint256 amount)

func (*CoreCallerSession) GetPreferredPool

func (_Core *CoreCallerSession) GetPreferredPool() (*big.Int, error)

GetPreferredPool is a free data retrieval call binding the contract method 0x3b390b57.

Solidity: function getPreferredPool() view returns(uint128)

func (*CoreCallerSession) GetRewardRate

func (_Core *CoreCallerSession) GetRewardRate(poolId *big.Int, collateralType common.Address, distributor common.Address) (*big.Int, error)

GetRewardRate is a free data retrieval call binding the contract method 0x0dd2395a.

Solidity: function getRewardRate(uint128 poolId, address collateralType, address distributor) view returns(uint256)

func (*CoreCallerSession) GetTrustedForwarder

func (_Core *CoreCallerSession) GetTrustedForwarder() (common.Address, error)

GetTrustedForwarder is a free data retrieval call binding the contract method 0xce1b815f.

Solidity: function getTrustedForwarder() pure returns(address)

func (*CoreCallerSession) GetUsdToken

func (_Core *CoreCallerSession) GetUsdToken() (common.Address, error)

GetUsdToken is a free data retrieval call binding the contract method 0x21f1d9e5.

Solidity: function getUsdToken() view returns(address)

func (*CoreCallerSession) GetVaultCollateral

func (_Core *CoreCallerSession) GetVaultCollateral(poolId *big.Int, collateralType common.Address) (struct {
	Amount *big.Int
	Value  *big.Int
}, error)

GetVaultCollateral is a free data retrieval call binding the contract method 0x078145a8.

Solidity: function getVaultCollateral(uint128 poolId, address collateralType) view returns(uint256 amount, uint256 value)

func (*CoreCallerSession) GetWithdrawableMarketUsd

func (_Core *CoreCallerSession) GetWithdrawableMarketUsd(marketId *big.Int) (*big.Int, error)

GetWithdrawableMarketUsd is a free data retrieval call binding the contract method 0x1eb60770.

Solidity: function getWithdrawableMarketUsd(uint128 marketId) view returns(uint256)

func (*CoreCallerSession) HasPermission

func (_Core *CoreCallerSession) HasPermission(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

HasPermission is a free data retrieval call binding the contract method 0x8d34166b.

Solidity: function hasPermission(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*CoreCallerSession) IsAuthorized

func (_Core *CoreCallerSession) IsAuthorized(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

IsAuthorized is a free data retrieval call binding the contract method 0x1213d453.

Solidity: function isAuthorized(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*CoreCallerSession) IsFeatureAllowed

func (_Core *CoreCallerSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)

IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.

Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)

func (*CoreCallerSession) IsMarketCapacityLocked

func (_Core *CoreCallerSession) IsMarketCapacityLocked(marketId *big.Int) (bool, error)

IsMarketCapacityLocked is a free data retrieval call binding the contract method 0x07003f0a.

Solidity: function isMarketCapacityLocked(uint128 marketId) view returns(bool)

func (*CoreCallerSession) IsTrustedForwarder

func (_Core *CoreCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) pure returns(bool)

func (*CoreCallerSession) NominatedOwner

func (_Core *CoreCallerSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*CoreCallerSession) Owner

func (_Core *CoreCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CoreCallerSession) SupportsInterface

func (_Core *CoreCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type CoreCollateralConfigured

type CoreCollateralConfigured struct {
	CollateralType common.Address
	Config         CollateralConfigurationData
	Raw            types.Log // Blockchain specific contextual infos
}

CoreCollateralConfigured represents a CollateralConfigured event raised by the Core contract.

type CoreCollateralConfiguredIterator

type CoreCollateralConfiguredIterator struct {
	Event *CoreCollateralConfigured // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreCollateralConfiguredIterator is returned from FilterCollateralConfigured and is used to iterate over the raw logs and unpacked data for CollateralConfigured events raised by the Core contract.

func (*CoreCollateralConfiguredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreCollateralConfiguredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreCollateralConfiguredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreCollateralLockCreated

type CoreCollateralLockCreated struct {
	AccountId       *big.Int
	CollateralType  common.Address
	TokenAmount     *big.Int
	ExpireTimestamp uint64
	Raw             types.Log // Blockchain specific contextual infos
}

CoreCollateralLockCreated represents a CollateralLockCreated event raised by the Core contract.

type CoreCollateralLockCreatedIterator

type CoreCollateralLockCreatedIterator struct {
	Event *CoreCollateralLockCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreCollateralLockCreatedIterator is returned from FilterCollateralLockCreated and is used to iterate over the raw logs and unpacked data for CollateralLockCreated events raised by the Core contract.

func (*CoreCollateralLockCreatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreCollateralLockCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreCollateralLockCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreCollateralLockExpired

type CoreCollateralLockExpired struct {
	AccountId       *big.Int
	CollateralType  common.Address
	TokenAmount     *big.Int
	ExpireTimestamp uint64
	Raw             types.Log // Blockchain specific contextual infos
}

CoreCollateralLockExpired represents a CollateralLockExpired event raised by the Core contract.

type CoreCollateralLockExpiredIterator

type CoreCollateralLockExpiredIterator struct {
	Event *CoreCollateralLockExpired // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreCollateralLockExpiredIterator is returned from FilterCollateralLockExpired and is used to iterate over the raw logs and unpacked data for CollateralLockExpired events raised by the Core contract.

func (*CoreCollateralLockExpiredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreCollateralLockExpiredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreCollateralLockExpiredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreDebtAssociated

type CoreDebtAssociated struct {
	MarketId       *big.Int
	PoolId         *big.Int
	CollateralType common.Address
	AccountId      *big.Int
	Amount         *big.Int
	UpdatedDebt    *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

CoreDebtAssociated represents a DebtAssociated event raised by the Core contract.

type CoreDebtAssociatedIterator

type CoreDebtAssociatedIterator struct {
	Event *CoreDebtAssociated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreDebtAssociatedIterator is returned from FilterDebtAssociated and is used to iterate over the raw logs and unpacked data for DebtAssociated events raised by the Core contract.

func (*CoreDebtAssociatedIterator) Close

func (it *CoreDebtAssociatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreDebtAssociatedIterator) Error

func (it *CoreDebtAssociatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreDebtAssociatedIterator) Next

func (it *CoreDebtAssociatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreDelegationUpdated

type CoreDelegationUpdated struct {
	AccountId      *big.Int
	PoolId         *big.Int
	CollateralType common.Address
	Amount         *big.Int
	Leverage       *big.Int
	Sender         common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreDelegationUpdated represents a DelegationUpdated event raised by the Core contract.

type CoreDelegationUpdatedIterator

type CoreDelegationUpdatedIterator struct {
	Event *CoreDelegationUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreDelegationUpdatedIterator is returned from FilterDelegationUpdated and is used to iterate over the raw logs and unpacked data for DelegationUpdated events raised by the Core contract.

func (*CoreDelegationUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreDelegationUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreDelegationUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreDeposited

type CoreDeposited struct {
	AccountId      *big.Int
	CollateralType common.Address
	TokenAmount    *big.Int
	Sender         common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreDeposited represents a Deposited event raised by the Core contract.

type CoreDepositedIterator

type CoreDepositedIterator struct {
	Event *CoreDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the Core contract.

func (*CoreDepositedIterator) Close

func (it *CoreDepositedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreDepositedIterator) Error

func (it *CoreDepositedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreDepositedIterator) Next

func (it *CoreDepositedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreFeatureFlagAllowAllSet

type CoreFeatureFlagAllowAllSet struct {
	Feature  [32]byte
	AllowAll bool
	Raw      types.Log // Blockchain specific contextual infos
}

CoreFeatureFlagAllowAllSet represents a FeatureFlagAllowAllSet event raised by the Core contract.

type CoreFeatureFlagAllowAllSetIterator

type CoreFeatureFlagAllowAllSetIterator struct {
	Event *CoreFeatureFlagAllowAllSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreFeatureFlagAllowAllSetIterator is returned from FilterFeatureFlagAllowAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowAllSet events raised by the Core contract.

func (*CoreFeatureFlagAllowAllSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreFeatureFlagAllowAllSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreFeatureFlagAllowAllSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreFeatureFlagAllowlistAdded

type CoreFeatureFlagAllowlistAdded struct {
	Feature [32]byte
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CoreFeatureFlagAllowlistAdded represents a FeatureFlagAllowlistAdded event raised by the Core contract.

type CoreFeatureFlagAllowlistAddedIterator

type CoreFeatureFlagAllowlistAddedIterator struct {
	Event *CoreFeatureFlagAllowlistAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreFeatureFlagAllowlistAddedIterator is returned from FilterFeatureFlagAllowlistAdded and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistAdded events raised by the Core contract.

func (*CoreFeatureFlagAllowlistAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreFeatureFlagAllowlistAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreFeatureFlagAllowlistAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreFeatureFlagAllowlistRemoved

type CoreFeatureFlagAllowlistRemoved struct {
	Feature [32]byte
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CoreFeatureFlagAllowlistRemoved represents a FeatureFlagAllowlistRemoved event raised by the Core contract.

type CoreFeatureFlagAllowlistRemovedIterator

type CoreFeatureFlagAllowlistRemovedIterator struct {
	Event *CoreFeatureFlagAllowlistRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreFeatureFlagAllowlistRemovedIterator is returned from FilterFeatureFlagAllowlistRemoved and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistRemoved events raised by the Core contract.

func (*CoreFeatureFlagAllowlistRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreFeatureFlagAllowlistRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreFeatureFlagAllowlistRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreFeatureFlagDeniersReset

type CoreFeatureFlagDeniersReset struct {
	Feature [32]byte
	Deniers []common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CoreFeatureFlagDeniersReset represents a FeatureFlagDeniersReset event raised by the Core contract.

type CoreFeatureFlagDeniersResetIterator

type CoreFeatureFlagDeniersResetIterator struct {
	Event *CoreFeatureFlagDeniersReset // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreFeatureFlagDeniersResetIterator is returned from FilterFeatureFlagDeniersReset and is used to iterate over the raw logs and unpacked data for FeatureFlagDeniersReset events raised by the Core contract.

func (*CoreFeatureFlagDeniersResetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreFeatureFlagDeniersResetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreFeatureFlagDeniersResetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreFeatureFlagDenyAllSet

type CoreFeatureFlagDenyAllSet struct {
	Feature [32]byte
	DenyAll bool
	Raw     types.Log // Blockchain specific contextual infos
}

CoreFeatureFlagDenyAllSet represents a FeatureFlagDenyAllSet event raised by the Core contract.

type CoreFeatureFlagDenyAllSetIterator

type CoreFeatureFlagDenyAllSetIterator struct {
	Event *CoreFeatureFlagDenyAllSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreFeatureFlagDenyAllSetIterator is returned from FilterFeatureFlagDenyAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagDenyAllSet events raised by the Core contract.

func (*CoreFeatureFlagDenyAllSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreFeatureFlagDenyAllSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreFeatureFlagDenyAllSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreFilterer

type CoreFilterer struct {
	// contains filtered or unexported fields
}

CoreFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCoreFilterer

func NewCoreFilterer(address common.Address, filterer bind.ContractFilterer) (*CoreFilterer, error)

NewCoreFilterer creates a new log filterer instance of Core, bound to a specific deployed contract.

func (*CoreFilterer) FilterAccountCreated

func (_Core *CoreFilterer) FilterAccountCreated(opts *bind.FilterOpts, accountId []*big.Int, owner []common.Address) (*CoreAccountCreatedIterator, error)

FilterAccountCreated is a free log retrieval operation binding the contract event 0xa9e04d307e860938fa63307df8b8090e365276e59fcca12ed55656c25e538019.

Solidity: event AccountCreated(uint128 indexed accountId, address indexed owner)

func (*CoreFilterer) FilterAssociatedSystemSet

func (_Core *CoreFilterer) FilterAssociatedSystemSet(opts *bind.FilterOpts, kind [][32]byte, id [][32]byte) (*CoreAssociatedSystemSetIterator, error)

FilterAssociatedSystemSet is a free log retrieval operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.

Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)

func (*CoreFilterer) FilterCollateralConfigured

func (_Core *CoreFilterer) FilterCollateralConfigured(opts *bind.FilterOpts, collateralType []common.Address) (*CoreCollateralConfiguredIterator, error)

FilterCollateralConfigured is a free log retrieval operation binding the contract event 0xefc23317f58afd6b22480bd22174cc7da0913bce25c03d9859216dacddebe6fe.

Solidity: event CollateralConfigured(address indexed collateralType, (bool,uint256,uint256,uint256,bytes32,address,uint256) config)

func (*CoreFilterer) FilterCollateralLockCreated

func (_Core *CoreFilterer) FilterCollateralLockCreated(opts *bind.FilterOpts, accountId []*big.Int, collateralType []common.Address) (*CoreCollateralLockCreatedIterator, error)

FilterCollateralLockCreated is a free log retrieval operation binding the contract event 0x8a78446a234220d3ee3f46aa6ea1ea5bc438bd153398ebcbd171843744b452a6.

Solidity: event CollateralLockCreated(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, uint64 expireTimestamp)

func (*CoreFilterer) FilterCollateralLockExpired

func (_Core *CoreFilterer) FilterCollateralLockExpired(opts *bind.FilterOpts, accountId []*big.Int, collateralType []common.Address) (*CoreCollateralLockExpiredIterator, error)

FilterCollateralLockExpired is a free log retrieval operation binding the contract event 0xc5e2c7afc4e54d998977e11260a0bfc0ad5678a3a8b6628162f9d4e642d7f160.

Solidity: event CollateralLockExpired(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, uint64 expireTimestamp)

func (*CoreFilterer) FilterDebtAssociated

func (_Core *CoreFilterer) FilterDebtAssociated(opts *bind.FilterOpts, marketId []*big.Int, poolId []*big.Int, collateralType []common.Address) (*CoreDebtAssociatedIterator, error)

FilterDebtAssociated is a free log retrieval operation binding the contract event 0xb03bc7530b5650601d2c8bc86c81a45b6b50b0099defd3f17a6bdb48660180ad.

Solidity: event DebtAssociated(uint128 indexed marketId, uint128 indexed poolId, address indexed collateralType, uint128 accountId, uint256 amount, int256 updatedDebt)

func (*CoreFilterer) FilterDelegationUpdated

func (_Core *CoreFilterer) FilterDelegationUpdated(opts *bind.FilterOpts, accountId []*big.Int, poolId []*big.Int, sender []common.Address) (*CoreDelegationUpdatedIterator, error)

FilterDelegationUpdated is a free log retrieval operation binding the contract event 0x7b12dd38f18c0ff77ae702f6da13fbbcb28f53f807ecc7d39ee8d8b1ea8295ad.

Solidity: event DelegationUpdated(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, uint256 leverage, address indexed sender)

func (*CoreFilterer) FilterDeposited

func (_Core *CoreFilterer) FilterDeposited(opts *bind.FilterOpts, accountId []*big.Int, collateralType []common.Address, sender []common.Address) (*CoreDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0xd92122e67326e9313bfae33ccb1fccf5194584c6bf93a8529a6b006d8c6e24a9.

Solidity: event Deposited(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, address indexed sender)

func (*CoreFilterer) FilterFeatureFlagAllowAllSet

func (_Core *CoreFilterer) FilterFeatureFlagAllowAllSet(opts *bind.FilterOpts, feature [][32]byte) (*CoreFeatureFlagAllowAllSetIterator, error)

FilterFeatureFlagAllowAllSet is a free log retrieval operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.

Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)

func (*CoreFilterer) FilterFeatureFlagAllowlistAdded

func (_Core *CoreFilterer) FilterFeatureFlagAllowlistAdded(opts *bind.FilterOpts, feature [][32]byte) (*CoreFeatureFlagAllowlistAddedIterator, error)

FilterFeatureFlagAllowlistAdded is a free log retrieval operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.

Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)

func (*CoreFilterer) FilterFeatureFlagAllowlistRemoved

func (_Core *CoreFilterer) FilterFeatureFlagAllowlistRemoved(opts *bind.FilterOpts, feature [][32]byte) (*CoreFeatureFlagAllowlistRemovedIterator, error)

FilterFeatureFlagAllowlistRemoved is a free log retrieval operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.

Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)

func (*CoreFilterer) FilterFeatureFlagDeniersReset

func (_Core *CoreFilterer) FilterFeatureFlagDeniersReset(opts *bind.FilterOpts, feature [][32]byte) (*CoreFeatureFlagDeniersResetIterator, error)

FilterFeatureFlagDeniersReset is a free log retrieval operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.

Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)

func (*CoreFilterer) FilterFeatureFlagDenyAllSet

func (_Core *CoreFilterer) FilterFeatureFlagDenyAllSet(opts *bind.FilterOpts, feature [][32]byte) (*CoreFeatureFlagDenyAllSetIterator, error)

FilterFeatureFlagDenyAllSet is a free log retrieval operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.

Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)

func (*CoreFilterer) FilterIssuanceFeePaid

func (_Core *CoreFilterer) FilterIssuanceFeePaid(opts *bind.FilterOpts, accountId []*big.Int, poolId []*big.Int) (*CoreIssuanceFeePaidIterator, error)

FilterIssuanceFeePaid is a free log retrieval operation binding the contract event 0x28d0fb10e1c8ce51490a16fb3b40bf23f8064f7c624d3a3852ad66683a25995d.

Solidity: event IssuanceFeePaid(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 feeAmount)

func (*CoreFilterer) FilterLiquidation

func (_Core *CoreFilterer) FilterLiquidation(opts *bind.FilterOpts, accountId []*big.Int, poolId []*big.Int, collateralType []common.Address) (*CoreLiquidationIterator, error)

FilterLiquidation is a free log retrieval operation binding the contract event 0xe6c1b26644f880854bf954d4186be9f0b2d06d50fa0484b596e79d409c07a5fd.

Solidity: event Liquidation(uint128 indexed accountId, uint128 indexed poolId, address indexed collateralType, (uint256,uint256,uint256) liquidationData, uint128 liquidateAsAccountId, address sender)

func (*CoreFilterer) FilterMarketCollateralDeposited

func (_Core *CoreFilterer) FilterMarketCollateralDeposited(opts *bind.FilterOpts, marketId []*big.Int, collateralType []common.Address, sender []common.Address) (*CoreMarketCollateralDepositedIterator, error)

FilterMarketCollateralDeposited is a free log retrieval operation binding the contract event 0x0268c0025d1310f8cbf9a431c755af708633271b9b5902855857297267d6f41b.

Solidity: event MarketCollateralDeposited(uint128 indexed marketId, address indexed collateralType, uint256 tokenAmount, address indexed sender, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) FilterMarketCollateralWithdrawn

func (_Core *CoreFilterer) FilterMarketCollateralWithdrawn(opts *bind.FilterOpts, marketId []*big.Int, collateralType []common.Address, sender []common.Address) (*CoreMarketCollateralWithdrawnIterator, error)

FilterMarketCollateralWithdrawn is a free log retrieval operation binding the contract event 0x88eb4cc1feb3af3a3e45798dc1d42ec34ef453093ffe0c56fc36e27abd2cc4d7.

Solidity: event MarketCollateralWithdrawn(uint128 indexed marketId, address indexed collateralType, uint256 tokenAmount, address indexed sender, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) FilterMarketRegistered

func (_Core *CoreFilterer) FilterMarketRegistered(opts *bind.FilterOpts, market []common.Address, marketId []*big.Int, sender []common.Address) (*CoreMarketRegisteredIterator, error)

FilterMarketRegistered is a free log retrieval operation binding the contract event 0xeb87361ace8c1947e121293eb214f68d889d9cf273c48246b38c3cbf185748d0.

Solidity: event MarketRegistered(address indexed market, uint128 indexed marketId, address indexed sender)

func (*CoreFilterer) FilterMarketSystemFeePaid

func (_Core *CoreFilterer) FilterMarketSystemFeePaid(opts *bind.FilterOpts, marketId []*big.Int) (*CoreMarketSystemFeePaidIterator, error)

FilterMarketSystemFeePaid is a free log retrieval operation binding the contract event 0x8b69fed8aed97ef9572216662359ece45fa52f2b5ff44a78b7ec3c5ef05153f8.

Solidity: event MarketSystemFeePaid(uint128 indexed marketId, uint256 feeAmount)

func (*CoreFilterer) FilterMarketUsdDeposited

func (_Core *CoreFilterer) FilterMarketUsdDeposited(opts *bind.FilterOpts, marketId []*big.Int, target []common.Address, market []common.Address) (*CoreMarketUsdDepositedIterator, error)

FilterMarketUsdDeposited is a free log retrieval operation binding the contract event 0xf92dddcee1f7e80b04d1141159985b52e0dc3b69d26b9f67b714bf9ff70b4b85.

Solidity: event MarketUsdDeposited(uint128 indexed marketId, address indexed target, uint256 amount, address indexed market, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) FilterMarketUsdWithdrawn

func (_Core *CoreFilterer) FilterMarketUsdWithdrawn(opts *bind.FilterOpts, marketId []*big.Int, target []common.Address, market []common.Address) (*CoreMarketUsdWithdrawnIterator, error)

FilterMarketUsdWithdrawn is a free log retrieval operation binding the contract event 0x53e76a481a00b96d9b07448b333af94f26fbac5059ca153986bf2c98001c3f2c.

Solidity: event MarketUsdWithdrawn(uint128 indexed marketId, address indexed target, uint256 amount, address indexed market, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) FilterMaximumMarketCollateralConfigured

func (_Core *CoreFilterer) FilterMaximumMarketCollateralConfigured(opts *bind.FilterOpts, marketId []*big.Int, collateralType []common.Address, owner []common.Address) (*CoreMaximumMarketCollateralConfiguredIterator, error)

FilterMaximumMarketCollateralConfigured is a free log retrieval operation binding the contract event 0x499c8fcfbc4341c37dcf444c890d42ef888d46aa586f97ceb20577c2635c8075.

Solidity: event MaximumMarketCollateralConfigured(uint128 indexed marketId, address indexed collateralType, uint256 systemAmount, address indexed owner)

func (*CoreFilterer) FilterNewSupportedCrossChainNetwork

func (_Core *CoreFilterer) FilterNewSupportedCrossChainNetwork(opts *bind.FilterOpts) (*CoreNewSupportedCrossChainNetworkIterator, error)

FilterNewSupportedCrossChainNetwork is a free log retrieval operation binding the contract event 0x1874eb2a5288e478dcedf1d33291bd7293eeef5946ec516d2ef54a364b3f63d8.

Solidity: event NewSupportedCrossChainNetwork(uint64 newChainId)

func (*CoreFilterer) FilterOwnerChanged

func (_Core *CoreFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*CoreOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*CoreFilterer) FilterOwnerNominated

func (_Core *CoreFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*CoreOwnerNominatedIterator, error)

FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*CoreFilterer) FilterPermissionGranted

func (_Core *CoreFilterer) FilterPermissionGranted(opts *bind.FilterOpts, accountId []*big.Int, permission [][32]byte, user []common.Address) (*CorePermissionGrantedIterator, error)

FilterPermissionGranted is a free log retrieval operation binding the contract event 0x32ff7c3f84299a3543c1e89057e98ba962f4fbe7786c52289e184c57b9a36a50.

Solidity: event PermissionGranted(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*CoreFilterer) FilterPermissionRevoked

func (_Core *CoreFilterer) FilterPermissionRevoked(opts *bind.FilterOpts, accountId []*big.Int, permission [][32]byte, user []common.Address) (*CorePermissionRevokedIterator, error)

FilterPermissionRevoked is a free log retrieval operation binding the contract event 0x116c7e9cd2db316974fb473babcbcd625be1350842d0319e761d30aefb09a58a.

Solidity: event PermissionRevoked(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*CoreFilterer) FilterPoolApprovedAdded

func (_Core *CoreFilterer) FilterPoolApprovedAdded(opts *bind.FilterOpts) (*CorePoolApprovedAddedIterator, error)

FilterPoolApprovedAdded is a free log retrieval operation binding the contract event 0x7d5bdf4e8c44e0b5a8249bf03c2a1febd848cc7f580efd7b1703301c5b1a9e4e.

Solidity: event PoolApprovedAdded(uint256 poolId)

func (*CoreFilterer) FilterPoolApprovedRemoved

func (_Core *CoreFilterer) FilterPoolApprovedRemoved(opts *bind.FilterOpts) (*CorePoolApprovedRemovedIterator, error)

FilterPoolApprovedRemoved is a free log retrieval operation binding the contract event 0xc1567ee9983f306f073ea7d59a7fb5680ce07985f8b49cc50d00a3a9f748d3c2.

Solidity: event PoolApprovedRemoved(uint256 poolId)

func (*CoreFilterer) FilterPoolCollateralConfigurationUpdated

func (_Core *CoreFilterer) FilterPoolCollateralConfigurationUpdated(opts *bind.FilterOpts, poolId []*big.Int) (*CorePoolCollateralConfigurationUpdatedIterator, error)

FilterPoolCollateralConfigurationUpdated is a free log retrieval operation binding the contract event 0x5ebb5c59166ab9735b293a159ee2129e61d16b526867763f25557a275a2aad92.

Solidity: event PoolCollateralConfigurationUpdated(uint128 indexed poolId, address collateralType, (uint256,uint256) config)

func (*CoreFilterer) FilterPoolCollateralDisabledByDefaultSet

func (_Core *CoreFilterer) FilterPoolCollateralDisabledByDefaultSet(opts *bind.FilterOpts) (*CorePoolCollateralDisabledByDefaultSetIterator, error)

FilterPoolCollateralDisabledByDefaultSet is a free log retrieval operation binding the contract event 0xe0ed98ef42e6a4a881ae0d3c4459c9ed06a36a2144e02efc11823c6cae515bf2.

Solidity: event PoolCollateralDisabledByDefaultSet(uint128 poolId, bool disabled)

func (*CoreFilterer) FilterPoolConfigurationSet

func (_Core *CoreFilterer) FilterPoolConfigurationSet(opts *bind.FilterOpts, poolId []*big.Int, sender []common.Address) (*CorePoolConfigurationSetIterator, error)

FilterPoolConfigurationSet is a free log retrieval operation binding the contract event 0xdd812c2e47943d98e6c66b2b9872d1f9270b8523c82eb60ad5c8d580a614081c.

Solidity: event PoolConfigurationSet(uint128 indexed poolId, (uint128,uint128,int128)[] markets, address indexed sender)

func (*CoreFilterer) FilterPoolCreated

func (_Core *CoreFilterer) FilterPoolCreated(opts *bind.FilterOpts, poolId []*big.Int, owner []common.Address, sender []common.Address) (*CorePoolCreatedIterator, error)

FilterPoolCreated is a free log retrieval operation binding the contract event 0xb1517ad708e5f9a104c30d3f1ff749d55833b1d03bf472013c29888e741cf340.

Solidity: event PoolCreated(uint128 indexed poolId, address indexed owner, address indexed sender)

func (*CoreFilterer) FilterPoolNameUpdated

func (_Core *CoreFilterer) FilterPoolNameUpdated(opts *bind.FilterOpts, poolId []*big.Int, sender []common.Address) (*CorePoolNameUpdatedIterator, error)

FilterPoolNameUpdated is a free log retrieval operation binding the contract event 0x63b42abaf7e145a993f20bc64259f45d09c43d18838ab0bca078b15093ac55f4.

Solidity: event PoolNameUpdated(uint128 indexed poolId, string name, address indexed sender)

func (*CoreFilterer) FilterPoolNominationRenounced

func (_Core *CoreFilterer) FilterPoolNominationRenounced(opts *bind.FilterOpts, poolId []*big.Int, owner []common.Address) (*CorePoolNominationRenouncedIterator, error)

FilterPoolNominationRenounced is a free log retrieval operation binding the contract event 0x28301da5fb0feefb138efa6310af4547a74f415d62616f90519436dc169c3ae0.

Solidity: event PoolNominationRenounced(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) FilterPoolNominationRevoked

func (_Core *CoreFilterer) FilterPoolNominationRevoked(opts *bind.FilterOpts, poolId []*big.Int, owner []common.Address) (*CorePoolNominationRevokedIterator, error)

FilterPoolNominationRevoked is a free log retrieval operation binding the contract event 0xa20a605599b6da4a06e0662f1284c442a576bc452b77a38c8c55805cb82a1865.

Solidity: event PoolNominationRevoked(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) FilterPoolOwnerNominated

func (_Core *CoreFilterer) FilterPoolOwnerNominated(opts *bind.FilterOpts, poolId []*big.Int, nominatedOwner []common.Address, owner []common.Address) (*CorePoolOwnerNominatedIterator, error)

FilterPoolOwnerNominated is a free log retrieval operation binding the contract event 0x55d98f82a53fb5776e9ea48d624ab9cb015b51a45249b1ed8425fc857c82f4f8.

Solidity: event PoolOwnerNominated(uint128 indexed poolId, address indexed nominatedOwner, address indexed owner)

func (*CoreFilterer) FilterPoolOwnershipAccepted

func (_Core *CoreFilterer) FilterPoolOwnershipAccepted(opts *bind.FilterOpts, poolId []*big.Int, owner []common.Address) (*CorePoolOwnershipAcceptedIterator, error)

FilterPoolOwnershipAccepted is a free log retrieval operation binding the contract event 0x4f86f2ce8b08e27d0e470f4269b71c3bbc68407d51a2e692f6573236074ebc5a.

Solidity: event PoolOwnershipAccepted(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) FilterPoolOwnershipRenounced

func (_Core *CoreFilterer) FilterPoolOwnershipRenounced(opts *bind.FilterOpts, poolId []*big.Int, owner []common.Address) (*CorePoolOwnershipRenouncedIterator, error)

FilterPoolOwnershipRenounced is a free log retrieval operation binding the contract event 0x0d1df5c898ce9334fe91f342f5c07b0eea630d388f90b4e07e85753d61252734.

Solidity: event PoolOwnershipRenounced(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) FilterPreferredPoolSet

func (_Core *CoreFilterer) FilterPreferredPoolSet(opts *bind.FilterOpts) (*CorePreferredPoolSetIterator, error)

FilterPreferredPoolSet is a free log retrieval operation binding the contract event 0x7e7cb4726e710dc12fad41f158c37a4a71af3a6f053b8b13670d35c710139a56.

Solidity: event PreferredPoolSet(uint256 poolId)

func (*CoreFilterer) FilterRewardsClaimed

func (_Core *CoreFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, accountId []*big.Int, poolId []*big.Int, collateralType []common.Address) (*CoreRewardsClaimedIterator, error)

FilterRewardsClaimed is a free log retrieval operation binding the contract event 0xa4a60be4203e7975e54ab5314c7e9e18aba9ad71e8da714d8de987f4f05410f2.

Solidity: event RewardsClaimed(uint128 indexed accountId, uint128 indexed poolId, address indexed collateralType, address distributor, uint256 amount)

func (*CoreFilterer) FilterRewardsDistributed

func (_Core *CoreFilterer) FilterRewardsDistributed(opts *bind.FilterOpts, poolId []*big.Int, collateralType []common.Address) (*CoreRewardsDistributedIterator, error)

FilterRewardsDistributed is a free log retrieval operation binding the contract event 0x19ced31d71d1db45f99d5a8d3a7616fe9d78828df58f2a28feb68c9f9ab876ca.

Solidity: event RewardsDistributed(uint128 indexed poolId, address indexed collateralType, address distributor, uint256 amount, uint256 start, uint256 duration)

func (*CoreFilterer) FilterRewardsDistributorRegistered

func (_Core *CoreFilterer) FilterRewardsDistributorRegistered(opts *bind.FilterOpts, poolId []*big.Int, collateralType []common.Address, distributor []common.Address) (*CoreRewardsDistributorRegisteredIterator, error)

FilterRewardsDistributorRegistered is a free log retrieval operation binding the contract event 0x9d3609c05a83dc93a5b355d62c2b37dfde8f0833b1184d4d05c6f51cd46b6e5b.

Solidity: event RewardsDistributorRegistered(uint128 indexed poolId, address indexed collateralType, address indexed distributor)

func (*CoreFilterer) FilterRewardsDistributorRemoved

func (_Core *CoreFilterer) FilterRewardsDistributorRemoved(opts *bind.FilterOpts, poolId []*big.Int, collateralType []common.Address, distributor []common.Address) (*CoreRewardsDistributorRemovedIterator, error)

FilterRewardsDistributorRemoved is a free log retrieval operation binding the contract event 0x375c4507f463c55a506be95e2cfd3cfdc0610be055087eac6049588a1bcfacba.

Solidity: event RewardsDistributorRemoved(uint128 indexed poolId, address indexed collateralType, address indexed distributor)

func (*CoreFilterer) FilterSetMarketMinLiquidityRatio

func (_Core *CoreFilterer) FilterSetMarketMinLiquidityRatio(opts *bind.FilterOpts, marketId []*big.Int) (*CoreSetMarketMinLiquidityRatioIterator, error)

FilterSetMarketMinLiquidityRatio is a free log retrieval operation binding the contract event 0x563eb723f21b3e87ec8932cfb4ffa64d1b68c42053c28d6b4db019a40f6daf47.

Solidity: event SetMarketMinLiquidityRatio(uint128 indexed marketId, uint256 minLiquidityRatio)

func (*CoreFilterer) FilterSetMinDelegateTime

func (_Core *CoreFilterer) FilterSetMinDelegateTime(opts *bind.FilterOpts, marketId []*big.Int) (*CoreSetMinDelegateTimeIterator, error)

FilterSetMinDelegateTime is a free log retrieval operation binding the contract event 0x6942a68d151863c1fed3c0c4c5f3258af738218527147ac69290ab23ca7d26c6.

Solidity: event SetMinDelegateTime(uint128 indexed marketId, uint32 minDelegateTime)

func (*CoreFilterer) FilterSetMinLiquidityRatio

func (_Core *CoreFilterer) FilterSetMinLiquidityRatio(opts *bind.FilterOpts) (*CoreSetMinLiquidityRatioIterator, error)

FilterSetMinLiquidityRatio is a free log retrieval operation binding the contract event 0x66fd484d9868d1faddc8fef1f3faed0ed25eb4e6acde49dd1f2cbf0fba903635.

Solidity: event SetMinLiquidityRatio(uint256 minLiquidityRatio)

func (*CoreFilterer) FilterTransferCrossChainInitiated

func (_Core *CoreFilterer) FilterTransferCrossChainInitiated(opts *bind.FilterOpts, destChainId []uint64, amount []*big.Int) (*CoreTransferCrossChainInitiatedIterator, error)

FilterTransferCrossChainInitiated is a free log retrieval operation binding the contract event 0xb87c3097d7f9145a4915e8e434f04a1b7b91646d8a6e66a5cdab25caccb644c4.

Solidity: event TransferCrossChainInitiated(uint64 indexed destChainId, uint256 indexed amount, address sender)

func (*CoreFilterer) FilterUpgraded

func (_Core *CoreFilterer) FilterUpgraded(opts *bind.FilterOpts, self []common.Address) (*CoreUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.

Solidity: event Upgraded(address indexed self, address implementation)

func (*CoreFilterer) FilterUsdBurned

func (_Core *CoreFilterer) FilterUsdBurned(opts *bind.FilterOpts, accountId []*big.Int, poolId []*big.Int, sender []common.Address) (*CoreUsdBurnedIterator, error)

FilterUsdBurned is a free log retrieval operation binding the contract event 0x6b0230f0abe9188cbdbb1c816a4c5e213758b5b743d8a94af056280cc1e7aeb1.

Solidity: event UsdBurned(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, address indexed sender)

func (*CoreFilterer) FilterUsdMinted

func (_Core *CoreFilterer) FilterUsdMinted(opts *bind.FilterOpts, accountId []*big.Int, poolId []*big.Int, sender []common.Address) (*CoreUsdMintedIterator, error)

FilterUsdMinted is a free log retrieval operation binding the contract event 0x2100f67dc9a5917400f799bb13194553e3f74c19a207c56350d2c223ac9c36c9.

Solidity: event UsdMinted(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, address indexed sender)

func (*CoreFilterer) FilterVaultLiquidation

func (_Core *CoreFilterer) FilterVaultLiquidation(opts *bind.FilterOpts, poolId []*big.Int, collateralType []common.Address) (*CoreVaultLiquidationIterator, error)

FilterVaultLiquidation is a free log retrieval operation binding the contract event 0x1834a7cc9d14f9bfa482df5c0404dadd1b8ec123b41f082e76ae28a3b2ea68d5.

Solidity: event VaultLiquidation(uint128 indexed poolId, address indexed collateralType, (uint256,uint256,uint256) liquidationData, uint128 liquidateAsAccountId, address sender)

func (*CoreFilterer) FilterWithdrawn

func (_Core *CoreFilterer) FilterWithdrawn(opts *bind.FilterOpts, accountId []*big.Int, collateralType []common.Address, sender []common.Address) (*CoreWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x8b5f9d7ce522936589c630db08c0fa2405b21c4a5ff8ef19899900172736ba38.

Solidity: event Withdrawn(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, address indexed sender)

func (*CoreFilterer) ParseAccountCreated

func (_Core *CoreFilterer) ParseAccountCreated(log types.Log) (*CoreAccountCreated, error)

ParseAccountCreated is a log parse operation binding the contract event 0xa9e04d307e860938fa63307df8b8090e365276e59fcca12ed55656c25e538019.

Solidity: event AccountCreated(uint128 indexed accountId, address indexed owner)

func (*CoreFilterer) ParseAssociatedSystemSet

func (_Core *CoreFilterer) ParseAssociatedSystemSet(log types.Log) (*CoreAssociatedSystemSet, error)

ParseAssociatedSystemSet is a log parse operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.

Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)

func (*CoreFilterer) ParseCollateralConfigured

func (_Core *CoreFilterer) ParseCollateralConfigured(log types.Log) (*CoreCollateralConfigured, error)

ParseCollateralConfigured is a log parse operation binding the contract event 0xefc23317f58afd6b22480bd22174cc7da0913bce25c03d9859216dacddebe6fe.

Solidity: event CollateralConfigured(address indexed collateralType, (bool,uint256,uint256,uint256,bytes32,address,uint256) config)

func (*CoreFilterer) ParseCollateralLockCreated

func (_Core *CoreFilterer) ParseCollateralLockCreated(log types.Log) (*CoreCollateralLockCreated, error)

ParseCollateralLockCreated is a log parse operation binding the contract event 0x8a78446a234220d3ee3f46aa6ea1ea5bc438bd153398ebcbd171843744b452a6.

Solidity: event CollateralLockCreated(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, uint64 expireTimestamp)

func (*CoreFilterer) ParseCollateralLockExpired

func (_Core *CoreFilterer) ParseCollateralLockExpired(log types.Log) (*CoreCollateralLockExpired, error)

ParseCollateralLockExpired is a log parse operation binding the contract event 0xc5e2c7afc4e54d998977e11260a0bfc0ad5678a3a8b6628162f9d4e642d7f160.

Solidity: event CollateralLockExpired(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, uint64 expireTimestamp)

func (*CoreFilterer) ParseDebtAssociated

func (_Core *CoreFilterer) ParseDebtAssociated(log types.Log) (*CoreDebtAssociated, error)

ParseDebtAssociated is a log parse operation binding the contract event 0xb03bc7530b5650601d2c8bc86c81a45b6b50b0099defd3f17a6bdb48660180ad.

Solidity: event DebtAssociated(uint128 indexed marketId, uint128 indexed poolId, address indexed collateralType, uint128 accountId, uint256 amount, int256 updatedDebt)

func (*CoreFilterer) ParseDelegationUpdated

func (_Core *CoreFilterer) ParseDelegationUpdated(log types.Log) (*CoreDelegationUpdated, error)

ParseDelegationUpdated is a log parse operation binding the contract event 0x7b12dd38f18c0ff77ae702f6da13fbbcb28f53f807ecc7d39ee8d8b1ea8295ad.

Solidity: event DelegationUpdated(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, uint256 leverage, address indexed sender)

func (*CoreFilterer) ParseDeposited

func (_Core *CoreFilterer) ParseDeposited(log types.Log) (*CoreDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0xd92122e67326e9313bfae33ccb1fccf5194584c6bf93a8529a6b006d8c6e24a9.

Solidity: event Deposited(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, address indexed sender)

func (*CoreFilterer) ParseFeatureFlagAllowAllSet

func (_Core *CoreFilterer) ParseFeatureFlagAllowAllSet(log types.Log) (*CoreFeatureFlagAllowAllSet, error)

ParseFeatureFlagAllowAllSet is a log parse operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.

Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)

func (*CoreFilterer) ParseFeatureFlagAllowlistAdded

func (_Core *CoreFilterer) ParseFeatureFlagAllowlistAdded(log types.Log) (*CoreFeatureFlagAllowlistAdded, error)

ParseFeatureFlagAllowlistAdded is a log parse operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.

Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)

func (*CoreFilterer) ParseFeatureFlagAllowlistRemoved

func (_Core *CoreFilterer) ParseFeatureFlagAllowlistRemoved(log types.Log) (*CoreFeatureFlagAllowlistRemoved, error)

ParseFeatureFlagAllowlistRemoved is a log parse operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.

Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)

func (*CoreFilterer) ParseFeatureFlagDeniersReset

func (_Core *CoreFilterer) ParseFeatureFlagDeniersReset(log types.Log) (*CoreFeatureFlagDeniersReset, error)

ParseFeatureFlagDeniersReset is a log parse operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.

Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)

func (*CoreFilterer) ParseFeatureFlagDenyAllSet

func (_Core *CoreFilterer) ParseFeatureFlagDenyAllSet(log types.Log) (*CoreFeatureFlagDenyAllSet, error)

ParseFeatureFlagDenyAllSet is a log parse operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.

Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)

func (*CoreFilterer) ParseIssuanceFeePaid

func (_Core *CoreFilterer) ParseIssuanceFeePaid(log types.Log) (*CoreIssuanceFeePaid, error)

ParseIssuanceFeePaid is a log parse operation binding the contract event 0x28d0fb10e1c8ce51490a16fb3b40bf23f8064f7c624d3a3852ad66683a25995d.

Solidity: event IssuanceFeePaid(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 feeAmount)

func (*CoreFilterer) ParseLiquidation

func (_Core *CoreFilterer) ParseLiquidation(log types.Log) (*CoreLiquidation, error)

ParseLiquidation is a log parse operation binding the contract event 0xe6c1b26644f880854bf954d4186be9f0b2d06d50fa0484b596e79d409c07a5fd.

Solidity: event Liquidation(uint128 indexed accountId, uint128 indexed poolId, address indexed collateralType, (uint256,uint256,uint256) liquidationData, uint128 liquidateAsAccountId, address sender)

func (*CoreFilterer) ParseMarketCollateralDeposited

func (_Core *CoreFilterer) ParseMarketCollateralDeposited(log types.Log) (*CoreMarketCollateralDeposited, error)

ParseMarketCollateralDeposited is a log parse operation binding the contract event 0x0268c0025d1310f8cbf9a431c755af708633271b9b5902855857297267d6f41b.

Solidity: event MarketCollateralDeposited(uint128 indexed marketId, address indexed collateralType, uint256 tokenAmount, address indexed sender, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) ParseMarketCollateralWithdrawn

func (_Core *CoreFilterer) ParseMarketCollateralWithdrawn(log types.Log) (*CoreMarketCollateralWithdrawn, error)

ParseMarketCollateralWithdrawn is a log parse operation binding the contract event 0x88eb4cc1feb3af3a3e45798dc1d42ec34ef453093ffe0c56fc36e27abd2cc4d7.

Solidity: event MarketCollateralWithdrawn(uint128 indexed marketId, address indexed collateralType, uint256 tokenAmount, address indexed sender, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) ParseMarketRegistered

func (_Core *CoreFilterer) ParseMarketRegistered(log types.Log) (*CoreMarketRegistered, error)

ParseMarketRegistered is a log parse operation binding the contract event 0xeb87361ace8c1947e121293eb214f68d889d9cf273c48246b38c3cbf185748d0.

Solidity: event MarketRegistered(address indexed market, uint128 indexed marketId, address indexed sender)

func (*CoreFilterer) ParseMarketSystemFeePaid

func (_Core *CoreFilterer) ParseMarketSystemFeePaid(log types.Log) (*CoreMarketSystemFeePaid, error)

ParseMarketSystemFeePaid is a log parse operation binding the contract event 0x8b69fed8aed97ef9572216662359ece45fa52f2b5ff44a78b7ec3c5ef05153f8.

Solidity: event MarketSystemFeePaid(uint128 indexed marketId, uint256 feeAmount)

func (*CoreFilterer) ParseMarketUsdDeposited

func (_Core *CoreFilterer) ParseMarketUsdDeposited(log types.Log) (*CoreMarketUsdDeposited, error)

ParseMarketUsdDeposited is a log parse operation binding the contract event 0xf92dddcee1f7e80b04d1141159985b52e0dc3b69d26b9f67b714bf9ff70b4b85.

Solidity: event MarketUsdDeposited(uint128 indexed marketId, address indexed target, uint256 amount, address indexed market, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) ParseMarketUsdWithdrawn

func (_Core *CoreFilterer) ParseMarketUsdWithdrawn(log types.Log) (*CoreMarketUsdWithdrawn, error)

ParseMarketUsdWithdrawn is a log parse operation binding the contract event 0x53e76a481a00b96d9b07448b333af94f26fbac5059ca153986bf2c98001c3f2c.

Solidity: event MarketUsdWithdrawn(uint128 indexed marketId, address indexed target, uint256 amount, address indexed market, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) ParseMaximumMarketCollateralConfigured

func (_Core *CoreFilterer) ParseMaximumMarketCollateralConfigured(log types.Log) (*CoreMaximumMarketCollateralConfigured, error)

ParseMaximumMarketCollateralConfigured is a log parse operation binding the contract event 0x499c8fcfbc4341c37dcf444c890d42ef888d46aa586f97ceb20577c2635c8075.

Solidity: event MaximumMarketCollateralConfigured(uint128 indexed marketId, address indexed collateralType, uint256 systemAmount, address indexed owner)

func (*CoreFilterer) ParseNewSupportedCrossChainNetwork

func (_Core *CoreFilterer) ParseNewSupportedCrossChainNetwork(log types.Log) (*CoreNewSupportedCrossChainNetwork, error)

ParseNewSupportedCrossChainNetwork is a log parse operation binding the contract event 0x1874eb2a5288e478dcedf1d33291bd7293eeef5946ec516d2ef54a364b3f63d8.

Solidity: event NewSupportedCrossChainNetwork(uint64 newChainId)

func (*CoreFilterer) ParseOwnerChanged

func (_Core *CoreFilterer) ParseOwnerChanged(log types.Log) (*CoreOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*CoreFilterer) ParseOwnerNominated

func (_Core *CoreFilterer) ParseOwnerNominated(log types.Log) (*CoreOwnerNominated, error)

ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*CoreFilterer) ParsePermissionGranted

func (_Core *CoreFilterer) ParsePermissionGranted(log types.Log) (*CorePermissionGranted, error)

ParsePermissionGranted is a log parse operation binding the contract event 0x32ff7c3f84299a3543c1e89057e98ba962f4fbe7786c52289e184c57b9a36a50.

Solidity: event PermissionGranted(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*CoreFilterer) ParsePermissionRevoked

func (_Core *CoreFilterer) ParsePermissionRevoked(log types.Log) (*CorePermissionRevoked, error)

ParsePermissionRevoked is a log parse operation binding the contract event 0x116c7e9cd2db316974fb473babcbcd625be1350842d0319e761d30aefb09a58a.

Solidity: event PermissionRevoked(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*CoreFilterer) ParsePoolApprovedAdded

func (_Core *CoreFilterer) ParsePoolApprovedAdded(log types.Log) (*CorePoolApprovedAdded, error)

ParsePoolApprovedAdded is a log parse operation binding the contract event 0x7d5bdf4e8c44e0b5a8249bf03c2a1febd848cc7f580efd7b1703301c5b1a9e4e.

Solidity: event PoolApprovedAdded(uint256 poolId)

func (*CoreFilterer) ParsePoolApprovedRemoved

func (_Core *CoreFilterer) ParsePoolApprovedRemoved(log types.Log) (*CorePoolApprovedRemoved, error)

ParsePoolApprovedRemoved is a log parse operation binding the contract event 0xc1567ee9983f306f073ea7d59a7fb5680ce07985f8b49cc50d00a3a9f748d3c2.

Solidity: event PoolApprovedRemoved(uint256 poolId)

func (*CoreFilterer) ParsePoolCollateralConfigurationUpdated

func (_Core *CoreFilterer) ParsePoolCollateralConfigurationUpdated(log types.Log) (*CorePoolCollateralConfigurationUpdated, error)

ParsePoolCollateralConfigurationUpdated is a log parse operation binding the contract event 0x5ebb5c59166ab9735b293a159ee2129e61d16b526867763f25557a275a2aad92.

Solidity: event PoolCollateralConfigurationUpdated(uint128 indexed poolId, address collateralType, (uint256,uint256) config)

func (*CoreFilterer) ParsePoolCollateralDisabledByDefaultSet

func (_Core *CoreFilterer) ParsePoolCollateralDisabledByDefaultSet(log types.Log) (*CorePoolCollateralDisabledByDefaultSet, error)

ParsePoolCollateralDisabledByDefaultSet is a log parse operation binding the contract event 0xe0ed98ef42e6a4a881ae0d3c4459c9ed06a36a2144e02efc11823c6cae515bf2.

Solidity: event PoolCollateralDisabledByDefaultSet(uint128 poolId, bool disabled)

func (*CoreFilterer) ParsePoolConfigurationSet

func (_Core *CoreFilterer) ParsePoolConfigurationSet(log types.Log) (*CorePoolConfigurationSet, error)

ParsePoolConfigurationSet is a log parse operation binding the contract event 0xdd812c2e47943d98e6c66b2b9872d1f9270b8523c82eb60ad5c8d580a614081c.

Solidity: event PoolConfigurationSet(uint128 indexed poolId, (uint128,uint128,int128)[] markets, address indexed sender)

func (*CoreFilterer) ParsePoolCreated

func (_Core *CoreFilterer) ParsePoolCreated(log types.Log) (*CorePoolCreated, error)

ParsePoolCreated is a log parse operation binding the contract event 0xb1517ad708e5f9a104c30d3f1ff749d55833b1d03bf472013c29888e741cf340.

Solidity: event PoolCreated(uint128 indexed poolId, address indexed owner, address indexed sender)

func (*CoreFilterer) ParsePoolNameUpdated

func (_Core *CoreFilterer) ParsePoolNameUpdated(log types.Log) (*CorePoolNameUpdated, error)

ParsePoolNameUpdated is a log parse operation binding the contract event 0x63b42abaf7e145a993f20bc64259f45d09c43d18838ab0bca078b15093ac55f4.

Solidity: event PoolNameUpdated(uint128 indexed poolId, string name, address indexed sender)

func (*CoreFilterer) ParsePoolNominationRenounced

func (_Core *CoreFilterer) ParsePoolNominationRenounced(log types.Log) (*CorePoolNominationRenounced, error)

ParsePoolNominationRenounced is a log parse operation binding the contract event 0x28301da5fb0feefb138efa6310af4547a74f415d62616f90519436dc169c3ae0.

Solidity: event PoolNominationRenounced(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) ParsePoolNominationRevoked

func (_Core *CoreFilterer) ParsePoolNominationRevoked(log types.Log) (*CorePoolNominationRevoked, error)

ParsePoolNominationRevoked is a log parse operation binding the contract event 0xa20a605599b6da4a06e0662f1284c442a576bc452b77a38c8c55805cb82a1865.

Solidity: event PoolNominationRevoked(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) ParsePoolOwnerNominated

func (_Core *CoreFilterer) ParsePoolOwnerNominated(log types.Log) (*CorePoolOwnerNominated, error)

ParsePoolOwnerNominated is a log parse operation binding the contract event 0x55d98f82a53fb5776e9ea48d624ab9cb015b51a45249b1ed8425fc857c82f4f8.

Solidity: event PoolOwnerNominated(uint128 indexed poolId, address indexed nominatedOwner, address indexed owner)

func (*CoreFilterer) ParsePoolOwnershipAccepted

func (_Core *CoreFilterer) ParsePoolOwnershipAccepted(log types.Log) (*CorePoolOwnershipAccepted, error)

ParsePoolOwnershipAccepted is a log parse operation binding the contract event 0x4f86f2ce8b08e27d0e470f4269b71c3bbc68407d51a2e692f6573236074ebc5a.

Solidity: event PoolOwnershipAccepted(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) ParsePoolOwnershipRenounced

func (_Core *CoreFilterer) ParsePoolOwnershipRenounced(log types.Log) (*CorePoolOwnershipRenounced, error)

ParsePoolOwnershipRenounced is a log parse operation binding the contract event 0x0d1df5c898ce9334fe91f342f5c07b0eea630d388f90b4e07e85753d61252734.

Solidity: event PoolOwnershipRenounced(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) ParsePreferredPoolSet

func (_Core *CoreFilterer) ParsePreferredPoolSet(log types.Log) (*CorePreferredPoolSet, error)

ParsePreferredPoolSet is a log parse operation binding the contract event 0x7e7cb4726e710dc12fad41f158c37a4a71af3a6f053b8b13670d35c710139a56.

Solidity: event PreferredPoolSet(uint256 poolId)

func (*CoreFilterer) ParseRewardsClaimed

func (_Core *CoreFilterer) ParseRewardsClaimed(log types.Log) (*CoreRewardsClaimed, error)

ParseRewardsClaimed is a log parse operation binding the contract event 0xa4a60be4203e7975e54ab5314c7e9e18aba9ad71e8da714d8de987f4f05410f2.

Solidity: event RewardsClaimed(uint128 indexed accountId, uint128 indexed poolId, address indexed collateralType, address distributor, uint256 amount)

func (*CoreFilterer) ParseRewardsDistributed

func (_Core *CoreFilterer) ParseRewardsDistributed(log types.Log) (*CoreRewardsDistributed, error)

ParseRewardsDistributed is a log parse operation binding the contract event 0x19ced31d71d1db45f99d5a8d3a7616fe9d78828df58f2a28feb68c9f9ab876ca.

Solidity: event RewardsDistributed(uint128 indexed poolId, address indexed collateralType, address distributor, uint256 amount, uint256 start, uint256 duration)

func (*CoreFilterer) ParseRewardsDistributorRegistered

func (_Core *CoreFilterer) ParseRewardsDistributorRegistered(log types.Log) (*CoreRewardsDistributorRegistered, error)

ParseRewardsDistributorRegistered is a log parse operation binding the contract event 0x9d3609c05a83dc93a5b355d62c2b37dfde8f0833b1184d4d05c6f51cd46b6e5b.

Solidity: event RewardsDistributorRegistered(uint128 indexed poolId, address indexed collateralType, address indexed distributor)

func (*CoreFilterer) ParseRewardsDistributorRemoved

func (_Core *CoreFilterer) ParseRewardsDistributorRemoved(log types.Log) (*CoreRewardsDistributorRemoved, error)

ParseRewardsDistributorRemoved is a log parse operation binding the contract event 0x375c4507f463c55a506be95e2cfd3cfdc0610be055087eac6049588a1bcfacba.

Solidity: event RewardsDistributorRemoved(uint128 indexed poolId, address indexed collateralType, address indexed distributor)

func (*CoreFilterer) ParseSetMarketMinLiquidityRatio

func (_Core *CoreFilterer) ParseSetMarketMinLiquidityRatio(log types.Log) (*CoreSetMarketMinLiquidityRatio, error)

ParseSetMarketMinLiquidityRatio is a log parse operation binding the contract event 0x563eb723f21b3e87ec8932cfb4ffa64d1b68c42053c28d6b4db019a40f6daf47.

Solidity: event SetMarketMinLiquidityRatio(uint128 indexed marketId, uint256 minLiquidityRatio)

func (*CoreFilterer) ParseSetMinDelegateTime

func (_Core *CoreFilterer) ParseSetMinDelegateTime(log types.Log) (*CoreSetMinDelegateTime, error)

ParseSetMinDelegateTime is a log parse operation binding the contract event 0x6942a68d151863c1fed3c0c4c5f3258af738218527147ac69290ab23ca7d26c6.

Solidity: event SetMinDelegateTime(uint128 indexed marketId, uint32 minDelegateTime)

func (*CoreFilterer) ParseSetMinLiquidityRatio

func (_Core *CoreFilterer) ParseSetMinLiquidityRatio(log types.Log) (*CoreSetMinLiquidityRatio, error)

ParseSetMinLiquidityRatio is a log parse operation binding the contract event 0x66fd484d9868d1faddc8fef1f3faed0ed25eb4e6acde49dd1f2cbf0fba903635.

Solidity: event SetMinLiquidityRatio(uint256 minLiquidityRatio)

func (*CoreFilterer) ParseTransferCrossChainInitiated

func (_Core *CoreFilterer) ParseTransferCrossChainInitiated(log types.Log) (*CoreTransferCrossChainInitiated, error)

ParseTransferCrossChainInitiated is a log parse operation binding the contract event 0xb87c3097d7f9145a4915e8e434f04a1b7b91646d8a6e66a5cdab25caccb644c4.

Solidity: event TransferCrossChainInitiated(uint64 indexed destChainId, uint256 indexed amount, address sender)

func (*CoreFilterer) ParseUpgraded

func (_Core *CoreFilterer) ParseUpgraded(log types.Log) (*CoreUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.

Solidity: event Upgraded(address indexed self, address implementation)

func (*CoreFilterer) ParseUsdBurned

func (_Core *CoreFilterer) ParseUsdBurned(log types.Log) (*CoreUsdBurned, error)

ParseUsdBurned is a log parse operation binding the contract event 0x6b0230f0abe9188cbdbb1c816a4c5e213758b5b743d8a94af056280cc1e7aeb1.

Solidity: event UsdBurned(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, address indexed sender)

func (*CoreFilterer) ParseUsdMinted

func (_Core *CoreFilterer) ParseUsdMinted(log types.Log) (*CoreUsdMinted, error)

ParseUsdMinted is a log parse operation binding the contract event 0x2100f67dc9a5917400f799bb13194553e3f74c19a207c56350d2c223ac9c36c9.

Solidity: event UsdMinted(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, address indexed sender)

func (*CoreFilterer) ParseVaultLiquidation

func (_Core *CoreFilterer) ParseVaultLiquidation(log types.Log) (*CoreVaultLiquidation, error)

ParseVaultLiquidation is a log parse operation binding the contract event 0x1834a7cc9d14f9bfa482df5c0404dadd1b8ec123b41f082e76ae28a3b2ea68d5.

Solidity: event VaultLiquidation(uint128 indexed poolId, address indexed collateralType, (uint256,uint256,uint256) liquidationData, uint128 liquidateAsAccountId, address sender)

func (*CoreFilterer) ParseWithdrawn

func (_Core *CoreFilterer) ParseWithdrawn(log types.Log) (*CoreWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x8b5f9d7ce522936589c630db08c0fa2405b21c4a5ff8ef19899900172736ba38.

Solidity: event Withdrawn(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, address indexed sender)

func (*CoreFilterer) WatchAccountCreated

func (_Core *CoreFilterer) WatchAccountCreated(opts *bind.WatchOpts, sink chan<- *CoreAccountCreated, accountId []*big.Int, owner []common.Address) (event.Subscription, error)

WatchAccountCreated is a free log subscription operation binding the contract event 0xa9e04d307e860938fa63307df8b8090e365276e59fcca12ed55656c25e538019.

Solidity: event AccountCreated(uint128 indexed accountId, address indexed owner)

func (*CoreFilterer) WatchAssociatedSystemSet

func (_Core *CoreFilterer) WatchAssociatedSystemSet(opts *bind.WatchOpts, sink chan<- *CoreAssociatedSystemSet, kind [][32]byte, id [][32]byte) (event.Subscription, error)

WatchAssociatedSystemSet is a free log subscription operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.

Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)

func (*CoreFilterer) WatchCollateralConfigured

func (_Core *CoreFilterer) WatchCollateralConfigured(opts *bind.WatchOpts, sink chan<- *CoreCollateralConfigured, collateralType []common.Address) (event.Subscription, error)

WatchCollateralConfigured is a free log subscription operation binding the contract event 0xefc23317f58afd6b22480bd22174cc7da0913bce25c03d9859216dacddebe6fe.

Solidity: event CollateralConfigured(address indexed collateralType, (bool,uint256,uint256,uint256,bytes32,address,uint256) config)

func (*CoreFilterer) WatchCollateralLockCreated

func (_Core *CoreFilterer) WatchCollateralLockCreated(opts *bind.WatchOpts, sink chan<- *CoreCollateralLockCreated, accountId []*big.Int, collateralType []common.Address) (event.Subscription, error)

WatchCollateralLockCreated is a free log subscription operation binding the contract event 0x8a78446a234220d3ee3f46aa6ea1ea5bc438bd153398ebcbd171843744b452a6.

Solidity: event CollateralLockCreated(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, uint64 expireTimestamp)

func (*CoreFilterer) WatchCollateralLockExpired

func (_Core *CoreFilterer) WatchCollateralLockExpired(opts *bind.WatchOpts, sink chan<- *CoreCollateralLockExpired, accountId []*big.Int, collateralType []common.Address) (event.Subscription, error)

WatchCollateralLockExpired is a free log subscription operation binding the contract event 0xc5e2c7afc4e54d998977e11260a0bfc0ad5678a3a8b6628162f9d4e642d7f160.

Solidity: event CollateralLockExpired(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, uint64 expireTimestamp)

func (*CoreFilterer) WatchDebtAssociated

func (_Core *CoreFilterer) WatchDebtAssociated(opts *bind.WatchOpts, sink chan<- *CoreDebtAssociated, marketId []*big.Int, poolId []*big.Int, collateralType []common.Address) (event.Subscription, error)

WatchDebtAssociated is a free log subscription operation binding the contract event 0xb03bc7530b5650601d2c8bc86c81a45b6b50b0099defd3f17a6bdb48660180ad.

Solidity: event DebtAssociated(uint128 indexed marketId, uint128 indexed poolId, address indexed collateralType, uint128 accountId, uint256 amount, int256 updatedDebt)

func (*CoreFilterer) WatchDelegationUpdated

func (_Core *CoreFilterer) WatchDelegationUpdated(opts *bind.WatchOpts, sink chan<- *CoreDelegationUpdated, accountId []*big.Int, poolId []*big.Int, sender []common.Address) (event.Subscription, error)

WatchDelegationUpdated is a free log subscription operation binding the contract event 0x7b12dd38f18c0ff77ae702f6da13fbbcb28f53f807ecc7d39ee8d8b1ea8295ad.

Solidity: event DelegationUpdated(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, uint256 leverage, address indexed sender)

func (*CoreFilterer) WatchDeposited

func (_Core *CoreFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *CoreDeposited, accountId []*big.Int, collateralType []common.Address, sender []common.Address) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0xd92122e67326e9313bfae33ccb1fccf5194584c6bf93a8529a6b006d8c6e24a9.

Solidity: event Deposited(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, address indexed sender)

func (*CoreFilterer) WatchFeatureFlagAllowAllSet

func (_Core *CoreFilterer) WatchFeatureFlagAllowAllSet(opts *bind.WatchOpts, sink chan<- *CoreFeatureFlagAllowAllSet, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagAllowAllSet is a free log subscription operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.

Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)

func (*CoreFilterer) WatchFeatureFlagAllowlistAdded

func (_Core *CoreFilterer) WatchFeatureFlagAllowlistAdded(opts *bind.WatchOpts, sink chan<- *CoreFeatureFlagAllowlistAdded, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagAllowlistAdded is a free log subscription operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.

Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)

func (*CoreFilterer) WatchFeatureFlagAllowlistRemoved

func (_Core *CoreFilterer) WatchFeatureFlagAllowlistRemoved(opts *bind.WatchOpts, sink chan<- *CoreFeatureFlagAllowlistRemoved, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagAllowlistRemoved is a free log subscription operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.

Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)

func (*CoreFilterer) WatchFeatureFlagDeniersReset

func (_Core *CoreFilterer) WatchFeatureFlagDeniersReset(opts *bind.WatchOpts, sink chan<- *CoreFeatureFlagDeniersReset, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagDeniersReset is a free log subscription operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.

Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)

func (*CoreFilterer) WatchFeatureFlagDenyAllSet

func (_Core *CoreFilterer) WatchFeatureFlagDenyAllSet(opts *bind.WatchOpts, sink chan<- *CoreFeatureFlagDenyAllSet, feature [][32]byte) (event.Subscription, error)

WatchFeatureFlagDenyAllSet is a free log subscription operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.

Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)

func (*CoreFilterer) WatchIssuanceFeePaid

func (_Core *CoreFilterer) WatchIssuanceFeePaid(opts *bind.WatchOpts, sink chan<- *CoreIssuanceFeePaid, accountId []*big.Int, poolId []*big.Int) (event.Subscription, error)

WatchIssuanceFeePaid is a free log subscription operation binding the contract event 0x28d0fb10e1c8ce51490a16fb3b40bf23f8064f7c624d3a3852ad66683a25995d.

Solidity: event IssuanceFeePaid(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 feeAmount)

func (*CoreFilterer) WatchLiquidation

func (_Core *CoreFilterer) WatchLiquidation(opts *bind.WatchOpts, sink chan<- *CoreLiquidation, accountId []*big.Int, poolId []*big.Int, collateralType []common.Address) (event.Subscription, error)

WatchLiquidation is a free log subscription operation binding the contract event 0xe6c1b26644f880854bf954d4186be9f0b2d06d50fa0484b596e79d409c07a5fd.

Solidity: event Liquidation(uint128 indexed accountId, uint128 indexed poolId, address indexed collateralType, (uint256,uint256,uint256) liquidationData, uint128 liquidateAsAccountId, address sender)

func (*CoreFilterer) WatchMarketCollateralDeposited

func (_Core *CoreFilterer) WatchMarketCollateralDeposited(opts *bind.WatchOpts, sink chan<- *CoreMarketCollateralDeposited, marketId []*big.Int, collateralType []common.Address, sender []common.Address) (event.Subscription, error)

WatchMarketCollateralDeposited is a free log subscription operation binding the contract event 0x0268c0025d1310f8cbf9a431c755af708633271b9b5902855857297267d6f41b.

Solidity: event MarketCollateralDeposited(uint128 indexed marketId, address indexed collateralType, uint256 tokenAmount, address indexed sender, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) WatchMarketCollateralWithdrawn

func (_Core *CoreFilterer) WatchMarketCollateralWithdrawn(opts *bind.WatchOpts, sink chan<- *CoreMarketCollateralWithdrawn, marketId []*big.Int, collateralType []common.Address, sender []common.Address) (event.Subscription, error)

WatchMarketCollateralWithdrawn is a free log subscription operation binding the contract event 0x88eb4cc1feb3af3a3e45798dc1d42ec34ef453093ffe0c56fc36e27abd2cc4d7.

Solidity: event MarketCollateralWithdrawn(uint128 indexed marketId, address indexed collateralType, uint256 tokenAmount, address indexed sender, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) WatchMarketRegistered

func (_Core *CoreFilterer) WatchMarketRegistered(opts *bind.WatchOpts, sink chan<- *CoreMarketRegistered, market []common.Address, marketId []*big.Int, sender []common.Address) (event.Subscription, error)

WatchMarketRegistered is a free log subscription operation binding the contract event 0xeb87361ace8c1947e121293eb214f68d889d9cf273c48246b38c3cbf185748d0.

Solidity: event MarketRegistered(address indexed market, uint128 indexed marketId, address indexed sender)

func (*CoreFilterer) WatchMarketSystemFeePaid

func (_Core *CoreFilterer) WatchMarketSystemFeePaid(opts *bind.WatchOpts, sink chan<- *CoreMarketSystemFeePaid, marketId []*big.Int) (event.Subscription, error)

WatchMarketSystemFeePaid is a free log subscription operation binding the contract event 0x8b69fed8aed97ef9572216662359ece45fa52f2b5ff44a78b7ec3c5ef05153f8.

Solidity: event MarketSystemFeePaid(uint128 indexed marketId, uint256 feeAmount)

func (*CoreFilterer) WatchMarketUsdDeposited

func (_Core *CoreFilterer) WatchMarketUsdDeposited(opts *bind.WatchOpts, sink chan<- *CoreMarketUsdDeposited, marketId []*big.Int, target []common.Address, market []common.Address) (event.Subscription, error)

WatchMarketUsdDeposited is a free log subscription operation binding the contract event 0xf92dddcee1f7e80b04d1141159985b52e0dc3b69d26b9f67b714bf9ff70b4b85.

Solidity: event MarketUsdDeposited(uint128 indexed marketId, address indexed target, uint256 amount, address indexed market, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) WatchMarketUsdWithdrawn

func (_Core *CoreFilterer) WatchMarketUsdWithdrawn(opts *bind.WatchOpts, sink chan<- *CoreMarketUsdWithdrawn, marketId []*big.Int, target []common.Address, market []common.Address) (event.Subscription, error)

WatchMarketUsdWithdrawn is a free log subscription operation binding the contract event 0x53e76a481a00b96d9b07448b333af94f26fbac5059ca153986bf2c98001c3f2c.

Solidity: event MarketUsdWithdrawn(uint128 indexed marketId, address indexed target, uint256 amount, address indexed market, int128 creditCapacity, int128 netIssuance, uint256 depositedCollateralValue, uint256 reportedDebt)

func (*CoreFilterer) WatchMaximumMarketCollateralConfigured

func (_Core *CoreFilterer) WatchMaximumMarketCollateralConfigured(opts *bind.WatchOpts, sink chan<- *CoreMaximumMarketCollateralConfigured, marketId []*big.Int, collateralType []common.Address, owner []common.Address) (event.Subscription, error)

WatchMaximumMarketCollateralConfigured is a free log subscription operation binding the contract event 0x499c8fcfbc4341c37dcf444c890d42ef888d46aa586f97ceb20577c2635c8075.

Solidity: event MaximumMarketCollateralConfigured(uint128 indexed marketId, address indexed collateralType, uint256 systemAmount, address indexed owner)

func (*CoreFilterer) WatchNewSupportedCrossChainNetwork

func (_Core *CoreFilterer) WatchNewSupportedCrossChainNetwork(opts *bind.WatchOpts, sink chan<- *CoreNewSupportedCrossChainNetwork) (event.Subscription, error)

WatchNewSupportedCrossChainNetwork is a free log subscription operation binding the contract event 0x1874eb2a5288e478dcedf1d33291bd7293eeef5946ec516d2ef54a364b3f63d8.

Solidity: event NewSupportedCrossChainNetwork(uint64 newChainId)

func (*CoreFilterer) WatchOwnerChanged

func (_Core *CoreFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *CoreOwnerChanged) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*CoreFilterer) WatchOwnerNominated

func (_Core *CoreFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *CoreOwnerNominated) (event.Subscription, error)

WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*CoreFilterer) WatchPermissionGranted

func (_Core *CoreFilterer) WatchPermissionGranted(opts *bind.WatchOpts, sink chan<- *CorePermissionGranted, accountId []*big.Int, permission [][32]byte, user []common.Address) (event.Subscription, error)

WatchPermissionGranted is a free log subscription operation binding the contract event 0x32ff7c3f84299a3543c1e89057e98ba962f4fbe7786c52289e184c57b9a36a50.

Solidity: event PermissionGranted(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*CoreFilterer) WatchPermissionRevoked

func (_Core *CoreFilterer) WatchPermissionRevoked(opts *bind.WatchOpts, sink chan<- *CorePermissionRevoked, accountId []*big.Int, permission [][32]byte, user []common.Address) (event.Subscription, error)

WatchPermissionRevoked is a free log subscription operation binding the contract event 0x116c7e9cd2db316974fb473babcbcd625be1350842d0319e761d30aefb09a58a.

Solidity: event PermissionRevoked(uint128 indexed accountId, bytes32 indexed permission, address indexed user, address sender)

func (*CoreFilterer) WatchPoolApprovedAdded

func (_Core *CoreFilterer) WatchPoolApprovedAdded(opts *bind.WatchOpts, sink chan<- *CorePoolApprovedAdded) (event.Subscription, error)

WatchPoolApprovedAdded is a free log subscription operation binding the contract event 0x7d5bdf4e8c44e0b5a8249bf03c2a1febd848cc7f580efd7b1703301c5b1a9e4e.

Solidity: event PoolApprovedAdded(uint256 poolId)

func (*CoreFilterer) WatchPoolApprovedRemoved

func (_Core *CoreFilterer) WatchPoolApprovedRemoved(opts *bind.WatchOpts, sink chan<- *CorePoolApprovedRemoved) (event.Subscription, error)

WatchPoolApprovedRemoved is a free log subscription operation binding the contract event 0xc1567ee9983f306f073ea7d59a7fb5680ce07985f8b49cc50d00a3a9f748d3c2.

Solidity: event PoolApprovedRemoved(uint256 poolId)

func (*CoreFilterer) WatchPoolCollateralConfigurationUpdated

func (_Core *CoreFilterer) WatchPoolCollateralConfigurationUpdated(opts *bind.WatchOpts, sink chan<- *CorePoolCollateralConfigurationUpdated, poolId []*big.Int) (event.Subscription, error)

WatchPoolCollateralConfigurationUpdated is a free log subscription operation binding the contract event 0x5ebb5c59166ab9735b293a159ee2129e61d16b526867763f25557a275a2aad92.

Solidity: event PoolCollateralConfigurationUpdated(uint128 indexed poolId, address collateralType, (uint256,uint256) config)

func (*CoreFilterer) WatchPoolCollateralDisabledByDefaultSet

func (_Core *CoreFilterer) WatchPoolCollateralDisabledByDefaultSet(opts *bind.WatchOpts, sink chan<- *CorePoolCollateralDisabledByDefaultSet) (event.Subscription, error)

WatchPoolCollateralDisabledByDefaultSet is a free log subscription operation binding the contract event 0xe0ed98ef42e6a4a881ae0d3c4459c9ed06a36a2144e02efc11823c6cae515bf2.

Solidity: event PoolCollateralDisabledByDefaultSet(uint128 poolId, bool disabled)

func (*CoreFilterer) WatchPoolConfigurationSet

func (_Core *CoreFilterer) WatchPoolConfigurationSet(opts *bind.WatchOpts, sink chan<- *CorePoolConfigurationSet, poolId []*big.Int, sender []common.Address) (event.Subscription, error)

WatchPoolConfigurationSet is a free log subscription operation binding the contract event 0xdd812c2e47943d98e6c66b2b9872d1f9270b8523c82eb60ad5c8d580a614081c.

Solidity: event PoolConfigurationSet(uint128 indexed poolId, (uint128,uint128,int128)[] markets, address indexed sender)

func (*CoreFilterer) WatchPoolCreated

func (_Core *CoreFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *CorePoolCreated, poolId []*big.Int, owner []common.Address, sender []common.Address) (event.Subscription, error)

WatchPoolCreated is a free log subscription operation binding the contract event 0xb1517ad708e5f9a104c30d3f1ff749d55833b1d03bf472013c29888e741cf340.

Solidity: event PoolCreated(uint128 indexed poolId, address indexed owner, address indexed sender)

func (*CoreFilterer) WatchPoolNameUpdated

func (_Core *CoreFilterer) WatchPoolNameUpdated(opts *bind.WatchOpts, sink chan<- *CorePoolNameUpdated, poolId []*big.Int, sender []common.Address) (event.Subscription, error)

WatchPoolNameUpdated is a free log subscription operation binding the contract event 0x63b42abaf7e145a993f20bc64259f45d09c43d18838ab0bca078b15093ac55f4.

Solidity: event PoolNameUpdated(uint128 indexed poolId, string name, address indexed sender)

func (*CoreFilterer) WatchPoolNominationRenounced

func (_Core *CoreFilterer) WatchPoolNominationRenounced(opts *bind.WatchOpts, sink chan<- *CorePoolNominationRenounced, poolId []*big.Int, owner []common.Address) (event.Subscription, error)

WatchPoolNominationRenounced is a free log subscription operation binding the contract event 0x28301da5fb0feefb138efa6310af4547a74f415d62616f90519436dc169c3ae0.

Solidity: event PoolNominationRenounced(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) WatchPoolNominationRevoked

func (_Core *CoreFilterer) WatchPoolNominationRevoked(opts *bind.WatchOpts, sink chan<- *CorePoolNominationRevoked, poolId []*big.Int, owner []common.Address) (event.Subscription, error)

WatchPoolNominationRevoked is a free log subscription operation binding the contract event 0xa20a605599b6da4a06e0662f1284c442a576bc452b77a38c8c55805cb82a1865.

Solidity: event PoolNominationRevoked(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) WatchPoolOwnerNominated

func (_Core *CoreFilterer) WatchPoolOwnerNominated(opts *bind.WatchOpts, sink chan<- *CorePoolOwnerNominated, poolId []*big.Int, nominatedOwner []common.Address, owner []common.Address) (event.Subscription, error)

WatchPoolOwnerNominated is a free log subscription operation binding the contract event 0x55d98f82a53fb5776e9ea48d624ab9cb015b51a45249b1ed8425fc857c82f4f8.

Solidity: event PoolOwnerNominated(uint128 indexed poolId, address indexed nominatedOwner, address indexed owner)

func (*CoreFilterer) WatchPoolOwnershipAccepted

func (_Core *CoreFilterer) WatchPoolOwnershipAccepted(opts *bind.WatchOpts, sink chan<- *CorePoolOwnershipAccepted, poolId []*big.Int, owner []common.Address) (event.Subscription, error)

WatchPoolOwnershipAccepted is a free log subscription operation binding the contract event 0x4f86f2ce8b08e27d0e470f4269b71c3bbc68407d51a2e692f6573236074ebc5a.

Solidity: event PoolOwnershipAccepted(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) WatchPoolOwnershipRenounced

func (_Core *CoreFilterer) WatchPoolOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *CorePoolOwnershipRenounced, poolId []*big.Int, owner []common.Address) (event.Subscription, error)

WatchPoolOwnershipRenounced is a free log subscription operation binding the contract event 0x0d1df5c898ce9334fe91f342f5c07b0eea630d388f90b4e07e85753d61252734.

Solidity: event PoolOwnershipRenounced(uint128 indexed poolId, address indexed owner)

func (*CoreFilterer) WatchPreferredPoolSet

func (_Core *CoreFilterer) WatchPreferredPoolSet(opts *bind.WatchOpts, sink chan<- *CorePreferredPoolSet) (event.Subscription, error)

WatchPreferredPoolSet is a free log subscription operation binding the contract event 0x7e7cb4726e710dc12fad41f158c37a4a71af3a6f053b8b13670d35c710139a56.

Solidity: event PreferredPoolSet(uint256 poolId)

func (*CoreFilterer) WatchRewardsClaimed

func (_Core *CoreFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *CoreRewardsClaimed, accountId []*big.Int, poolId []*big.Int, collateralType []common.Address) (event.Subscription, error)

WatchRewardsClaimed is a free log subscription operation binding the contract event 0xa4a60be4203e7975e54ab5314c7e9e18aba9ad71e8da714d8de987f4f05410f2.

Solidity: event RewardsClaimed(uint128 indexed accountId, uint128 indexed poolId, address indexed collateralType, address distributor, uint256 amount)

func (*CoreFilterer) WatchRewardsDistributed

func (_Core *CoreFilterer) WatchRewardsDistributed(opts *bind.WatchOpts, sink chan<- *CoreRewardsDistributed, poolId []*big.Int, collateralType []common.Address) (event.Subscription, error)

WatchRewardsDistributed is a free log subscription operation binding the contract event 0x19ced31d71d1db45f99d5a8d3a7616fe9d78828df58f2a28feb68c9f9ab876ca.

Solidity: event RewardsDistributed(uint128 indexed poolId, address indexed collateralType, address distributor, uint256 amount, uint256 start, uint256 duration)

func (*CoreFilterer) WatchRewardsDistributorRegistered

func (_Core *CoreFilterer) WatchRewardsDistributorRegistered(opts *bind.WatchOpts, sink chan<- *CoreRewardsDistributorRegistered, poolId []*big.Int, collateralType []common.Address, distributor []common.Address) (event.Subscription, error)

WatchRewardsDistributorRegistered is a free log subscription operation binding the contract event 0x9d3609c05a83dc93a5b355d62c2b37dfde8f0833b1184d4d05c6f51cd46b6e5b.

Solidity: event RewardsDistributorRegistered(uint128 indexed poolId, address indexed collateralType, address indexed distributor)

func (*CoreFilterer) WatchRewardsDistributorRemoved

func (_Core *CoreFilterer) WatchRewardsDistributorRemoved(opts *bind.WatchOpts, sink chan<- *CoreRewardsDistributorRemoved, poolId []*big.Int, collateralType []common.Address, distributor []common.Address) (event.Subscription, error)

WatchRewardsDistributorRemoved is a free log subscription operation binding the contract event 0x375c4507f463c55a506be95e2cfd3cfdc0610be055087eac6049588a1bcfacba.

Solidity: event RewardsDistributorRemoved(uint128 indexed poolId, address indexed collateralType, address indexed distributor)

func (*CoreFilterer) WatchSetMarketMinLiquidityRatio

func (_Core *CoreFilterer) WatchSetMarketMinLiquidityRatio(opts *bind.WatchOpts, sink chan<- *CoreSetMarketMinLiquidityRatio, marketId []*big.Int) (event.Subscription, error)

WatchSetMarketMinLiquidityRatio is a free log subscription operation binding the contract event 0x563eb723f21b3e87ec8932cfb4ffa64d1b68c42053c28d6b4db019a40f6daf47.

Solidity: event SetMarketMinLiquidityRatio(uint128 indexed marketId, uint256 minLiquidityRatio)

func (*CoreFilterer) WatchSetMinDelegateTime

func (_Core *CoreFilterer) WatchSetMinDelegateTime(opts *bind.WatchOpts, sink chan<- *CoreSetMinDelegateTime, marketId []*big.Int) (event.Subscription, error)

WatchSetMinDelegateTime is a free log subscription operation binding the contract event 0x6942a68d151863c1fed3c0c4c5f3258af738218527147ac69290ab23ca7d26c6.

Solidity: event SetMinDelegateTime(uint128 indexed marketId, uint32 minDelegateTime)

func (*CoreFilterer) WatchSetMinLiquidityRatio

func (_Core *CoreFilterer) WatchSetMinLiquidityRatio(opts *bind.WatchOpts, sink chan<- *CoreSetMinLiquidityRatio) (event.Subscription, error)

WatchSetMinLiquidityRatio is a free log subscription operation binding the contract event 0x66fd484d9868d1faddc8fef1f3faed0ed25eb4e6acde49dd1f2cbf0fba903635.

Solidity: event SetMinLiquidityRatio(uint256 minLiquidityRatio)

func (*CoreFilterer) WatchTransferCrossChainInitiated

func (_Core *CoreFilterer) WatchTransferCrossChainInitiated(opts *bind.WatchOpts, sink chan<- *CoreTransferCrossChainInitiated, destChainId []uint64, amount []*big.Int) (event.Subscription, error)

WatchTransferCrossChainInitiated is a free log subscription operation binding the contract event 0xb87c3097d7f9145a4915e8e434f04a1b7b91646d8a6e66a5cdab25caccb644c4.

Solidity: event TransferCrossChainInitiated(uint64 indexed destChainId, uint256 indexed amount, address sender)

func (*CoreFilterer) WatchUpgraded

func (_Core *CoreFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *CoreUpgraded, self []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.

Solidity: event Upgraded(address indexed self, address implementation)

func (*CoreFilterer) WatchUsdBurned

func (_Core *CoreFilterer) WatchUsdBurned(opts *bind.WatchOpts, sink chan<- *CoreUsdBurned, accountId []*big.Int, poolId []*big.Int, sender []common.Address) (event.Subscription, error)

WatchUsdBurned is a free log subscription operation binding the contract event 0x6b0230f0abe9188cbdbb1c816a4c5e213758b5b743d8a94af056280cc1e7aeb1.

Solidity: event UsdBurned(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, address indexed sender)

func (*CoreFilterer) WatchUsdMinted

func (_Core *CoreFilterer) WatchUsdMinted(opts *bind.WatchOpts, sink chan<- *CoreUsdMinted, accountId []*big.Int, poolId []*big.Int, sender []common.Address) (event.Subscription, error)

WatchUsdMinted is a free log subscription operation binding the contract event 0x2100f67dc9a5917400f799bb13194553e3f74c19a207c56350d2c223ac9c36c9.

Solidity: event UsdMinted(uint128 indexed accountId, uint128 indexed poolId, address collateralType, uint256 amount, address indexed sender)

func (*CoreFilterer) WatchVaultLiquidation

func (_Core *CoreFilterer) WatchVaultLiquidation(opts *bind.WatchOpts, sink chan<- *CoreVaultLiquidation, poolId []*big.Int, collateralType []common.Address) (event.Subscription, error)

WatchVaultLiquidation is a free log subscription operation binding the contract event 0x1834a7cc9d14f9bfa482df5c0404dadd1b8ec123b41f082e76ae28a3b2ea68d5.

Solidity: event VaultLiquidation(uint128 indexed poolId, address indexed collateralType, (uint256,uint256,uint256) liquidationData, uint128 liquidateAsAccountId, address sender)

func (*CoreFilterer) WatchWithdrawn

func (_Core *CoreFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *CoreWithdrawn, accountId []*big.Int, collateralType []common.Address, sender []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x8b5f9d7ce522936589c630db08c0fa2405b21c4a5ff8ef19899900172736ba38.

Solidity: event Withdrawn(uint128 indexed accountId, address indexed collateralType, uint256 tokenAmount, address indexed sender)

type CoreIssuanceFeePaid

type CoreIssuanceFeePaid struct {
	AccountId      *big.Int
	PoolId         *big.Int
	CollateralType common.Address
	FeeAmount      *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

CoreIssuanceFeePaid represents a IssuanceFeePaid event raised by the Core contract.

type CoreIssuanceFeePaidIterator

type CoreIssuanceFeePaidIterator struct {
	Event *CoreIssuanceFeePaid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreIssuanceFeePaidIterator is returned from FilterIssuanceFeePaid and is used to iterate over the raw logs and unpacked data for IssuanceFeePaid events raised by the Core contract.

func (*CoreIssuanceFeePaidIterator) Close

func (it *CoreIssuanceFeePaidIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreIssuanceFeePaidIterator) Error

func (it *CoreIssuanceFeePaidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreIssuanceFeePaidIterator) Next

func (it *CoreIssuanceFeePaidIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreLiquidation

type CoreLiquidation struct {
	AccountId            *big.Int
	PoolId               *big.Int
	CollateralType       common.Address
	LiquidationData      ILiquidationModuleLiquidationData
	LiquidateAsAccountId *big.Int
	Sender               common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

CoreLiquidation represents a Liquidation event raised by the Core contract.

type CoreLiquidationIterator

type CoreLiquidationIterator struct {
	Event *CoreLiquidation // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreLiquidationIterator is returned from FilterLiquidation and is used to iterate over the raw logs and unpacked data for Liquidation events raised by the Core contract.

func (*CoreLiquidationIterator) Close

func (it *CoreLiquidationIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreLiquidationIterator) Error

func (it *CoreLiquidationIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreLiquidationIterator) Next

func (it *CoreLiquidationIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreMarketCollateralDeposited

type CoreMarketCollateralDeposited struct {
	MarketId                 *big.Int
	CollateralType           common.Address
	TokenAmount              *big.Int
	Sender                   common.Address
	CreditCapacity           *big.Int
	NetIssuance              *big.Int
	DepositedCollateralValue *big.Int
	ReportedDebt             *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

CoreMarketCollateralDeposited represents a MarketCollateralDeposited event raised by the Core contract.

type CoreMarketCollateralDepositedIterator

type CoreMarketCollateralDepositedIterator struct {
	Event *CoreMarketCollateralDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreMarketCollateralDepositedIterator is returned from FilterMarketCollateralDeposited and is used to iterate over the raw logs and unpacked data for MarketCollateralDeposited events raised by the Core contract.

func (*CoreMarketCollateralDepositedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreMarketCollateralDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreMarketCollateralDepositedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreMarketCollateralWithdrawn

type CoreMarketCollateralWithdrawn struct {
	MarketId                 *big.Int
	CollateralType           common.Address
	TokenAmount              *big.Int
	Sender                   common.Address
	CreditCapacity           *big.Int
	NetIssuance              *big.Int
	DepositedCollateralValue *big.Int
	ReportedDebt             *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

CoreMarketCollateralWithdrawn represents a MarketCollateralWithdrawn event raised by the Core contract.

type CoreMarketCollateralWithdrawnIterator

type CoreMarketCollateralWithdrawnIterator struct {
	Event *CoreMarketCollateralWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreMarketCollateralWithdrawnIterator is returned from FilterMarketCollateralWithdrawn and is used to iterate over the raw logs and unpacked data for MarketCollateralWithdrawn events raised by the Core contract.

func (*CoreMarketCollateralWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreMarketCollateralWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreMarketCollateralWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreMarketRegistered

type CoreMarketRegistered struct {
	Market   common.Address
	MarketId *big.Int
	Sender   common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CoreMarketRegistered represents a MarketRegistered event raised by the Core contract.

type CoreMarketRegisteredIterator

type CoreMarketRegisteredIterator struct {
	Event *CoreMarketRegistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreMarketRegisteredIterator is returned from FilterMarketRegistered and is used to iterate over the raw logs and unpacked data for MarketRegistered events raised by the Core contract.

func (*CoreMarketRegisteredIterator) Close

func (it *CoreMarketRegisteredIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreMarketRegisteredIterator) Error

func (it *CoreMarketRegisteredIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreMarketRegisteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreMarketSystemFeePaid

type CoreMarketSystemFeePaid struct {
	MarketId  *big.Int
	FeeAmount *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

CoreMarketSystemFeePaid represents a MarketSystemFeePaid event raised by the Core contract.

type CoreMarketSystemFeePaidIterator

type CoreMarketSystemFeePaidIterator struct {
	Event *CoreMarketSystemFeePaid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreMarketSystemFeePaidIterator is returned from FilterMarketSystemFeePaid and is used to iterate over the raw logs and unpacked data for MarketSystemFeePaid events raised by the Core contract.

func (*CoreMarketSystemFeePaidIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreMarketSystemFeePaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreMarketSystemFeePaidIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreMarketUsdDeposited

type CoreMarketUsdDeposited struct {
	MarketId                 *big.Int
	Target                   common.Address
	Amount                   *big.Int
	Market                   common.Address
	CreditCapacity           *big.Int
	NetIssuance              *big.Int
	DepositedCollateralValue *big.Int
	ReportedDebt             *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

CoreMarketUsdDeposited represents a MarketUsdDeposited event raised by the Core contract.

type CoreMarketUsdDepositedIterator

type CoreMarketUsdDepositedIterator struct {
	Event *CoreMarketUsdDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreMarketUsdDepositedIterator is returned from FilterMarketUsdDeposited and is used to iterate over the raw logs and unpacked data for MarketUsdDeposited events raised by the Core contract.

func (*CoreMarketUsdDepositedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreMarketUsdDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreMarketUsdDepositedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreMarketUsdWithdrawn

type CoreMarketUsdWithdrawn struct {
	MarketId                 *big.Int
	Target                   common.Address
	Amount                   *big.Int
	Market                   common.Address
	CreditCapacity           *big.Int
	NetIssuance              *big.Int
	DepositedCollateralValue *big.Int
	ReportedDebt             *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

CoreMarketUsdWithdrawn represents a MarketUsdWithdrawn event raised by the Core contract.

type CoreMarketUsdWithdrawnIterator

type CoreMarketUsdWithdrawnIterator struct {
	Event *CoreMarketUsdWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreMarketUsdWithdrawnIterator is returned from FilterMarketUsdWithdrawn and is used to iterate over the raw logs and unpacked data for MarketUsdWithdrawn events raised by the Core contract.

func (*CoreMarketUsdWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreMarketUsdWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreMarketUsdWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreMaximumMarketCollateralConfigured

type CoreMaximumMarketCollateralConfigured struct {
	MarketId       *big.Int
	CollateralType common.Address
	SystemAmount   *big.Int
	Owner          common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreMaximumMarketCollateralConfigured represents a MaximumMarketCollateralConfigured event raised by the Core contract.

type CoreMaximumMarketCollateralConfiguredIterator

type CoreMaximumMarketCollateralConfiguredIterator struct {
	Event *CoreMaximumMarketCollateralConfigured // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreMaximumMarketCollateralConfiguredIterator is returned from FilterMaximumMarketCollateralConfigured and is used to iterate over the raw logs and unpacked data for MaximumMarketCollateralConfigured events raised by the Core contract.

func (*CoreMaximumMarketCollateralConfiguredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreMaximumMarketCollateralConfiguredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreMaximumMarketCollateralConfiguredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreNewSupportedCrossChainNetwork

type CoreNewSupportedCrossChainNetwork struct {
	NewChainId uint64
	Raw        types.Log // Blockchain specific contextual infos
}

CoreNewSupportedCrossChainNetwork represents a NewSupportedCrossChainNetwork event raised by the Core contract.

type CoreNewSupportedCrossChainNetworkIterator

type CoreNewSupportedCrossChainNetworkIterator struct {
	Event *CoreNewSupportedCrossChainNetwork // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreNewSupportedCrossChainNetworkIterator is returned from FilterNewSupportedCrossChainNetwork and is used to iterate over the raw logs and unpacked data for NewSupportedCrossChainNetwork events raised by the Core contract.

func (*CoreNewSupportedCrossChainNetworkIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreNewSupportedCrossChainNetworkIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreNewSupportedCrossChainNetworkIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreOwnerChanged

type CoreOwnerChanged struct {
	OldOwner common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CoreOwnerChanged represents a OwnerChanged event raised by the Core contract.

type CoreOwnerChangedIterator

type CoreOwnerChangedIterator struct {
	Event *CoreOwnerChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Core contract.

func (*CoreOwnerChangedIterator) Close

func (it *CoreOwnerChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreOwnerChangedIterator) Error

func (it *CoreOwnerChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreOwnerChangedIterator) Next

func (it *CoreOwnerChangedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreOwnerNominated

type CoreOwnerNominated struct {
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CoreOwnerNominated represents a OwnerNominated event raised by the Core contract.

type CoreOwnerNominatedIterator

type CoreOwnerNominatedIterator struct {
	Event *CoreOwnerNominated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreOwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the Core contract.

func (*CoreOwnerNominatedIterator) Close

func (it *CoreOwnerNominatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreOwnerNominatedIterator) Error

func (it *CoreOwnerNominatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreOwnerNominatedIterator) Next

func (it *CoreOwnerNominatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePermissionGranted

type CorePermissionGranted struct {
	AccountId  *big.Int
	Permission [32]byte
	User       common.Address
	Sender     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

CorePermissionGranted represents a PermissionGranted event raised by the Core contract.

type CorePermissionGrantedIterator

type CorePermissionGrantedIterator struct {
	Event *CorePermissionGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePermissionGrantedIterator is returned from FilterPermissionGranted and is used to iterate over the raw logs and unpacked data for PermissionGranted events raised by the Core contract.

func (*CorePermissionGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePermissionGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePermissionGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePermissionRevoked

type CorePermissionRevoked struct {
	AccountId  *big.Int
	Permission [32]byte
	User       common.Address
	Sender     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

CorePermissionRevoked represents a PermissionRevoked event raised by the Core contract.

type CorePermissionRevokedIterator

type CorePermissionRevokedIterator struct {
	Event *CorePermissionRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePermissionRevokedIterator is returned from FilterPermissionRevoked and is used to iterate over the raw logs and unpacked data for PermissionRevoked events raised by the Core contract.

func (*CorePermissionRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePermissionRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePermissionRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolApprovedAdded

type CorePoolApprovedAdded struct {
	PoolId *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolApprovedAdded represents a PoolApprovedAdded event raised by the Core contract.

type CorePoolApprovedAddedIterator

type CorePoolApprovedAddedIterator struct {
	Event *CorePoolApprovedAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolApprovedAddedIterator is returned from FilterPoolApprovedAdded and is used to iterate over the raw logs and unpacked data for PoolApprovedAdded events raised by the Core contract.

func (*CorePoolApprovedAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolApprovedAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolApprovedAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolApprovedRemoved

type CorePoolApprovedRemoved struct {
	PoolId *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolApprovedRemoved represents a PoolApprovedRemoved event raised by the Core contract.

type CorePoolApprovedRemovedIterator

type CorePoolApprovedRemovedIterator struct {
	Event *CorePoolApprovedRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolApprovedRemovedIterator is returned from FilterPoolApprovedRemoved and is used to iterate over the raw logs and unpacked data for PoolApprovedRemoved events raised by the Core contract.

func (*CorePoolApprovedRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolApprovedRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolApprovedRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolCollateralConfigurationUpdated

type CorePoolCollateralConfigurationUpdated struct {
	PoolId         *big.Int
	CollateralType common.Address
	Config         PoolCollateralConfigurationData
	Raw            types.Log // Blockchain specific contextual infos
}

CorePoolCollateralConfigurationUpdated represents a PoolCollateralConfigurationUpdated event raised by the Core contract.

type CorePoolCollateralConfigurationUpdatedIterator

type CorePoolCollateralConfigurationUpdatedIterator struct {
	Event *CorePoolCollateralConfigurationUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolCollateralConfigurationUpdatedIterator is returned from FilterPoolCollateralConfigurationUpdated and is used to iterate over the raw logs and unpacked data for PoolCollateralConfigurationUpdated events raised by the Core contract.

func (*CorePoolCollateralConfigurationUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolCollateralConfigurationUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolCollateralConfigurationUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolCollateralDisabledByDefaultSet

type CorePoolCollateralDisabledByDefaultSet struct {
	PoolId   *big.Int
	Disabled bool
	Raw      types.Log // Blockchain specific contextual infos
}

CorePoolCollateralDisabledByDefaultSet represents a PoolCollateralDisabledByDefaultSet event raised by the Core contract.

type CorePoolCollateralDisabledByDefaultSetIterator

type CorePoolCollateralDisabledByDefaultSetIterator struct {
	Event *CorePoolCollateralDisabledByDefaultSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolCollateralDisabledByDefaultSetIterator is returned from FilterPoolCollateralDisabledByDefaultSet and is used to iterate over the raw logs and unpacked data for PoolCollateralDisabledByDefaultSet events raised by the Core contract.

func (*CorePoolCollateralDisabledByDefaultSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolCollateralDisabledByDefaultSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolCollateralDisabledByDefaultSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolConfigurationSet

type CorePoolConfigurationSet struct {
	PoolId  *big.Int
	Markets []MarketConfigurationData
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CorePoolConfigurationSet represents a PoolConfigurationSet event raised by the Core contract.

type CorePoolConfigurationSetIterator

type CorePoolConfigurationSetIterator struct {
	Event *CorePoolConfigurationSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolConfigurationSetIterator is returned from FilterPoolConfigurationSet and is used to iterate over the raw logs and unpacked data for PoolConfigurationSet events raised by the Core contract.

func (*CorePoolConfigurationSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolConfigurationSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolConfigurationSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolCreated

type CorePoolCreated struct {
	PoolId *big.Int
	Owner  common.Address
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolCreated represents a PoolCreated event raised by the Core contract.

type CorePoolCreatedIterator

type CorePoolCreatedIterator struct {
	Event *CorePoolCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the Core contract.

func (*CorePoolCreatedIterator) Close

func (it *CorePoolCreatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolCreatedIterator) Error

func (it *CorePoolCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolCreatedIterator) Next

func (it *CorePoolCreatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolNameUpdated

type CorePoolNameUpdated struct {
	PoolId *big.Int
	Name   string
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolNameUpdated represents a PoolNameUpdated event raised by the Core contract.

type CorePoolNameUpdatedIterator

type CorePoolNameUpdatedIterator struct {
	Event *CorePoolNameUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolNameUpdatedIterator is returned from FilterPoolNameUpdated and is used to iterate over the raw logs and unpacked data for PoolNameUpdated events raised by the Core contract.

func (*CorePoolNameUpdatedIterator) Close

func (it *CorePoolNameUpdatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolNameUpdatedIterator) Error

func (it *CorePoolNameUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolNameUpdatedIterator) Next

func (it *CorePoolNameUpdatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolNominationRenounced

type CorePoolNominationRenounced struct {
	PoolId *big.Int
	Owner  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolNominationRenounced represents a PoolNominationRenounced event raised by the Core contract.

type CorePoolNominationRenouncedIterator

type CorePoolNominationRenouncedIterator struct {
	Event *CorePoolNominationRenounced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolNominationRenouncedIterator is returned from FilterPoolNominationRenounced and is used to iterate over the raw logs and unpacked data for PoolNominationRenounced events raised by the Core contract.

func (*CorePoolNominationRenouncedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolNominationRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolNominationRenouncedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolNominationRevoked

type CorePoolNominationRevoked struct {
	PoolId *big.Int
	Owner  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolNominationRevoked represents a PoolNominationRevoked event raised by the Core contract.

type CorePoolNominationRevokedIterator

type CorePoolNominationRevokedIterator struct {
	Event *CorePoolNominationRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolNominationRevokedIterator is returned from FilterPoolNominationRevoked and is used to iterate over the raw logs and unpacked data for PoolNominationRevoked events raised by the Core contract.

func (*CorePoolNominationRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolNominationRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolNominationRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolOwnerNominated

type CorePoolOwnerNominated struct {
	PoolId         *big.Int
	NominatedOwner common.Address
	Owner          common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CorePoolOwnerNominated represents a PoolOwnerNominated event raised by the Core contract.

type CorePoolOwnerNominatedIterator

type CorePoolOwnerNominatedIterator struct {
	Event *CorePoolOwnerNominated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolOwnerNominatedIterator is returned from FilterPoolOwnerNominated and is used to iterate over the raw logs and unpacked data for PoolOwnerNominated events raised by the Core contract.

func (*CorePoolOwnerNominatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolOwnerNominatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolOwnerNominatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolOwnershipAccepted

type CorePoolOwnershipAccepted struct {
	PoolId *big.Int
	Owner  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolOwnershipAccepted represents a PoolOwnershipAccepted event raised by the Core contract.

type CorePoolOwnershipAcceptedIterator

type CorePoolOwnershipAcceptedIterator struct {
	Event *CorePoolOwnershipAccepted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolOwnershipAcceptedIterator is returned from FilterPoolOwnershipAccepted and is used to iterate over the raw logs and unpacked data for PoolOwnershipAccepted events raised by the Core contract.

func (*CorePoolOwnershipAcceptedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolOwnershipAcceptedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolOwnershipAcceptedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePoolOwnershipRenounced

type CorePoolOwnershipRenounced struct {
	PoolId *big.Int
	Owner  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

CorePoolOwnershipRenounced represents a PoolOwnershipRenounced event raised by the Core contract.

type CorePoolOwnershipRenouncedIterator

type CorePoolOwnershipRenouncedIterator struct {
	Event *CorePoolOwnershipRenounced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePoolOwnershipRenouncedIterator is returned from FilterPoolOwnershipRenounced and is used to iterate over the raw logs and unpacked data for PoolOwnershipRenounced events raised by the Core contract.

func (*CorePoolOwnershipRenouncedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePoolOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePoolOwnershipRenouncedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CorePreferredPoolSet

type CorePreferredPoolSet struct {
	PoolId *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CorePreferredPoolSet represents a PreferredPoolSet event raised by the Core contract.

type CorePreferredPoolSetIterator

type CorePreferredPoolSetIterator struct {
	Event *CorePreferredPoolSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CorePreferredPoolSetIterator is returned from FilterPreferredPoolSet and is used to iterate over the raw logs and unpacked data for PreferredPoolSet events raised by the Core contract.

func (*CorePreferredPoolSetIterator) Close

func (it *CorePreferredPoolSetIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CorePreferredPoolSetIterator) Error

func (it *CorePreferredPoolSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CorePreferredPoolSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreRaw

type CoreRaw struct {
	Contract *Core // Generic contract binding to access the raw methods on
}

CoreRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CoreRaw) Call

func (_Core *CoreRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*CoreRaw) Transact

func (_Core *CoreRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CoreRaw) Transfer

func (_Core *CoreRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CoreRewardsClaimed

type CoreRewardsClaimed struct {
	AccountId      *big.Int
	PoolId         *big.Int
	CollateralType common.Address
	Distributor    common.Address
	Amount         *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

CoreRewardsClaimed represents a RewardsClaimed event raised by the Core contract.

type CoreRewardsClaimedIterator

type CoreRewardsClaimedIterator struct {
	Event *CoreRewardsClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreRewardsClaimedIterator is returned from FilterRewardsClaimed and is used to iterate over the raw logs and unpacked data for RewardsClaimed events raised by the Core contract.

func (*CoreRewardsClaimedIterator) Close

func (it *CoreRewardsClaimedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreRewardsClaimedIterator) Error

func (it *CoreRewardsClaimedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreRewardsClaimedIterator) Next

func (it *CoreRewardsClaimedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreRewardsDistributed

type CoreRewardsDistributed struct {
	PoolId         *big.Int
	CollateralType common.Address
	Distributor    common.Address
	Amount         *big.Int
	Start          *big.Int
	Duration       *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

CoreRewardsDistributed represents a RewardsDistributed event raised by the Core contract.

type CoreRewardsDistributedIterator

type CoreRewardsDistributedIterator struct {
	Event *CoreRewardsDistributed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreRewardsDistributedIterator is returned from FilterRewardsDistributed and is used to iterate over the raw logs and unpacked data for RewardsDistributed events raised by the Core contract.

func (*CoreRewardsDistributedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreRewardsDistributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreRewardsDistributedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreRewardsDistributorRegistered

type CoreRewardsDistributorRegistered struct {
	PoolId         *big.Int
	CollateralType common.Address
	Distributor    common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreRewardsDistributorRegistered represents a RewardsDistributorRegistered event raised by the Core contract.

type CoreRewardsDistributorRegisteredIterator

type CoreRewardsDistributorRegisteredIterator struct {
	Event *CoreRewardsDistributorRegistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreRewardsDistributorRegisteredIterator is returned from FilterRewardsDistributorRegistered and is used to iterate over the raw logs and unpacked data for RewardsDistributorRegistered events raised by the Core contract.

func (*CoreRewardsDistributorRegisteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreRewardsDistributorRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreRewardsDistributorRegisteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreRewardsDistributorRemoved

type CoreRewardsDistributorRemoved struct {
	PoolId         *big.Int
	CollateralType common.Address
	Distributor    common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreRewardsDistributorRemoved represents a RewardsDistributorRemoved event raised by the Core contract.

type CoreRewardsDistributorRemovedIterator

type CoreRewardsDistributorRemovedIterator struct {
	Event *CoreRewardsDistributorRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreRewardsDistributorRemovedIterator is returned from FilterRewardsDistributorRemoved and is used to iterate over the raw logs and unpacked data for RewardsDistributorRemoved events raised by the Core contract.

func (*CoreRewardsDistributorRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreRewardsDistributorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreRewardsDistributorRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreSession

type CoreSession struct {
	Contract     *Core             // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

CoreSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CoreSession) AcceptOwnership

func (_Core *CoreSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*CoreSession) AcceptPoolOwnership

func (_Core *CoreSession) AcceptPoolOwnership(poolId *big.Int) (*types.Transaction, error)

AcceptPoolOwnership is a paid mutator transaction binding the contract method 0xc707a39f.

Solidity: function acceptPoolOwnership(uint128 poolId) returns()

func (*CoreSession) AddApprovedPool

func (_Core *CoreSession) AddApprovedPool(poolId *big.Int) (*types.Transaction, error)

AddApprovedPool is a paid mutator transaction binding the contract method 0xb790a1ae.

Solidity: function addApprovedPool(uint128 poolId) returns()

func (*CoreSession) AddToFeatureFlagAllowlist

func (_Core *CoreSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.

Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*CoreSession) AssociateDebt

func (_Core *CoreSession) AssociateDebt(marketId *big.Int, poolId *big.Int, collateralType common.Address, accountId *big.Int, amount *big.Int) (*types.Transaction, error)

AssociateDebt is a paid mutator transaction binding the contract method 0x11aa282d.

Solidity: function associateDebt(uint128 marketId, uint128 poolId, address collateralType, uint128 accountId, uint256 amount) returns(int256)

func (*CoreSession) BurnUsd

func (_Core *CoreSession) BurnUsd(accountId *big.Int, poolId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

BurnUsd is a paid mutator transaction binding the contract method 0xd3264e43.

Solidity: function burnUsd(uint128 accountId, uint128 poolId, address collateralType, uint256 amount) returns()

func (*CoreSession) CcipReceive

func (_Core *CoreSession) CcipReceive(message CcipClientAny2EVMMessage) (*types.Transaction, error)

CcipReceive is a paid mutator transaction binding the contract method 0x85572ffb.

Solidity: function ccipReceive((bytes32,uint64,bytes,bytes,(address,uint256)[]) message) returns()

func (*CoreSession) ClaimRewards

func (_Core *CoreSession) ClaimRewards(accountId *big.Int, poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x460d2049.

Solidity: function claimRewards(uint128 accountId, uint128 poolId, address collateralType, address distributor) returns(uint256)

func (*CoreSession) CleanExpiredLocks

func (_Core *CoreSession) CleanExpiredLocks(accountId *big.Int, collateralType common.Address, offset *big.Int, count *big.Int) (*types.Transaction, error)

CleanExpiredLocks is a paid mutator transaction binding the contract method 0x198f0aa1.

Solidity: function cleanExpiredLocks(uint128 accountId, address collateralType, uint256 offset, uint256 count) returns(uint256 cleared)

func (*CoreSession) ConfigureChainlinkCrossChain

func (_Core *CoreSession) ConfigureChainlinkCrossChain(ccipRouter common.Address, ccipTokenPool common.Address) (*types.Transaction, error)

ConfigureChainlinkCrossChain is a paid mutator transaction binding the contract method 0x10d52805.

Solidity: function configureChainlinkCrossChain(address ccipRouter, address ccipTokenPool) returns()

func (*CoreSession) ConfigureCollateral

func (_Core *CoreSession) ConfigureCollateral(config CollateralConfigurationData) (*types.Transaction, error)

ConfigureCollateral is a paid mutator transaction binding the contract method 0x644cb0f3.

Solidity: function configureCollateral((bool,uint256,uint256,uint256,bytes32,address,uint256) config) returns()

func (*CoreSession) ConfigureMaximumMarketCollateral

func (_Core *CoreSession) ConfigureMaximumMarketCollateral(marketId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

ConfigureMaximumMarketCollateral is a paid mutator transaction binding the contract method 0xdbdea94c.

Solidity: function configureMaximumMarketCollateral(uint128 marketId, address collateralType, uint256 amount) returns()

func (*CoreSession) ConfigureOracleManager

func (_Core *CoreSession) ConfigureOracleManager(oracleManagerAddress common.Address) (*types.Transaction, error)

ConfigureOracleManager is a paid mutator transaction binding the contract method 0xa5d49393.

Solidity: function configureOracleManager(address oracleManagerAddress) returns()

func (*CoreSession) CreateAccount

func (_Core *CoreSession) CreateAccount() (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(uint128 accountId)

func (*CoreSession) CreateAccount0

func (_Core *CoreSession) CreateAccount0(requestedAccountId *big.Int) (*types.Transaction, error)

CreateAccount0 is a paid mutator transaction binding the contract method 0xcadb09a5.

Solidity: function createAccount(uint128 requestedAccountId) returns()

func (*CoreSession) CreateLock

func (_Core *CoreSession) CreateLock(accountId *big.Int, collateralType common.Address, amount *big.Int, expireTimestamp uint64) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0x0bae9893.

Solidity: function createLock(uint128 accountId, address collateralType, uint256 amount, uint64 expireTimestamp) returns()

func (*CoreSession) CreatePool

func (_Core *CoreSession) CreatePool(requestedPoolId *big.Int, owner common.Address) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xcaab529b.

Solidity: function createPool(uint128 requestedPoolId, address owner) returns()

func (*CoreSession) DelegateCollateral

func (_Core *CoreSession) DelegateCollateral(accountId *big.Int, poolId *big.Int, collateralType common.Address, newCollateralAmountD18 *big.Int, leverage *big.Int) (*types.Transaction, error)

DelegateCollateral is a paid mutator transaction binding the contract method 0x7b0532a4.

Solidity: function delegateCollateral(uint128 accountId, uint128 poolId, address collateralType, uint256 newCollateralAmountD18, uint256 leverage) returns()

func (*CoreSession) Deposit

func (_Core *CoreSession) Deposit(accountId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x83802968.

Solidity: function deposit(uint128 accountId, address collateralType, uint256 tokenAmount) returns()

func (*CoreSession) DepositMarketCollateral

func (_Core *CoreSession) DepositMarketCollateral(marketId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

DepositMarketCollateral is a paid mutator transaction binding the contract method 0xa4e6306b.

Solidity: function depositMarketCollateral(uint128 marketId, address collateralType, uint256 tokenAmount) returns()

func (*CoreSession) DepositMarketUsd

func (_Core *CoreSession) DepositMarketUsd(marketId *big.Int, target common.Address, amount *big.Int) (*types.Transaction, error)

DepositMarketUsd is a paid mutator transaction binding the contract method 0x10b0cf76.

Solidity: function depositMarketUsd(uint128 marketId, address target, uint256 amount) returns(uint256 feeAmount)

func (*CoreSession) DistributeDebtToPools

func (_Core *CoreSession) DistributeDebtToPools(marketId *big.Int, maxIter *big.Int) (*types.Transaction, error)

DistributeDebtToPools is a paid mutator transaction binding the contract method 0xa0c12269.

Solidity: function distributeDebtToPools(uint128 marketId, uint256 maxIter) returns(bool)

func (*CoreSession) DistributeRewards

func (_Core *CoreSession) DistributeRewards(poolId *big.Int, collateralType common.Address, amount *big.Int, start uint64, duration uint32) (*types.Transaction, error)

DistributeRewards is a paid mutator transaction binding the contract method 0x5a7ff7c5.

Solidity: function distributeRewards(uint128 poolId, address collateralType, uint256 amount, uint64 start, uint32 duration) returns()

func (*CoreSession) GetAccountAvailableCollateral

func (_Core *CoreSession) GetAccountAvailableCollateral(accountId *big.Int, collateralType common.Address) (*big.Int, error)

GetAccountAvailableCollateral is a free data retrieval call binding the contract method 0x927482ff.

Solidity: function getAccountAvailableCollateral(uint128 accountId, address collateralType) view returns(uint256)

func (*CoreSession) GetAccountCollateral

func (_Core *CoreSession) GetAccountCollateral(accountId *big.Int, collateralType common.Address) (struct {
	TotalDeposited *big.Int
	TotalAssigned  *big.Int
	TotalLocked    *big.Int
}, error)

GetAccountCollateral is a free data retrieval call binding the contract method 0xef45148e.

Solidity: function getAccountCollateral(uint128 accountId, address collateralType) view returns(uint256 totalDeposited, uint256 totalAssigned, uint256 totalLocked)

func (*CoreSession) GetAccountLastInteraction

func (_Core *CoreSession) GetAccountLastInteraction(accountId *big.Int) (*big.Int, error)

GetAccountLastInteraction is a free data retrieval call binding the contract method 0x1b5dccdb.

Solidity: function getAccountLastInteraction(uint128 accountId) view returns(uint256)

func (*CoreSession) GetAccountOwner

func (_Core *CoreSession) GetAccountOwner(accountId *big.Int) (common.Address, error)

GetAccountOwner is a free data retrieval call binding the contract method 0xbf60c31d.

Solidity: function getAccountOwner(uint128 accountId) view returns(address)

func (*CoreSession) GetAccountPermissions

func (_Core *CoreSession) GetAccountPermissions(accountId *big.Int) ([]IAccountModuleAccountPermissions, error)

GetAccountPermissions is a free data retrieval call binding the contract method 0xa796fecd.

Solidity: function getAccountPermissions(uint128 accountId) view returns((address,bytes32[])[] accountPerms)

func (*CoreSession) GetAccountTokenAddress

func (_Core *CoreSession) GetAccountTokenAddress() (common.Address, error)

GetAccountTokenAddress is a free data retrieval call binding the contract method 0xa148bf10.

Solidity: function getAccountTokenAddress() view returns(address)

func (*CoreSession) GetApprovedPools

func (_Core *CoreSession) GetApprovedPools() ([]*big.Int, error)

GetApprovedPools is a free data retrieval call binding the contract method 0x48741626.

Solidity: function getApprovedPools() view returns(uint256[])

func (*CoreSession) GetAssociatedSystem

func (_Core *CoreSession) GetAssociatedSystem(id [32]byte) (struct {
	Addr common.Address
	Kind [32]byte
}, error)

GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.

Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)

func (*CoreSession) GetAvailableRewards

func (_Core *CoreSession) GetAvailableRewards(accountId *big.Int, poolId *big.Int, collateralType common.Address, distributor common.Address) (*big.Int, error)

GetAvailableRewards is a free data retrieval call binding the contract method 0xc4b3410e.

Solidity: function getAvailableRewards(uint128 accountId, uint128 poolId, address collateralType, address distributor) view returns(uint256)

func (*CoreSession) GetCollateralConfiguration

func (_Core *CoreSession) GetCollateralConfiguration(collateralType common.Address) (CollateralConfigurationData, error)

GetCollateralConfiguration is a free data retrieval call binding the contract method 0xdc0b3f52.

Solidity: function getCollateralConfiguration(address collateralType) pure returns((bool,uint256,uint256,uint256,bytes32,address,uint256))

func (*CoreSession) GetCollateralConfigurations

func (_Core *CoreSession) GetCollateralConfigurations(hideDisabled bool) ([]CollateralConfigurationData, error)

GetCollateralConfigurations is a free data retrieval call binding the contract method 0x75bf2444.

Solidity: function getCollateralConfigurations(bool hideDisabled) view returns((bool,uint256,uint256,uint256,bytes32,address,uint256)[])

func (*CoreSession) GetCollateralPrice

func (_Core *CoreSession) GetCollateralPrice(collateralType common.Address) (*big.Int, error)

GetCollateralPrice is a free data retrieval call binding the contract method 0x51a40994.

Solidity: function getCollateralPrice(address collateralType) view returns(uint256)

func (*CoreSession) GetConfig

func (_Core *CoreSession) GetConfig(k [32]byte) ([32]byte, error)

GetConfig is a free data retrieval call binding the contract method 0x6dd5b69d.

Solidity: function getConfig(bytes32 k) view returns(bytes32 v)

func (*CoreSession) GetConfigAddress

func (_Core *CoreSession) GetConfigAddress(k [32]byte) (common.Address, error)

GetConfigAddress is a free data retrieval call binding the contract method 0xf896503a.

Solidity: function getConfigAddress(bytes32 k) view returns(address v)

func (*CoreSession) GetConfigUint

func (_Core *CoreSession) GetConfigUint(k [32]byte) (*big.Int, error)

GetConfigUint is a free data retrieval call binding the contract method 0xf92bb8c9.

Solidity: function getConfigUint(bytes32 k) view returns(uint256 v)

func (*CoreSession) GetDeniers

func (_Core *CoreSession) GetDeniers(feature [32]byte) ([]common.Address, error)

GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.

Solidity: function getDeniers(bytes32 feature) view returns(address[])

func (*CoreSession) GetFeatureFlagAllowAll

func (_Core *CoreSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)

GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.

Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)

func (*CoreSession) GetFeatureFlagAllowlist

func (_Core *CoreSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)

GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.

Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])

func (*CoreSession) GetFeatureFlagDenyAll

func (_Core *CoreSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)

GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.

Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)

func (*CoreSession) GetImplementation

func (_Core *CoreSession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*CoreSession) GetLocks

func (_Core *CoreSession) GetLocks(accountId *big.Int, collateralType common.Address, offset *big.Int, count *big.Int) ([]CollateralLockData, error)

GetLocks is a free data retrieval call binding the contract method 0xaa8c6369.

Solidity: function getLocks(uint128 accountId, address collateralType, uint256 offset, uint256 count) view returns((uint128,uint64)[] locks)

func (*CoreSession) GetMarketAddress

func (_Core *CoreSession) GetMarketAddress(marketId *big.Int) (common.Address, error)

GetMarketAddress is a free data retrieval call binding the contract method 0xd24437f1.

Solidity: function getMarketAddress(uint128 marketId) view returns(address)

func (*CoreSession) GetMarketCollateral

func (_Core *CoreSession) GetMarketCollateral(marketId *big.Int) (*big.Int, error)

GetMarketCollateral is a free data retrieval call binding the contract method 0x150834a3.

Solidity: function getMarketCollateral(uint128 marketId) view returns(uint256)

func (*CoreSession) GetMarketCollateralAmount

func (_Core *CoreSession) GetMarketCollateralAmount(marketId *big.Int, collateralType common.Address) (*big.Int, error)

GetMarketCollateralAmount is a free data retrieval call binding the contract method 0xc2b0cf41.

Solidity: function getMarketCollateralAmount(uint128 marketId, address collateralType) view returns(uint256 collateralAmountD18)

func (*CoreSession) GetMarketCollateralValue

func (_Core *CoreSession) GetMarketCollateralValue(marketId *big.Int) (*big.Int, error)

GetMarketCollateralValue is a free data retrieval call binding the contract method 0xd4f88381.

Solidity: function getMarketCollateralValue(uint128 marketId) view returns(uint256)

func (*CoreSession) GetMarketDebtPerShare

func (_Core *CoreSession) GetMarketDebtPerShare(marketId *big.Int) (*types.Transaction, error)

GetMarketDebtPerShare is a paid mutator transaction binding the contract method 0x95909ba3.

Solidity: function getMarketDebtPerShare(uint128 marketId) returns(int256)

func (*CoreSession) GetMarketFees

func (_Core *CoreSession) GetMarketFees(arg0 *big.Int, amount *big.Int) (struct {
	DepositFeeAmount  *big.Int
	WithdrawFeeAmount *big.Int
}, error)

GetMarketFees is a free data retrieval call binding the contract method 0xdfb83437.

Solidity: function getMarketFees(uint128 , uint256 amount) view returns(uint256 depositFeeAmount, uint256 withdrawFeeAmount)

func (*CoreSession) GetMarketMinDelegateTime

func (_Core *CoreSession) GetMarketMinDelegateTime(marketId *big.Int) (uint32, error)

GetMarketMinDelegateTime is a free data retrieval call binding the contract method 0x5424901b.

Solidity: function getMarketMinDelegateTime(uint128 marketId) view returns(uint32)

func (*CoreSession) GetMarketNetIssuance

func (_Core *CoreSession) GetMarketNetIssuance(marketId *big.Int) (*big.Int, error)

GetMarketNetIssuance is a free data retrieval call binding the contract method 0x85d99ebc.

Solidity: function getMarketNetIssuance(uint128 marketId) view returns(int128)

func (*CoreSession) GetMarketPoolDebtDistribution

func (_Core *CoreSession) GetMarketPoolDebtDistribution(marketId *big.Int, poolId *big.Int) (*types.Transaction, error)

GetMarketPoolDebtDistribution is a paid mutator transaction binding the contract method 0x25eeea4b.

Solidity: function getMarketPoolDebtDistribution(uint128 marketId, uint128 poolId) returns(uint256 sharesD18, uint128 totalSharesD18, int128 valuePerShareD27)

func (*CoreSession) GetMarketPools

func (_Core *CoreSession) GetMarketPools(marketId *big.Int) (*types.Transaction, error)

GetMarketPools is a paid mutator transaction binding the contract method 0xbe0b8e6f.

Solidity: function getMarketPools(uint128 marketId) returns(uint128[] inRangePoolIds, uint128[] outRangePoolIds)

func (*CoreSession) GetMarketReportedDebt

func (_Core *CoreSession) GetMarketReportedDebt(marketId *big.Int) (*big.Int, error)

GetMarketReportedDebt is a free data retrieval call binding the contract method 0x86e3b1cf.

Solidity: function getMarketReportedDebt(uint128 marketId) view returns(uint256)

func (*CoreSession) GetMarketTotalDebt

func (_Core *CoreSession) GetMarketTotalDebt(marketId *big.Int) (*big.Int, error)

GetMarketTotalDebt is a free data retrieval call binding the contract method 0xbaa2a264.

Solidity: function getMarketTotalDebt(uint128 marketId) view returns(int256)

func (*CoreSession) GetMaximumMarketCollateral

func (_Core *CoreSession) GetMaximumMarketCollateral(marketId *big.Int, collateralType common.Address) (*big.Int, error)

GetMaximumMarketCollateral is a free data retrieval call binding the contract method 0x12e1c673.

Solidity: function getMaximumMarketCollateral(uint128 marketId, address collateralType) view returns(uint256)

func (*CoreSession) GetMinLiquidityRatio

func (_Core *CoreSession) GetMinLiquidityRatio(marketId *big.Int) (*big.Int, error)

GetMinLiquidityRatio is a free data retrieval call binding the contract method 0x84f29b6d.

Solidity: function getMinLiquidityRatio(uint128 marketId) view returns(uint256)

func (*CoreSession) GetMinLiquidityRatio0

func (_Core *CoreSession) GetMinLiquidityRatio0() (*big.Int, error)

GetMinLiquidityRatio0 is a free data retrieval call binding the contract method 0xfd85c1f8.

Solidity: function getMinLiquidityRatio() view returns(uint256)

func (*CoreSession) GetNominatedPoolOwner

func (_Core *CoreSession) GetNominatedPoolOwner(poolId *big.Int) (common.Address, error)

GetNominatedPoolOwner is a free data retrieval call binding the contract method 0x9851af01.

Solidity: function getNominatedPoolOwner(uint128 poolId) view returns(address)

func (*CoreSession) GetOracleManager

func (_Core *CoreSession) GetOracleManager() (common.Address, error)

GetOracleManager is a free data retrieval call binding the contract method 0xb01ceccd.

Solidity: function getOracleManager() view returns(address)

func (*CoreSession) GetPoolCollateralConfiguration

func (_Core *CoreSession) GetPoolCollateralConfiguration(poolId *big.Int, collateralType common.Address) (PoolCollateralConfigurationData, error)

GetPoolCollateralConfiguration is a free data retrieval call binding the contract method 0xc77e51f6.

Solidity: function getPoolCollateralConfiguration(uint128 poolId, address collateralType) view returns((uint256,uint256) config)

func (*CoreSession) GetPoolCollateralIssuanceRatio

func (_Core *CoreSession) GetPoolCollateralIssuanceRatio(poolId *big.Int, collateral common.Address) (*big.Int, error)

GetPoolCollateralIssuanceRatio is a free data retrieval call binding the contract method 0xc4d2aad3.

Solidity: function getPoolCollateralIssuanceRatio(uint128 poolId, address collateral) view returns(uint256)

func (*CoreSession) GetPoolConfiguration

func (_Core *CoreSession) GetPoolConfiguration(poolId *big.Int) ([]MarketConfigurationData, error)

GetPoolConfiguration is a free data retrieval call binding the contract method 0xefecf137.

Solidity: function getPoolConfiguration(uint128 poolId) view returns((uint128,uint128,int128)[])

func (*CoreSession) GetPoolName

func (_Core *CoreSession) GetPoolName(poolId *big.Int) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0xf86e6f91.

Solidity: function getPoolName(uint128 poolId) view returns(string poolName)

func (*CoreSession) GetPoolOwner

func (_Core *CoreSession) GetPoolOwner(poolId *big.Int) (common.Address, error)

GetPoolOwner is a free data retrieval call binding the contract method 0xbbdd7c5a.

Solidity: function getPoolOwner(uint128 poolId) view returns(address)

func (*CoreSession) GetPosition

func (_Core *CoreSession) GetPosition(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPosition is a paid mutator transaction binding the contract method 0xf544d66e.

Solidity: function getPosition(uint128 accountId, uint128 poolId, address collateralType) returns(uint256 collateralAmount, uint256 collateralValue, int256 debt, uint256 collateralizationRatio)

func (*CoreSession) GetPositionCollateral

func (_Core *CoreSession) GetPositionCollateral(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*big.Int, error)

GetPositionCollateral is a free data retrieval call binding the contract method 0x33cc422b.

Solidity: function getPositionCollateral(uint128 accountId, uint128 poolId, address collateralType) view returns(uint256 amount)

func (*CoreSession) GetPositionCollateralRatio

func (_Core *CoreSession) GetPositionCollateralRatio(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPositionCollateralRatio is a paid mutator transaction binding the contract method 0xdc0a5384.

Solidity: function getPositionCollateralRatio(uint128 accountId, uint128 poolId, address collateralType) returns(uint256)

func (*CoreSession) GetPositionDebt

func (_Core *CoreSession) GetPositionDebt(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPositionDebt is a paid mutator transaction binding the contract method 0x3593bbd2.

Solidity: function getPositionDebt(uint128 accountId, uint128 poolId, address collateralType) returns(int256 debt)

func (*CoreSession) GetPreferredPool

func (_Core *CoreSession) GetPreferredPool() (*big.Int, error)

GetPreferredPool is a free data retrieval call binding the contract method 0x3b390b57.

Solidity: function getPreferredPool() view returns(uint128)

func (*CoreSession) GetRewardRate

func (_Core *CoreSession) GetRewardRate(poolId *big.Int, collateralType common.Address, distributor common.Address) (*big.Int, error)

GetRewardRate is a free data retrieval call binding the contract method 0x0dd2395a.

Solidity: function getRewardRate(uint128 poolId, address collateralType, address distributor) view returns(uint256)

func (*CoreSession) GetTrustedForwarder

func (_Core *CoreSession) GetTrustedForwarder() (common.Address, error)

GetTrustedForwarder is a free data retrieval call binding the contract method 0xce1b815f.

Solidity: function getTrustedForwarder() pure returns(address)

func (*CoreSession) GetUsdToken

func (_Core *CoreSession) GetUsdToken() (common.Address, error)

GetUsdToken is a free data retrieval call binding the contract method 0x21f1d9e5.

Solidity: function getUsdToken() view returns(address)

func (*CoreSession) GetVaultCollateral

func (_Core *CoreSession) GetVaultCollateral(poolId *big.Int, collateralType common.Address) (struct {
	Amount *big.Int
	Value  *big.Int
}, error)

GetVaultCollateral is a free data retrieval call binding the contract method 0x078145a8.

Solidity: function getVaultCollateral(uint128 poolId, address collateralType) view returns(uint256 amount, uint256 value)

func (*CoreSession) GetVaultCollateralRatio

func (_Core *CoreSession) GetVaultCollateralRatio(poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetVaultCollateralRatio is a paid mutator transaction binding the contract method 0x60248c55.

Solidity: function getVaultCollateralRatio(uint128 poolId, address collateralType) returns(uint256)

func (*CoreSession) GetVaultDebt

func (_Core *CoreSession) GetVaultDebt(poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetVaultDebt is a paid mutator transaction binding the contract method 0x2fb8ff24.

Solidity: function getVaultDebt(uint128 poolId, address collateralType) returns(int256)

func (*CoreSession) GetWithdrawableMarketUsd

func (_Core *CoreSession) GetWithdrawableMarketUsd(marketId *big.Int) (*big.Int, error)

GetWithdrawableMarketUsd is a free data retrieval call binding the contract method 0x1eb60770.

Solidity: function getWithdrawableMarketUsd(uint128 marketId) view returns(uint256)

func (*CoreSession) GrantPermission

func (_Core *CoreSession) GrantPermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

GrantPermission is a paid mutator transaction binding the contract method 0x00cd9ef3.

Solidity: function grantPermission(uint128 accountId, bytes32 permission, address user) returns()

func (*CoreSession) HasPermission

func (_Core *CoreSession) HasPermission(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

HasPermission is a free data retrieval call binding the contract method 0x8d34166b.

Solidity: function hasPermission(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*CoreSession) InitOrUpgradeNft

func (_Core *CoreSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)

InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.

Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()

func (*CoreSession) InitOrUpgradeToken

func (_Core *CoreSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)

InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.

Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()

func (*CoreSession) IsAuthorized

func (_Core *CoreSession) IsAuthorized(accountId *big.Int, permission [32]byte, user common.Address) (bool, error)

IsAuthorized is a free data retrieval call binding the contract method 0x1213d453.

Solidity: function isAuthorized(uint128 accountId, bytes32 permission, address user) view returns(bool)

func (*CoreSession) IsFeatureAllowed

func (_Core *CoreSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)

IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.

Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)

func (*CoreSession) IsMarketCapacityLocked

func (_Core *CoreSession) IsMarketCapacityLocked(marketId *big.Int) (bool, error)

IsMarketCapacityLocked is a free data retrieval call binding the contract method 0x07003f0a.

Solidity: function isMarketCapacityLocked(uint128 marketId) view returns(bool)

func (*CoreSession) IsPositionLiquidatable

func (_Core *CoreSession) IsPositionLiquidatable(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

IsPositionLiquidatable is a paid mutator transaction binding the contract method 0x2fa7bb65.

Solidity: function isPositionLiquidatable(uint128 accountId, uint128 poolId, address collateralType) returns(bool)

func (*CoreSession) IsTrustedForwarder

func (_Core *CoreSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) pure returns(bool)

func (*CoreSession) IsVaultLiquidatable

func (_Core *CoreSession) IsVaultLiquidatable(poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

IsVaultLiquidatable is a paid mutator transaction binding the contract method 0x2a5354d2.

Solidity: function isVaultLiquidatable(uint128 poolId, address collateralType) returns(bool)

func (*CoreSession) Liquidate

func (_Core *CoreSession) Liquidate(accountId *big.Int, poolId *big.Int, collateralType common.Address, liquidateAsAccountId *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x3e033a06.

Solidity: function liquidate(uint128 accountId, uint128 poolId, address collateralType, uint128 liquidateAsAccountId) returns((uint256,uint256,uint256) liquidationData)

func (*CoreSession) LiquidateVault

func (_Core *CoreSession) LiquidateVault(poolId *big.Int, collateralType common.Address, liquidateAsAccountId *big.Int, maxUsd *big.Int) (*types.Transaction, error)

LiquidateVault is a paid mutator transaction binding the contract method 0x7d8a4140.

Solidity: function liquidateVault(uint128 poolId, address collateralType, uint128 liquidateAsAccountId, uint256 maxUsd) returns((uint256,uint256,uint256) liquidationData)

func (*CoreSession) MintUsd

func (_Core *CoreSession) MintUsd(accountId *big.Int, poolId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

MintUsd is a paid mutator transaction binding the contract method 0xdf16a074.

Solidity: function mintUsd(uint128 accountId, uint128 poolId, address collateralType, uint256 amount) returns()

func (*CoreSession) NominateNewOwner

func (_Core *CoreSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address newNominatedOwner) returns()

func (*CoreSession) NominatePoolOwner

func (_Core *CoreSession) NominatePoolOwner(nominatedOwner common.Address, poolId *big.Int) (*types.Transaction, error)

NominatePoolOwner is a paid mutator transaction binding the contract method 0x6141f7a2.

Solidity: function nominatePoolOwner(address nominatedOwner, uint128 poolId) returns()

func (*CoreSession) NominatedOwner

func (_Core *CoreSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*CoreSession) NotifyAccountTransfer

func (_Core *CoreSession) NotifyAccountTransfer(to common.Address, accountId *big.Int) (*types.Transaction, error)

NotifyAccountTransfer is a paid mutator transaction binding the contract method 0x7dec8b55.

Solidity: function notifyAccountTransfer(address to, uint128 accountId) returns()

func (*CoreSession) Owner

func (_Core *CoreSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CoreSession) RebalancePool

func (_Core *CoreSession) RebalancePool(poolId *big.Int, optionalCollateralType common.Address) (*types.Transaction, error)

RebalancePool is a paid mutator transaction binding the contract method 0x183231d7.

Solidity: function rebalancePool(uint128 poolId, address optionalCollateralType) returns()

func (*CoreSession) RegisterMarket

func (_Core *CoreSession) RegisterMarket(market common.Address) (*types.Transaction, error)

RegisterMarket is a paid mutator transaction binding the contract method 0xa79b9ec9.

Solidity: function registerMarket(address market) returns(uint128 marketId)

func (*CoreSession) RegisterRewardsDistributor

func (_Core *CoreSession) RegisterRewardsDistributor(poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

RegisterRewardsDistributor is a paid mutator transaction binding the contract method 0x170c1351.

Solidity: function registerRewardsDistributor(uint128 poolId, address collateralType, address distributor) returns()

func (*CoreSession) RegisterUnmanagedSystem

func (_Core *CoreSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)

RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.

Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()

func (*CoreSession) RemoveApprovedPool

func (_Core *CoreSession) RemoveApprovedPool(poolId *big.Int) (*types.Transaction, error)

RemoveApprovedPool is a paid mutator transaction binding the contract method 0xe1b440d0.

Solidity: function removeApprovedPool(uint128 poolId) returns()

func (*CoreSession) RemoveFromFeatureFlagAllowlist

func (_Core *CoreSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.

Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*CoreSession) RemoveRewardsDistributor

func (_Core *CoreSession) RemoveRewardsDistributor(poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

RemoveRewardsDistributor is a paid mutator transaction binding the contract method 0x2685f42b.

Solidity: function removeRewardsDistributor(uint128 poolId, address collateralType, address distributor) returns()

func (*CoreSession) RenounceNomination

func (_Core *CoreSession) RenounceNomination() (*types.Transaction, error)

RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.

Solidity: function renounceNomination() returns()

func (*CoreSession) RenouncePermission

func (_Core *CoreSession) RenouncePermission(accountId *big.Int, permission [32]byte) (*types.Transaction, error)

RenouncePermission is a paid mutator transaction binding the contract method 0x47c1c561.

Solidity: function renouncePermission(uint128 accountId, bytes32 permission) returns()

func (*CoreSession) RenouncePoolNomination

func (_Core *CoreSession) RenouncePoolNomination(poolId *big.Int) (*types.Transaction, error)

RenouncePoolNomination is a paid mutator transaction binding the contract method 0xca5bed77.

Solidity: function renouncePoolNomination(uint128 poolId) returns()

func (*CoreSession) RenouncePoolOwnership

func (_Core *CoreSession) RenouncePoolOwnership(poolId *big.Int) (*types.Transaction, error)

RenouncePoolOwnership is a paid mutator transaction binding the contract method 0x7cc14a92.

Solidity: function renouncePoolOwnership(uint128 poolId) returns()

func (*CoreSession) RevokePermission

func (_Core *CoreSession) RevokePermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

RevokePermission is a paid mutator transaction binding the contract method 0xa7627288.

Solidity: function revokePermission(uint128 accountId, bytes32 permission, address user) returns()

func (*CoreSession) RevokePoolNomination

func (_Core *CoreSession) RevokePoolNomination(poolId *big.Int) (*types.Transaction, error)

RevokePoolNomination is a paid mutator transaction binding the contract method 0x1f1b33b9.

Solidity: function revokePoolNomination(uint128 poolId) returns()

func (*CoreSession) SetConfig

func (_Core *CoreSession) SetConfig(k [32]byte, v [32]byte) (*types.Transaction, error)

SetConfig is a paid mutator transaction binding the contract method 0xd1fd27b3.

Solidity: function setConfig(bytes32 k, bytes32 v) returns()

func (*CoreSession) SetDeniers

func (_Core *CoreSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)

SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.

Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()

func (*CoreSession) SetFeatureFlagAllowAll

func (_Core *CoreSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)

SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.

Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()

func (*CoreSession) SetFeatureFlagDenyAll

func (_Core *CoreSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)

SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.

Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()

func (*CoreSession) SetMarketMinDelegateTime

func (_Core *CoreSession) SetMarketMinDelegateTime(marketId *big.Int, minDelegateTime uint32) (*types.Transaction, error)

SetMarketMinDelegateTime is a paid mutator transaction binding the contract method 0x1d90e392.

Solidity: function setMarketMinDelegateTime(uint128 marketId, uint32 minDelegateTime) returns()

func (*CoreSession) SetMinLiquidityRatio

func (_Core *CoreSession) SetMinLiquidityRatio(marketId *big.Int, minLiquidityRatio *big.Int) (*types.Transaction, error)

SetMinLiquidityRatio is a paid mutator transaction binding the contract method 0x6fd5bdce.

Solidity: function setMinLiquidityRatio(uint128 marketId, uint256 minLiquidityRatio) returns()

func (*CoreSession) SetMinLiquidityRatio0

func (_Core *CoreSession) SetMinLiquidityRatio0(minLiquidityRatio *big.Int) (*types.Transaction, error)

SetMinLiquidityRatio0 is a paid mutator transaction binding the contract method 0x34078a01.

Solidity: function setMinLiquidityRatio(uint256 minLiquidityRatio) returns()

func (*CoreSession) SetPoolCollateralConfiguration

func (_Core *CoreSession) SetPoolCollateralConfiguration(poolId *big.Int, collateralType common.Address, newConfig PoolCollateralConfigurationData) (*types.Transaction, error)

SetPoolCollateralConfiguration is a paid mutator transaction binding the contract method 0x5a4aabb1.

Solidity: function setPoolCollateralConfiguration(uint128 poolId, address collateralType, (uint256,uint256) newConfig) returns()

func (*CoreSession) SetPoolCollateralDisabledByDefault

func (_Core *CoreSession) SetPoolCollateralDisabledByDefault(poolId *big.Int, disabled bool) (*types.Transaction, error)

SetPoolCollateralDisabledByDefault is a paid mutator transaction binding the contract method 0x4c6568b1.

Solidity: function setPoolCollateralDisabledByDefault(uint128 poolId, bool disabled) returns()

func (*CoreSession) SetPoolConfiguration

func (_Core *CoreSession) SetPoolConfiguration(poolId *big.Int, newMarketConfigurations []MarketConfigurationData) (*types.Transaction, error)

SetPoolConfiguration is a paid mutator transaction binding the contract method 0x5d8c8844.

Solidity: function setPoolConfiguration(uint128 poolId, (uint128,uint128,int128)[] newMarketConfigurations) returns()

func (*CoreSession) SetPoolName

func (_Core *CoreSession) SetPoolName(poolId *big.Int, name string) (*types.Transaction, error)

SetPoolName is a paid mutator transaction binding the contract method 0x11e72a43.

Solidity: function setPoolName(uint128 poolId, string name) returns()

func (*CoreSession) SetPreferredPool

func (_Core *CoreSession) SetPreferredPool(poolId *big.Int) (*types.Transaction, error)

SetPreferredPool is a paid mutator transaction binding the contract method 0xe7098c0c.

Solidity: function setPreferredPool(uint128 poolId) returns()

func (*CoreSession) SetSupportedCrossChainNetworks

func (_Core *CoreSession) SetSupportedCrossChainNetworks(supportedNetworks []uint64, ccipSelectors []uint64) (*types.Transaction, error)

SetSupportedCrossChainNetworks is a paid mutator transaction binding the contract method 0x830e23b5.

Solidity: function setSupportedCrossChainNetworks(uint64[] supportedNetworks, uint64[] ccipSelectors) returns(uint256 numRegistered)

func (*CoreSession) SimulateUpgradeTo

func (_Core *CoreSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)

SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.

Solidity: function simulateUpgradeTo(address newImplementation) returns()

func (*CoreSession) SupportsInterface

func (_Core *CoreSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*CoreSession) TransferCrossChain

func (_Core *CoreSession) TransferCrossChain(destChainId uint64, amount *big.Int) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0x340824d7.

Solidity: function transferCrossChain(uint64 destChainId, uint256 amount) payable returns(uint256 gasTokenUsed)

func (*CoreSession) UpdateRewards

func (_Core *CoreSession) UpdateRewards(poolId *big.Int, collateralType common.Address, accountId *big.Int) (*types.Transaction, error)

UpdateRewards is a paid mutator transaction binding the contract method 0x645657d8.

Solidity: function updateRewards(uint128 poolId, address collateralType, uint128 accountId) returns(uint256[], address[])

func (*CoreSession) UpgradeTo

func (_Core *CoreSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*CoreSession) Withdraw

func (_Core *CoreSession) Withdraw(accountId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x95997c51.

Solidity: function withdraw(uint128 accountId, address collateralType, uint256 tokenAmount) returns()

func (*CoreSession) WithdrawMarketCollateral

func (_Core *CoreSession) WithdrawMarketCollateral(marketId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

WithdrawMarketCollateral is a paid mutator transaction binding the contract method 0xa3aa8b51.

Solidity: function withdrawMarketCollateral(uint128 marketId, address collateralType, uint256 tokenAmount) returns()

func (*CoreSession) WithdrawMarketUsd

func (_Core *CoreSession) WithdrawMarketUsd(marketId *big.Int, target common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawMarketUsd is a paid mutator transaction binding the contract method 0x140a7cfe.

Solidity: function withdrawMarketUsd(uint128 marketId, address target, uint256 amount) returns(uint256 feeAmount)

type CoreSetMarketMinLiquidityRatio

type CoreSetMarketMinLiquidityRatio struct {
	MarketId          *big.Int
	MinLiquidityRatio *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

CoreSetMarketMinLiquidityRatio represents a SetMarketMinLiquidityRatio event raised by the Core contract.

type CoreSetMarketMinLiquidityRatioIterator

type CoreSetMarketMinLiquidityRatioIterator struct {
	Event *CoreSetMarketMinLiquidityRatio // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreSetMarketMinLiquidityRatioIterator is returned from FilterSetMarketMinLiquidityRatio and is used to iterate over the raw logs and unpacked data for SetMarketMinLiquidityRatio events raised by the Core contract.

func (*CoreSetMarketMinLiquidityRatioIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreSetMarketMinLiquidityRatioIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreSetMarketMinLiquidityRatioIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreSetMinDelegateTime

type CoreSetMinDelegateTime struct {
	MarketId        *big.Int
	MinDelegateTime uint32
	Raw             types.Log // Blockchain specific contextual infos
}

CoreSetMinDelegateTime represents a SetMinDelegateTime event raised by the Core contract.

type CoreSetMinDelegateTimeIterator

type CoreSetMinDelegateTimeIterator struct {
	Event *CoreSetMinDelegateTime // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreSetMinDelegateTimeIterator is returned from FilterSetMinDelegateTime and is used to iterate over the raw logs and unpacked data for SetMinDelegateTime events raised by the Core contract.

func (*CoreSetMinDelegateTimeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreSetMinDelegateTimeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreSetMinDelegateTimeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreSetMinLiquidityRatio

type CoreSetMinLiquidityRatio struct {
	MinLiquidityRatio *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

CoreSetMinLiquidityRatio represents a SetMinLiquidityRatio event raised by the Core contract.

type CoreSetMinLiquidityRatioIterator

type CoreSetMinLiquidityRatioIterator struct {
	Event *CoreSetMinLiquidityRatio // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreSetMinLiquidityRatioIterator is returned from FilterSetMinLiquidityRatio and is used to iterate over the raw logs and unpacked data for SetMinLiquidityRatio events raised by the Core contract.

func (*CoreSetMinLiquidityRatioIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreSetMinLiquidityRatioIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreSetMinLiquidityRatioIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreTransactor

type CoreTransactor struct {
	// contains filtered or unexported fields
}

CoreTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCoreTransactor

func NewCoreTransactor(address common.Address, transactor bind.ContractTransactor) (*CoreTransactor, error)

NewCoreTransactor creates a new write-only instance of Core, bound to a specific deployed contract.

func (*CoreTransactor) AcceptOwnership

func (_Core *CoreTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*CoreTransactor) AcceptPoolOwnership

func (_Core *CoreTransactor) AcceptPoolOwnership(opts *bind.TransactOpts, poolId *big.Int) (*types.Transaction, error)

AcceptPoolOwnership is a paid mutator transaction binding the contract method 0xc707a39f.

Solidity: function acceptPoolOwnership(uint128 poolId) returns()

func (*CoreTransactor) AddApprovedPool

func (_Core *CoreTransactor) AddApprovedPool(opts *bind.TransactOpts, poolId *big.Int) (*types.Transaction, error)

AddApprovedPool is a paid mutator transaction binding the contract method 0xb790a1ae.

Solidity: function addApprovedPool(uint128 poolId) returns()

func (*CoreTransactor) AddToFeatureFlagAllowlist

func (_Core *CoreTransactor) AddToFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)

AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.

Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*CoreTransactor) AssociateDebt

func (_Core *CoreTransactor) AssociateDebt(opts *bind.TransactOpts, marketId *big.Int, poolId *big.Int, collateralType common.Address, accountId *big.Int, amount *big.Int) (*types.Transaction, error)

AssociateDebt is a paid mutator transaction binding the contract method 0x11aa282d.

Solidity: function associateDebt(uint128 marketId, uint128 poolId, address collateralType, uint128 accountId, uint256 amount) returns(int256)

func (*CoreTransactor) BurnUsd

func (_Core *CoreTransactor) BurnUsd(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

BurnUsd is a paid mutator transaction binding the contract method 0xd3264e43.

Solidity: function burnUsd(uint128 accountId, uint128 poolId, address collateralType, uint256 amount) returns()

func (*CoreTransactor) CcipReceive

func (_Core *CoreTransactor) CcipReceive(opts *bind.TransactOpts, message CcipClientAny2EVMMessage) (*types.Transaction, error)

CcipReceive is a paid mutator transaction binding the contract method 0x85572ffb.

Solidity: function ccipReceive((bytes32,uint64,bytes,bytes,(address,uint256)[]) message) returns()

func (*CoreTransactor) ClaimRewards

func (_Core *CoreTransactor) ClaimRewards(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x460d2049.

Solidity: function claimRewards(uint128 accountId, uint128 poolId, address collateralType, address distributor) returns(uint256)

func (*CoreTransactor) CleanExpiredLocks

func (_Core *CoreTransactor) CleanExpiredLocks(opts *bind.TransactOpts, accountId *big.Int, collateralType common.Address, offset *big.Int, count *big.Int) (*types.Transaction, error)

CleanExpiredLocks is a paid mutator transaction binding the contract method 0x198f0aa1.

Solidity: function cleanExpiredLocks(uint128 accountId, address collateralType, uint256 offset, uint256 count) returns(uint256 cleared)

func (*CoreTransactor) ConfigureChainlinkCrossChain

func (_Core *CoreTransactor) ConfigureChainlinkCrossChain(opts *bind.TransactOpts, ccipRouter common.Address, ccipTokenPool common.Address) (*types.Transaction, error)

ConfigureChainlinkCrossChain is a paid mutator transaction binding the contract method 0x10d52805.

Solidity: function configureChainlinkCrossChain(address ccipRouter, address ccipTokenPool) returns()

func (*CoreTransactor) ConfigureCollateral

func (_Core *CoreTransactor) ConfigureCollateral(opts *bind.TransactOpts, config CollateralConfigurationData) (*types.Transaction, error)

ConfigureCollateral is a paid mutator transaction binding the contract method 0x644cb0f3.

Solidity: function configureCollateral((bool,uint256,uint256,uint256,bytes32,address,uint256) config) returns()

func (*CoreTransactor) ConfigureMaximumMarketCollateral

func (_Core *CoreTransactor) ConfigureMaximumMarketCollateral(opts *bind.TransactOpts, marketId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

ConfigureMaximumMarketCollateral is a paid mutator transaction binding the contract method 0xdbdea94c.

Solidity: function configureMaximumMarketCollateral(uint128 marketId, address collateralType, uint256 amount) returns()

func (*CoreTransactor) ConfigureOracleManager

func (_Core *CoreTransactor) ConfigureOracleManager(opts *bind.TransactOpts, oracleManagerAddress common.Address) (*types.Transaction, error)

ConfigureOracleManager is a paid mutator transaction binding the contract method 0xa5d49393.

Solidity: function configureOracleManager(address oracleManagerAddress) returns()

func (*CoreTransactor) CreateAccount

func (_Core *CoreTransactor) CreateAccount(opts *bind.TransactOpts) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(uint128 accountId)

func (*CoreTransactor) CreateAccount0

func (_Core *CoreTransactor) CreateAccount0(opts *bind.TransactOpts, requestedAccountId *big.Int) (*types.Transaction, error)

CreateAccount0 is a paid mutator transaction binding the contract method 0xcadb09a5.

Solidity: function createAccount(uint128 requestedAccountId) returns()

func (*CoreTransactor) CreateLock

func (_Core *CoreTransactor) CreateLock(opts *bind.TransactOpts, accountId *big.Int, collateralType common.Address, amount *big.Int, expireTimestamp uint64) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0x0bae9893.

Solidity: function createLock(uint128 accountId, address collateralType, uint256 amount, uint64 expireTimestamp) returns()

func (*CoreTransactor) CreatePool

func (_Core *CoreTransactor) CreatePool(opts *bind.TransactOpts, requestedPoolId *big.Int, owner common.Address) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xcaab529b.

Solidity: function createPool(uint128 requestedPoolId, address owner) returns()

func (*CoreTransactor) DelegateCollateral

func (_Core *CoreTransactor) DelegateCollateral(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address, newCollateralAmountD18 *big.Int, leverage *big.Int) (*types.Transaction, error)

DelegateCollateral is a paid mutator transaction binding the contract method 0x7b0532a4.

Solidity: function delegateCollateral(uint128 accountId, uint128 poolId, address collateralType, uint256 newCollateralAmountD18, uint256 leverage) returns()

func (*CoreTransactor) Deposit

func (_Core *CoreTransactor) Deposit(opts *bind.TransactOpts, accountId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x83802968.

Solidity: function deposit(uint128 accountId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactor) DepositMarketCollateral

func (_Core *CoreTransactor) DepositMarketCollateral(opts *bind.TransactOpts, marketId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

DepositMarketCollateral is a paid mutator transaction binding the contract method 0xa4e6306b.

Solidity: function depositMarketCollateral(uint128 marketId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactor) DepositMarketUsd

func (_Core *CoreTransactor) DepositMarketUsd(opts *bind.TransactOpts, marketId *big.Int, target common.Address, amount *big.Int) (*types.Transaction, error)

DepositMarketUsd is a paid mutator transaction binding the contract method 0x10b0cf76.

Solidity: function depositMarketUsd(uint128 marketId, address target, uint256 amount) returns(uint256 feeAmount)

func (*CoreTransactor) DistributeDebtToPools

func (_Core *CoreTransactor) DistributeDebtToPools(opts *bind.TransactOpts, marketId *big.Int, maxIter *big.Int) (*types.Transaction, error)

DistributeDebtToPools is a paid mutator transaction binding the contract method 0xa0c12269.

Solidity: function distributeDebtToPools(uint128 marketId, uint256 maxIter) returns(bool)

func (*CoreTransactor) DistributeRewards

func (_Core *CoreTransactor) DistributeRewards(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address, amount *big.Int, start uint64, duration uint32) (*types.Transaction, error)

DistributeRewards is a paid mutator transaction binding the contract method 0x5a7ff7c5.

Solidity: function distributeRewards(uint128 poolId, address collateralType, uint256 amount, uint64 start, uint32 duration) returns()

func (*CoreTransactor) GetMarketDebtPerShare

func (_Core *CoreTransactor) GetMarketDebtPerShare(opts *bind.TransactOpts, marketId *big.Int) (*types.Transaction, error)

GetMarketDebtPerShare is a paid mutator transaction binding the contract method 0x95909ba3.

Solidity: function getMarketDebtPerShare(uint128 marketId) returns(int256)

func (*CoreTransactor) GetMarketPoolDebtDistribution

func (_Core *CoreTransactor) GetMarketPoolDebtDistribution(opts *bind.TransactOpts, marketId *big.Int, poolId *big.Int) (*types.Transaction, error)

GetMarketPoolDebtDistribution is a paid mutator transaction binding the contract method 0x25eeea4b.

Solidity: function getMarketPoolDebtDistribution(uint128 marketId, uint128 poolId) returns(uint256 sharesD18, uint128 totalSharesD18, int128 valuePerShareD27)

func (*CoreTransactor) GetMarketPools

func (_Core *CoreTransactor) GetMarketPools(opts *bind.TransactOpts, marketId *big.Int) (*types.Transaction, error)

GetMarketPools is a paid mutator transaction binding the contract method 0xbe0b8e6f.

Solidity: function getMarketPools(uint128 marketId) returns(uint128[] inRangePoolIds, uint128[] outRangePoolIds)

func (*CoreTransactor) GetPosition

func (_Core *CoreTransactor) GetPosition(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPosition is a paid mutator transaction binding the contract method 0xf544d66e.

Solidity: function getPosition(uint128 accountId, uint128 poolId, address collateralType) returns(uint256 collateralAmount, uint256 collateralValue, int256 debt, uint256 collateralizationRatio)

func (*CoreTransactor) GetPositionCollateralRatio

func (_Core *CoreTransactor) GetPositionCollateralRatio(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPositionCollateralRatio is a paid mutator transaction binding the contract method 0xdc0a5384.

Solidity: function getPositionCollateralRatio(uint128 accountId, uint128 poolId, address collateralType) returns(uint256)

func (*CoreTransactor) GetPositionDebt

func (_Core *CoreTransactor) GetPositionDebt(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPositionDebt is a paid mutator transaction binding the contract method 0x3593bbd2.

Solidity: function getPositionDebt(uint128 accountId, uint128 poolId, address collateralType) returns(int256 debt)

func (*CoreTransactor) GetVaultCollateralRatio

func (_Core *CoreTransactor) GetVaultCollateralRatio(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetVaultCollateralRatio is a paid mutator transaction binding the contract method 0x60248c55.

Solidity: function getVaultCollateralRatio(uint128 poolId, address collateralType) returns(uint256)

func (*CoreTransactor) GetVaultDebt

func (_Core *CoreTransactor) GetVaultDebt(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetVaultDebt is a paid mutator transaction binding the contract method 0x2fb8ff24.

Solidity: function getVaultDebt(uint128 poolId, address collateralType) returns(int256)

func (*CoreTransactor) GrantPermission

func (_Core *CoreTransactor) GrantPermission(opts *bind.TransactOpts, accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

GrantPermission is a paid mutator transaction binding the contract method 0x00cd9ef3.

Solidity: function grantPermission(uint128 accountId, bytes32 permission, address user) returns()

func (*CoreTransactor) InitOrUpgradeNft

func (_Core *CoreTransactor) InitOrUpgradeNft(opts *bind.TransactOpts, id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)

InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.

Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()

func (*CoreTransactor) InitOrUpgradeToken

func (_Core *CoreTransactor) InitOrUpgradeToken(opts *bind.TransactOpts, id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)

InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.

Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()

func (*CoreTransactor) IsPositionLiquidatable

func (_Core *CoreTransactor) IsPositionLiquidatable(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

IsPositionLiquidatable is a paid mutator transaction binding the contract method 0x2fa7bb65.

Solidity: function isPositionLiquidatable(uint128 accountId, uint128 poolId, address collateralType) returns(bool)

func (*CoreTransactor) IsVaultLiquidatable

func (_Core *CoreTransactor) IsVaultLiquidatable(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

IsVaultLiquidatable is a paid mutator transaction binding the contract method 0x2a5354d2.

Solidity: function isVaultLiquidatable(uint128 poolId, address collateralType) returns(bool)

func (*CoreTransactor) Liquidate

func (_Core *CoreTransactor) Liquidate(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address, liquidateAsAccountId *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x3e033a06.

Solidity: function liquidate(uint128 accountId, uint128 poolId, address collateralType, uint128 liquidateAsAccountId) returns((uint256,uint256,uint256) liquidationData)

func (*CoreTransactor) LiquidateVault

func (_Core *CoreTransactor) LiquidateVault(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address, liquidateAsAccountId *big.Int, maxUsd *big.Int) (*types.Transaction, error)

LiquidateVault is a paid mutator transaction binding the contract method 0x7d8a4140.

Solidity: function liquidateVault(uint128 poolId, address collateralType, uint128 liquidateAsAccountId, uint256 maxUsd) returns((uint256,uint256,uint256) liquidationData)

func (*CoreTransactor) MintUsd

func (_Core *CoreTransactor) MintUsd(opts *bind.TransactOpts, accountId *big.Int, poolId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

MintUsd is a paid mutator transaction binding the contract method 0xdf16a074.

Solidity: function mintUsd(uint128 accountId, uint128 poolId, address collateralType, uint256 amount) returns()

func (*CoreTransactor) NominateNewOwner

func (_Core *CoreTransactor) NominateNewOwner(opts *bind.TransactOpts, newNominatedOwner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address newNominatedOwner) returns()

func (*CoreTransactor) NominatePoolOwner

func (_Core *CoreTransactor) NominatePoolOwner(opts *bind.TransactOpts, nominatedOwner common.Address, poolId *big.Int) (*types.Transaction, error)

NominatePoolOwner is a paid mutator transaction binding the contract method 0x6141f7a2.

Solidity: function nominatePoolOwner(address nominatedOwner, uint128 poolId) returns()

func (*CoreTransactor) NotifyAccountTransfer

func (_Core *CoreTransactor) NotifyAccountTransfer(opts *bind.TransactOpts, to common.Address, accountId *big.Int) (*types.Transaction, error)

NotifyAccountTransfer is a paid mutator transaction binding the contract method 0x7dec8b55.

Solidity: function notifyAccountTransfer(address to, uint128 accountId) returns()

func (*CoreTransactor) RebalancePool

func (_Core *CoreTransactor) RebalancePool(opts *bind.TransactOpts, poolId *big.Int, optionalCollateralType common.Address) (*types.Transaction, error)

RebalancePool is a paid mutator transaction binding the contract method 0x183231d7.

Solidity: function rebalancePool(uint128 poolId, address optionalCollateralType) returns()

func (*CoreTransactor) RegisterMarket

func (_Core *CoreTransactor) RegisterMarket(opts *bind.TransactOpts, market common.Address) (*types.Transaction, error)

RegisterMarket is a paid mutator transaction binding the contract method 0xa79b9ec9.

Solidity: function registerMarket(address market) returns(uint128 marketId)

func (*CoreTransactor) RegisterRewardsDistributor

func (_Core *CoreTransactor) RegisterRewardsDistributor(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

RegisterRewardsDistributor is a paid mutator transaction binding the contract method 0x170c1351.

Solidity: function registerRewardsDistributor(uint128 poolId, address collateralType, address distributor) returns()

func (*CoreTransactor) RegisterUnmanagedSystem

func (_Core *CoreTransactor) RegisterUnmanagedSystem(opts *bind.TransactOpts, id [32]byte, endpoint common.Address) (*types.Transaction, error)

RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.

Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()

func (*CoreTransactor) RemoveApprovedPool

func (_Core *CoreTransactor) RemoveApprovedPool(opts *bind.TransactOpts, poolId *big.Int) (*types.Transaction, error)

RemoveApprovedPool is a paid mutator transaction binding the contract method 0xe1b440d0.

Solidity: function removeApprovedPool(uint128 poolId) returns()

func (*CoreTransactor) RemoveFromFeatureFlagAllowlist

func (_Core *CoreTransactor) RemoveFromFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)

RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.

Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*CoreTransactor) RemoveRewardsDistributor

func (_Core *CoreTransactor) RemoveRewardsDistributor(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

RemoveRewardsDistributor is a paid mutator transaction binding the contract method 0x2685f42b.

Solidity: function removeRewardsDistributor(uint128 poolId, address collateralType, address distributor) returns()

func (*CoreTransactor) RenounceNomination

func (_Core *CoreTransactor) RenounceNomination(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.

Solidity: function renounceNomination() returns()

func (*CoreTransactor) RenouncePermission

func (_Core *CoreTransactor) RenouncePermission(opts *bind.TransactOpts, accountId *big.Int, permission [32]byte) (*types.Transaction, error)

RenouncePermission is a paid mutator transaction binding the contract method 0x47c1c561.

Solidity: function renouncePermission(uint128 accountId, bytes32 permission) returns()

func (*CoreTransactor) RenouncePoolNomination

func (_Core *CoreTransactor) RenouncePoolNomination(opts *bind.TransactOpts, poolId *big.Int) (*types.Transaction, error)

RenouncePoolNomination is a paid mutator transaction binding the contract method 0xca5bed77.

Solidity: function renouncePoolNomination(uint128 poolId) returns()

func (*CoreTransactor) RenouncePoolOwnership

func (_Core *CoreTransactor) RenouncePoolOwnership(opts *bind.TransactOpts, poolId *big.Int) (*types.Transaction, error)

RenouncePoolOwnership is a paid mutator transaction binding the contract method 0x7cc14a92.

Solidity: function renouncePoolOwnership(uint128 poolId) returns()

func (*CoreTransactor) RevokePermission

func (_Core *CoreTransactor) RevokePermission(opts *bind.TransactOpts, accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

RevokePermission is a paid mutator transaction binding the contract method 0xa7627288.

Solidity: function revokePermission(uint128 accountId, bytes32 permission, address user) returns()

func (*CoreTransactor) RevokePoolNomination

func (_Core *CoreTransactor) RevokePoolNomination(opts *bind.TransactOpts, poolId *big.Int) (*types.Transaction, error)

RevokePoolNomination is a paid mutator transaction binding the contract method 0x1f1b33b9.

Solidity: function revokePoolNomination(uint128 poolId) returns()

func (*CoreTransactor) SetConfig

func (_Core *CoreTransactor) SetConfig(opts *bind.TransactOpts, k [32]byte, v [32]byte) (*types.Transaction, error)

SetConfig is a paid mutator transaction binding the contract method 0xd1fd27b3.

Solidity: function setConfig(bytes32 k, bytes32 v) returns()

func (*CoreTransactor) SetDeniers

func (_Core *CoreTransactor) SetDeniers(opts *bind.TransactOpts, feature [32]byte, deniers []common.Address) (*types.Transaction, error)

SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.

Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()

func (*CoreTransactor) SetFeatureFlagAllowAll

func (_Core *CoreTransactor) SetFeatureFlagAllowAll(opts *bind.TransactOpts, feature [32]byte, allowAll bool) (*types.Transaction, error)

SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.

Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()

func (*CoreTransactor) SetFeatureFlagDenyAll

func (_Core *CoreTransactor) SetFeatureFlagDenyAll(opts *bind.TransactOpts, feature [32]byte, denyAll bool) (*types.Transaction, error)

SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.

Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()

func (*CoreTransactor) SetMarketMinDelegateTime

func (_Core *CoreTransactor) SetMarketMinDelegateTime(opts *bind.TransactOpts, marketId *big.Int, minDelegateTime uint32) (*types.Transaction, error)

SetMarketMinDelegateTime is a paid mutator transaction binding the contract method 0x1d90e392.

Solidity: function setMarketMinDelegateTime(uint128 marketId, uint32 minDelegateTime) returns()

func (*CoreTransactor) SetMinLiquidityRatio

func (_Core *CoreTransactor) SetMinLiquidityRatio(opts *bind.TransactOpts, marketId *big.Int, minLiquidityRatio *big.Int) (*types.Transaction, error)

SetMinLiquidityRatio is a paid mutator transaction binding the contract method 0x6fd5bdce.

Solidity: function setMinLiquidityRatio(uint128 marketId, uint256 minLiquidityRatio) returns()

func (*CoreTransactor) SetMinLiquidityRatio0

func (_Core *CoreTransactor) SetMinLiquidityRatio0(opts *bind.TransactOpts, minLiquidityRatio *big.Int) (*types.Transaction, error)

SetMinLiquidityRatio0 is a paid mutator transaction binding the contract method 0x34078a01.

Solidity: function setMinLiquidityRatio(uint256 minLiquidityRatio) returns()

func (*CoreTransactor) SetPoolCollateralConfiguration

func (_Core *CoreTransactor) SetPoolCollateralConfiguration(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address, newConfig PoolCollateralConfigurationData) (*types.Transaction, error)

SetPoolCollateralConfiguration is a paid mutator transaction binding the contract method 0x5a4aabb1.

Solidity: function setPoolCollateralConfiguration(uint128 poolId, address collateralType, (uint256,uint256) newConfig) returns()

func (*CoreTransactor) SetPoolCollateralDisabledByDefault

func (_Core *CoreTransactor) SetPoolCollateralDisabledByDefault(opts *bind.TransactOpts, poolId *big.Int, disabled bool) (*types.Transaction, error)

SetPoolCollateralDisabledByDefault is a paid mutator transaction binding the contract method 0x4c6568b1.

Solidity: function setPoolCollateralDisabledByDefault(uint128 poolId, bool disabled) returns()

func (*CoreTransactor) SetPoolConfiguration

func (_Core *CoreTransactor) SetPoolConfiguration(opts *bind.TransactOpts, poolId *big.Int, newMarketConfigurations []MarketConfigurationData) (*types.Transaction, error)

SetPoolConfiguration is a paid mutator transaction binding the contract method 0x5d8c8844.

Solidity: function setPoolConfiguration(uint128 poolId, (uint128,uint128,int128)[] newMarketConfigurations) returns()

func (*CoreTransactor) SetPoolName

func (_Core *CoreTransactor) SetPoolName(opts *bind.TransactOpts, poolId *big.Int, name string) (*types.Transaction, error)

SetPoolName is a paid mutator transaction binding the contract method 0x11e72a43.

Solidity: function setPoolName(uint128 poolId, string name) returns()

func (*CoreTransactor) SetPreferredPool

func (_Core *CoreTransactor) SetPreferredPool(opts *bind.TransactOpts, poolId *big.Int) (*types.Transaction, error)

SetPreferredPool is a paid mutator transaction binding the contract method 0xe7098c0c.

Solidity: function setPreferredPool(uint128 poolId) returns()

func (*CoreTransactor) SetSupportedCrossChainNetworks

func (_Core *CoreTransactor) SetSupportedCrossChainNetworks(opts *bind.TransactOpts, supportedNetworks []uint64, ccipSelectors []uint64) (*types.Transaction, error)

SetSupportedCrossChainNetworks is a paid mutator transaction binding the contract method 0x830e23b5.

Solidity: function setSupportedCrossChainNetworks(uint64[] supportedNetworks, uint64[] ccipSelectors) returns(uint256 numRegistered)

func (*CoreTransactor) SimulateUpgradeTo

func (_Core *CoreTransactor) SimulateUpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.

Solidity: function simulateUpgradeTo(address newImplementation) returns()

func (*CoreTransactor) TransferCrossChain

func (_Core *CoreTransactor) TransferCrossChain(opts *bind.TransactOpts, destChainId uint64, amount *big.Int) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0x340824d7.

Solidity: function transferCrossChain(uint64 destChainId, uint256 amount) payable returns(uint256 gasTokenUsed)

func (*CoreTransactor) UpdateRewards

func (_Core *CoreTransactor) UpdateRewards(opts *bind.TransactOpts, poolId *big.Int, collateralType common.Address, accountId *big.Int) (*types.Transaction, error)

UpdateRewards is a paid mutator transaction binding the contract method 0x645657d8.

Solidity: function updateRewards(uint128 poolId, address collateralType, uint128 accountId) returns(uint256[], address[])

func (*CoreTransactor) UpgradeTo

func (_Core *CoreTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*CoreTransactor) Withdraw

func (_Core *CoreTransactor) Withdraw(opts *bind.TransactOpts, accountId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x95997c51.

Solidity: function withdraw(uint128 accountId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactor) WithdrawMarketCollateral

func (_Core *CoreTransactor) WithdrawMarketCollateral(opts *bind.TransactOpts, marketId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

WithdrawMarketCollateral is a paid mutator transaction binding the contract method 0xa3aa8b51.

Solidity: function withdrawMarketCollateral(uint128 marketId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactor) WithdrawMarketUsd

func (_Core *CoreTransactor) WithdrawMarketUsd(opts *bind.TransactOpts, marketId *big.Int, target common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawMarketUsd is a paid mutator transaction binding the contract method 0x140a7cfe.

Solidity: function withdrawMarketUsd(uint128 marketId, address target, uint256 amount) returns(uint256 feeAmount)

type CoreTransactorRaw

type CoreTransactorRaw struct {
	Contract *CoreTransactor // Generic write-only contract binding to access the raw methods on
}

CoreTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CoreTransactorRaw) Transact

func (_Core *CoreTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CoreTransactorRaw) Transfer

func (_Core *CoreTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CoreTransactorSession

type CoreTransactorSession struct {
	Contract     *CoreTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

CoreTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CoreTransactorSession) AcceptOwnership

func (_Core *CoreTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*CoreTransactorSession) AcceptPoolOwnership

func (_Core *CoreTransactorSession) AcceptPoolOwnership(poolId *big.Int) (*types.Transaction, error)

AcceptPoolOwnership is a paid mutator transaction binding the contract method 0xc707a39f.

Solidity: function acceptPoolOwnership(uint128 poolId) returns()

func (*CoreTransactorSession) AddApprovedPool

func (_Core *CoreTransactorSession) AddApprovedPool(poolId *big.Int) (*types.Transaction, error)

AddApprovedPool is a paid mutator transaction binding the contract method 0xb790a1ae.

Solidity: function addApprovedPool(uint128 poolId) returns()

func (*CoreTransactorSession) AddToFeatureFlagAllowlist

func (_Core *CoreTransactorSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.

Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*CoreTransactorSession) AssociateDebt

func (_Core *CoreTransactorSession) AssociateDebt(marketId *big.Int, poolId *big.Int, collateralType common.Address, accountId *big.Int, amount *big.Int) (*types.Transaction, error)

AssociateDebt is a paid mutator transaction binding the contract method 0x11aa282d.

Solidity: function associateDebt(uint128 marketId, uint128 poolId, address collateralType, uint128 accountId, uint256 amount) returns(int256)

func (*CoreTransactorSession) BurnUsd

func (_Core *CoreTransactorSession) BurnUsd(accountId *big.Int, poolId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

BurnUsd is a paid mutator transaction binding the contract method 0xd3264e43.

Solidity: function burnUsd(uint128 accountId, uint128 poolId, address collateralType, uint256 amount) returns()

func (*CoreTransactorSession) CcipReceive

func (_Core *CoreTransactorSession) CcipReceive(message CcipClientAny2EVMMessage) (*types.Transaction, error)

CcipReceive is a paid mutator transaction binding the contract method 0x85572ffb.

Solidity: function ccipReceive((bytes32,uint64,bytes,bytes,(address,uint256)[]) message) returns()

func (*CoreTransactorSession) ClaimRewards

func (_Core *CoreTransactorSession) ClaimRewards(accountId *big.Int, poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x460d2049.

Solidity: function claimRewards(uint128 accountId, uint128 poolId, address collateralType, address distributor) returns(uint256)

func (*CoreTransactorSession) CleanExpiredLocks

func (_Core *CoreTransactorSession) CleanExpiredLocks(accountId *big.Int, collateralType common.Address, offset *big.Int, count *big.Int) (*types.Transaction, error)

CleanExpiredLocks is a paid mutator transaction binding the contract method 0x198f0aa1.

Solidity: function cleanExpiredLocks(uint128 accountId, address collateralType, uint256 offset, uint256 count) returns(uint256 cleared)

func (*CoreTransactorSession) ConfigureChainlinkCrossChain

func (_Core *CoreTransactorSession) ConfigureChainlinkCrossChain(ccipRouter common.Address, ccipTokenPool common.Address) (*types.Transaction, error)

ConfigureChainlinkCrossChain is a paid mutator transaction binding the contract method 0x10d52805.

Solidity: function configureChainlinkCrossChain(address ccipRouter, address ccipTokenPool) returns()

func (*CoreTransactorSession) ConfigureCollateral

func (_Core *CoreTransactorSession) ConfigureCollateral(config CollateralConfigurationData) (*types.Transaction, error)

ConfigureCollateral is a paid mutator transaction binding the contract method 0x644cb0f3.

Solidity: function configureCollateral((bool,uint256,uint256,uint256,bytes32,address,uint256) config) returns()

func (*CoreTransactorSession) ConfigureMaximumMarketCollateral

func (_Core *CoreTransactorSession) ConfigureMaximumMarketCollateral(marketId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

ConfigureMaximumMarketCollateral is a paid mutator transaction binding the contract method 0xdbdea94c.

Solidity: function configureMaximumMarketCollateral(uint128 marketId, address collateralType, uint256 amount) returns()

func (*CoreTransactorSession) ConfigureOracleManager

func (_Core *CoreTransactorSession) ConfigureOracleManager(oracleManagerAddress common.Address) (*types.Transaction, error)

ConfigureOracleManager is a paid mutator transaction binding the contract method 0xa5d49393.

Solidity: function configureOracleManager(address oracleManagerAddress) returns()

func (*CoreTransactorSession) CreateAccount

func (_Core *CoreTransactorSession) CreateAccount() (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(uint128 accountId)

func (*CoreTransactorSession) CreateAccount0

func (_Core *CoreTransactorSession) CreateAccount0(requestedAccountId *big.Int) (*types.Transaction, error)

CreateAccount0 is a paid mutator transaction binding the contract method 0xcadb09a5.

Solidity: function createAccount(uint128 requestedAccountId) returns()

func (*CoreTransactorSession) CreateLock

func (_Core *CoreTransactorSession) CreateLock(accountId *big.Int, collateralType common.Address, amount *big.Int, expireTimestamp uint64) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0x0bae9893.

Solidity: function createLock(uint128 accountId, address collateralType, uint256 amount, uint64 expireTimestamp) returns()

func (*CoreTransactorSession) CreatePool

func (_Core *CoreTransactorSession) CreatePool(requestedPoolId *big.Int, owner common.Address) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xcaab529b.

Solidity: function createPool(uint128 requestedPoolId, address owner) returns()

func (*CoreTransactorSession) DelegateCollateral

func (_Core *CoreTransactorSession) DelegateCollateral(accountId *big.Int, poolId *big.Int, collateralType common.Address, newCollateralAmountD18 *big.Int, leverage *big.Int) (*types.Transaction, error)

DelegateCollateral is a paid mutator transaction binding the contract method 0x7b0532a4.

Solidity: function delegateCollateral(uint128 accountId, uint128 poolId, address collateralType, uint256 newCollateralAmountD18, uint256 leverage) returns()

func (*CoreTransactorSession) Deposit

func (_Core *CoreTransactorSession) Deposit(accountId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x83802968.

Solidity: function deposit(uint128 accountId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactorSession) DepositMarketCollateral

func (_Core *CoreTransactorSession) DepositMarketCollateral(marketId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

DepositMarketCollateral is a paid mutator transaction binding the contract method 0xa4e6306b.

Solidity: function depositMarketCollateral(uint128 marketId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactorSession) DepositMarketUsd

func (_Core *CoreTransactorSession) DepositMarketUsd(marketId *big.Int, target common.Address, amount *big.Int) (*types.Transaction, error)

DepositMarketUsd is a paid mutator transaction binding the contract method 0x10b0cf76.

Solidity: function depositMarketUsd(uint128 marketId, address target, uint256 amount) returns(uint256 feeAmount)

func (*CoreTransactorSession) DistributeDebtToPools

func (_Core *CoreTransactorSession) DistributeDebtToPools(marketId *big.Int, maxIter *big.Int) (*types.Transaction, error)

DistributeDebtToPools is a paid mutator transaction binding the contract method 0xa0c12269.

Solidity: function distributeDebtToPools(uint128 marketId, uint256 maxIter) returns(bool)

func (*CoreTransactorSession) DistributeRewards

func (_Core *CoreTransactorSession) DistributeRewards(poolId *big.Int, collateralType common.Address, amount *big.Int, start uint64, duration uint32) (*types.Transaction, error)

DistributeRewards is a paid mutator transaction binding the contract method 0x5a7ff7c5.

Solidity: function distributeRewards(uint128 poolId, address collateralType, uint256 amount, uint64 start, uint32 duration) returns()

func (*CoreTransactorSession) GetMarketDebtPerShare

func (_Core *CoreTransactorSession) GetMarketDebtPerShare(marketId *big.Int) (*types.Transaction, error)

GetMarketDebtPerShare is a paid mutator transaction binding the contract method 0x95909ba3.

Solidity: function getMarketDebtPerShare(uint128 marketId) returns(int256)

func (*CoreTransactorSession) GetMarketPoolDebtDistribution

func (_Core *CoreTransactorSession) GetMarketPoolDebtDistribution(marketId *big.Int, poolId *big.Int) (*types.Transaction, error)

GetMarketPoolDebtDistribution is a paid mutator transaction binding the contract method 0x25eeea4b.

Solidity: function getMarketPoolDebtDistribution(uint128 marketId, uint128 poolId) returns(uint256 sharesD18, uint128 totalSharesD18, int128 valuePerShareD27)

func (*CoreTransactorSession) GetMarketPools

func (_Core *CoreTransactorSession) GetMarketPools(marketId *big.Int) (*types.Transaction, error)

GetMarketPools is a paid mutator transaction binding the contract method 0xbe0b8e6f.

Solidity: function getMarketPools(uint128 marketId) returns(uint128[] inRangePoolIds, uint128[] outRangePoolIds)

func (*CoreTransactorSession) GetPosition

func (_Core *CoreTransactorSession) GetPosition(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPosition is a paid mutator transaction binding the contract method 0xf544d66e.

Solidity: function getPosition(uint128 accountId, uint128 poolId, address collateralType) returns(uint256 collateralAmount, uint256 collateralValue, int256 debt, uint256 collateralizationRatio)

func (*CoreTransactorSession) GetPositionCollateralRatio

func (_Core *CoreTransactorSession) GetPositionCollateralRatio(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPositionCollateralRatio is a paid mutator transaction binding the contract method 0xdc0a5384.

Solidity: function getPositionCollateralRatio(uint128 accountId, uint128 poolId, address collateralType) returns(uint256)

func (*CoreTransactorSession) GetPositionDebt

func (_Core *CoreTransactorSession) GetPositionDebt(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetPositionDebt is a paid mutator transaction binding the contract method 0x3593bbd2.

Solidity: function getPositionDebt(uint128 accountId, uint128 poolId, address collateralType) returns(int256 debt)

func (*CoreTransactorSession) GetVaultCollateralRatio

func (_Core *CoreTransactorSession) GetVaultCollateralRatio(poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetVaultCollateralRatio is a paid mutator transaction binding the contract method 0x60248c55.

Solidity: function getVaultCollateralRatio(uint128 poolId, address collateralType) returns(uint256)

func (*CoreTransactorSession) GetVaultDebt

func (_Core *CoreTransactorSession) GetVaultDebt(poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

GetVaultDebt is a paid mutator transaction binding the contract method 0x2fb8ff24.

Solidity: function getVaultDebt(uint128 poolId, address collateralType) returns(int256)

func (*CoreTransactorSession) GrantPermission

func (_Core *CoreTransactorSession) GrantPermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

GrantPermission is a paid mutator transaction binding the contract method 0x00cd9ef3.

Solidity: function grantPermission(uint128 accountId, bytes32 permission, address user) returns()

func (*CoreTransactorSession) InitOrUpgradeNft

func (_Core *CoreTransactorSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)

InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.

Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()

func (*CoreTransactorSession) InitOrUpgradeToken

func (_Core *CoreTransactorSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)

InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.

Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()

func (*CoreTransactorSession) IsPositionLiquidatable

func (_Core *CoreTransactorSession) IsPositionLiquidatable(accountId *big.Int, poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

IsPositionLiquidatable is a paid mutator transaction binding the contract method 0x2fa7bb65.

Solidity: function isPositionLiquidatable(uint128 accountId, uint128 poolId, address collateralType) returns(bool)

func (*CoreTransactorSession) IsVaultLiquidatable

func (_Core *CoreTransactorSession) IsVaultLiquidatable(poolId *big.Int, collateralType common.Address) (*types.Transaction, error)

IsVaultLiquidatable is a paid mutator transaction binding the contract method 0x2a5354d2.

Solidity: function isVaultLiquidatable(uint128 poolId, address collateralType) returns(bool)

func (*CoreTransactorSession) Liquidate

func (_Core *CoreTransactorSession) Liquidate(accountId *big.Int, poolId *big.Int, collateralType common.Address, liquidateAsAccountId *big.Int) (*types.Transaction, error)

Liquidate is a paid mutator transaction binding the contract method 0x3e033a06.

Solidity: function liquidate(uint128 accountId, uint128 poolId, address collateralType, uint128 liquidateAsAccountId) returns((uint256,uint256,uint256) liquidationData)

func (*CoreTransactorSession) LiquidateVault

func (_Core *CoreTransactorSession) LiquidateVault(poolId *big.Int, collateralType common.Address, liquidateAsAccountId *big.Int, maxUsd *big.Int) (*types.Transaction, error)

LiquidateVault is a paid mutator transaction binding the contract method 0x7d8a4140.

Solidity: function liquidateVault(uint128 poolId, address collateralType, uint128 liquidateAsAccountId, uint256 maxUsd) returns((uint256,uint256,uint256) liquidationData)

func (*CoreTransactorSession) MintUsd

func (_Core *CoreTransactorSession) MintUsd(accountId *big.Int, poolId *big.Int, collateralType common.Address, amount *big.Int) (*types.Transaction, error)

MintUsd is a paid mutator transaction binding the contract method 0xdf16a074.

Solidity: function mintUsd(uint128 accountId, uint128 poolId, address collateralType, uint256 amount) returns()

func (*CoreTransactorSession) NominateNewOwner

func (_Core *CoreTransactorSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address newNominatedOwner) returns()

func (*CoreTransactorSession) NominatePoolOwner

func (_Core *CoreTransactorSession) NominatePoolOwner(nominatedOwner common.Address, poolId *big.Int) (*types.Transaction, error)

NominatePoolOwner is a paid mutator transaction binding the contract method 0x6141f7a2.

Solidity: function nominatePoolOwner(address nominatedOwner, uint128 poolId) returns()

func (*CoreTransactorSession) NotifyAccountTransfer

func (_Core *CoreTransactorSession) NotifyAccountTransfer(to common.Address, accountId *big.Int) (*types.Transaction, error)

NotifyAccountTransfer is a paid mutator transaction binding the contract method 0x7dec8b55.

Solidity: function notifyAccountTransfer(address to, uint128 accountId) returns()

func (*CoreTransactorSession) RebalancePool

func (_Core *CoreTransactorSession) RebalancePool(poolId *big.Int, optionalCollateralType common.Address) (*types.Transaction, error)

RebalancePool is a paid mutator transaction binding the contract method 0x183231d7.

Solidity: function rebalancePool(uint128 poolId, address optionalCollateralType) returns()

func (*CoreTransactorSession) RegisterMarket

func (_Core *CoreTransactorSession) RegisterMarket(market common.Address) (*types.Transaction, error)

RegisterMarket is a paid mutator transaction binding the contract method 0xa79b9ec9.

Solidity: function registerMarket(address market) returns(uint128 marketId)

func (*CoreTransactorSession) RegisterRewardsDistributor

func (_Core *CoreTransactorSession) RegisterRewardsDistributor(poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

RegisterRewardsDistributor is a paid mutator transaction binding the contract method 0x170c1351.

Solidity: function registerRewardsDistributor(uint128 poolId, address collateralType, address distributor) returns()

func (*CoreTransactorSession) RegisterUnmanagedSystem

func (_Core *CoreTransactorSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)

RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.

Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()

func (*CoreTransactorSession) RemoveApprovedPool

func (_Core *CoreTransactorSession) RemoveApprovedPool(poolId *big.Int) (*types.Transaction, error)

RemoveApprovedPool is a paid mutator transaction binding the contract method 0xe1b440d0.

Solidity: function removeApprovedPool(uint128 poolId) returns()

func (*CoreTransactorSession) RemoveFromFeatureFlagAllowlist

func (_Core *CoreTransactorSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)

RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.

Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()

func (*CoreTransactorSession) RemoveRewardsDistributor

func (_Core *CoreTransactorSession) RemoveRewardsDistributor(poolId *big.Int, collateralType common.Address, distributor common.Address) (*types.Transaction, error)

RemoveRewardsDistributor is a paid mutator transaction binding the contract method 0x2685f42b.

Solidity: function removeRewardsDistributor(uint128 poolId, address collateralType, address distributor) returns()

func (*CoreTransactorSession) RenounceNomination

func (_Core *CoreTransactorSession) RenounceNomination() (*types.Transaction, error)

RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.

Solidity: function renounceNomination() returns()

func (*CoreTransactorSession) RenouncePermission

func (_Core *CoreTransactorSession) RenouncePermission(accountId *big.Int, permission [32]byte) (*types.Transaction, error)

RenouncePermission is a paid mutator transaction binding the contract method 0x47c1c561.

Solidity: function renouncePermission(uint128 accountId, bytes32 permission) returns()

func (*CoreTransactorSession) RenouncePoolNomination

func (_Core *CoreTransactorSession) RenouncePoolNomination(poolId *big.Int) (*types.Transaction, error)

RenouncePoolNomination is a paid mutator transaction binding the contract method 0xca5bed77.

Solidity: function renouncePoolNomination(uint128 poolId) returns()

func (*CoreTransactorSession) RenouncePoolOwnership

func (_Core *CoreTransactorSession) RenouncePoolOwnership(poolId *big.Int) (*types.Transaction, error)

RenouncePoolOwnership is a paid mutator transaction binding the contract method 0x7cc14a92.

Solidity: function renouncePoolOwnership(uint128 poolId) returns()

func (*CoreTransactorSession) RevokePermission

func (_Core *CoreTransactorSession) RevokePermission(accountId *big.Int, permission [32]byte, user common.Address) (*types.Transaction, error)

RevokePermission is a paid mutator transaction binding the contract method 0xa7627288.

Solidity: function revokePermission(uint128 accountId, bytes32 permission, address user) returns()

func (*CoreTransactorSession) RevokePoolNomination

func (_Core *CoreTransactorSession) RevokePoolNomination(poolId *big.Int) (*types.Transaction, error)

RevokePoolNomination is a paid mutator transaction binding the contract method 0x1f1b33b9.

Solidity: function revokePoolNomination(uint128 poolId) returns()

func (*CoreTransactorSession) SetConfig

func (_Core *CoreTransactorSession) SetConfig(k [32]byte, v [32]byte) (*types.Transaction, error)

SetConfig is a paid mutator transaction binding the contract method 0xd1fd27b3.

Solidity: function setConfig(bytes32 k, bytes32 v) returns()

func (*CoreTransactorSession) SetDeniers

func (_Core *CoreTransactorSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)

SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.

Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()

func (*CoreTransactorSession) SetFeatureFlagAllowAll

func (_Core *CoreTransactorSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)

SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.

Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()

func (*CoreTransactorSession) SetFeatureFlagDenyAll

func (_Core *CoreTransactorSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)

SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.

Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()

func (*CoreTransactorSession) SetMarketMinDelegateTime

func (_Core *CoreTransactorSession) SetMarketMinDelegateTime(marketId *big.Int, minDelegateTime uint32) (*types.Transaction, error)

SetMarketMinDelegateTime is a paid mutator transaction binding the contract method 0x1d90e392.

Solidity: function setMarketMinDelegateTime(uint128 marketId, uint32 minDelegateTime) returns()

func (*CoreTransactorSession) SetMinLiquidityRatio

func (_Core *CoreTransactorSession) SetMinLiquidityRatio(marketId *big.Int, minLiquidityRatio *big.Int) (*types.Transaction, error)

SetMinLiquidityRatio is a paid mutator transaction binding the contract method 0x6fd5bdce.

Solidity: function setMinLiquidityRatio(uint128 marketId, uint256 minLiquidityRatio) returns()

func (*CoreTransactorSession) SetMinLiquidityRatio0

func (_Core *CoreTransactorSession) SetMinLiquidityRatio0(minLiquidityRatio *big.Int) (*types.Transaction, error)

SetMinLiquidityRatio0 is a paid mutator transaction binding the contract method 0x34078a01.

Solidity: function setMinLiquidityRatio(uint256 minLiquidityRatio) returns()

func (*CoreTransactorSession) SetPoolCollateralConfiguration

func (_Core *CoreTransactorSession) SetPoolCollateralConfiguration(poolId *big.Int, collateralType common.Address, newConfig PoolCollateralConfigurationData) (*types.Transaction, error)

SetPoolCollateralConfiguration is a paid mutator transaction binding the contract method 0x5a4aabb1.

Solidity: function setPoolCollateralConfiguration(uint128 poolId, address collateralType, (uint256,uint256) newConfig) returns()

func (*CoreTransactorSession) SetPoolCollateralDisabledByDefault

func (_Core *CoreTransactorSession) SetPoolCollateralDisabledByDefault(poolId *big.Int, disabled bool) (*types.Transaction, error)

SetPoolCollateralDisabledByDefault is a paid mutator transaction binding the contract method 0x4c6568b1.

Solidity: function setPoolCollateralDisabledByDefault(uint128 poolId, bool disabled) returns()

func (*CoreTransactorSession) SetPoolConfiguration

func (_Core *CoreTransactorSession) SetPoolConfiguration(poolId *big.Int, newMarketConfigurations []MarketConfigurationData) (*types.Transaction, error)

SetPoolConfiguration is a paid mutator transaction binding the contract method 0x5d8c8844.

Solidity: function setPoolConfiguration(uint128 poolId, (uint128,uint128,int128)[] newMarketConfigurations) returns()

func (*CoreTransactorSession) SetPoolName

func (_Core *CoreTransactorSession) SetPoolName(poolId *big.Int, name string) (*types.Transaction, error)

SetPoolName is a paid mutator transaction binding the contract method 0x11e72a43.

Solidity: function setPoolName(uint128 poolId, string name) returns()

func (*CoreTransactorSession) SetPreferredPool

func (_Core *CoreTransactorSession) SetPreferredPool(poolId *big.Int) (*types.Transaction, error)

SetPreferredPool is a paid mutator transaction binding the contract method 0xe7098c0c.

Solidity: function setPreferredPool(uint128 poolId) returns()

func (*CoreTransactorSession) SetSupportedCrossChainNetworks

func (_Core *CoreTransactorSession) SetSupportedCrossChainNetworks(supportedNetworks []uint64, ccipSelectors []uint64) (*types.Transaction, error)

SetSupportedCrossChainNetworks is a paid mutator transaction binding the contract method 0x830e23b5.

Solidity: function setSupportedCrossChainNetworks(uint64[] supportedNetworks, uint64[] ccipSelectors) returns(uint256 numRegistered)

func (*CoreTransactorSession) SimulateUpgradeTo

func (_Core *CoreTransactorSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)

SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.

Solidity: function simulateUpgradeTo(address newImplementation) returns()

func (*CoreTransactorSession) TransferCrossChain

func (_Core *CoreTransactorSession) TransferCrossChain(destChainId uint64, amount *big.Int) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0x340824d7.

Solidity: function transferCrossChain(uint64 destChainId, uint256 amount) payable returns(uint256 gasTokenUsed)

func (*CoreTransactorSession) UpdateRewards

func (_Core *CoreTransactorSession) UpdateRewards(poolId *big.Int, collateralType common.Address, accountId *big.Int) (*types.Transaction, error)

UpdateRewards is a paid mutator transaction binding the contract method 0x645657d8.

Solidity: function updateRewards(uint128 poolId, address collateralType, uint128 accountId) returns(uint256[], address[])

func (*CoreTransactorSession) UpgradeTo

func (_Core *CoreTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*CoreTransactorSession) Withdraw

func (_Core *CoreTransactorSession) Withdraw(accountId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x95997c51.

Solidity: function withdraw(uint128 accountId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactorSession) WithdrawMarketCollateral

func (_Core *CoreTransactorSession) WithdrawMarketCollateral(marketId *big.Int, collateralType common.Address, tokenAmount *big.Int) (*types.Transaction, error)

WithdrawMarketCollateral is a paid mutator transaction binding the contract method 0xa3aa8b51.

Solidity: function withdrawMarketCollateral(uint128 marketId, address collateralType, uint256 tokenAmount) returns()

func (*CoreTransactorSession) WithdrawMarketUsd

func (_Core *CoreTransactorSession) WithdrawMarketUsd(marketId *big.Int, target common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawMarketUsd is a paid mutator transaction binding the contract method 0x140a7cfe.

Solidity: function withdrawMarketUsd(uint128 marketId, address target, uint256 amount) returns(uint256 feeAmount)

type CoreTransferCrossChainInitiated

type CoreTransferCrossChainInitiated struct {
	DestChainId uint64
	Amount      *big.Int
	Sender      common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

CoreTransferCrossChainInitiated represents a TransferCrossChainInitiated event raised by the Core contract.

type CoreTransferCrossChainInitiatedIterator

type CoreTransferCrossChainInitiatedIterator struct {
	Event *CoreTransferCrossChainInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreTransferCrossChainInitiatedIterator is returned from FilterTransferCrossChainInitiated and is used to iterate over the raw logs and unpacked data for TransferCrossChainInitiated events raised by the Core contract.

func (*CoreTransferCrossChainInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreTransferCrossChainInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreTransferCrossChainInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreUpgraded

type CoreUpgraded struct {
	Self           common.Address
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreUpgraded represents a Upgraded event raised by the Core contract.

type CoreUpgradedIterator

type CoreUpgradedIterator struct {
	Event *CoreUpgraded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Core contract.

func (*CoreUpgradedIterator) Close

func (it *CoreUpgradedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreUpgradedIterator) Error

func (it *CoreUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreUpgradedIterator) Next

func (it *CoreUpgradedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreUsdBurned

type CoreUsdBurned struct {
	AccountId      *big.Int
	PoolId         *big.Int
	CollateralType common.Address
	Amount         *big.Int
	Sender         common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreUsdBurned represents a UsdBurned event raised by the Core contract.

type CoreUsdBurnedIterator

type CoreUsdBurnedIterator struct {
	Event *CoreUsdBurned // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreUsdBurnedIterator is returned from FilterUsdBurned and is used to iterate over the raw logs and unpacked data for UsdBurned events raised by the Core contract.

func (*CoreUsdBurnedIterator) Close

func (it *CoreUsdBurnedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreUsdBurnedIterator) Error

func (it *CoreUsdBurnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreUsdBurnedIterator) Next

func (it *CoreUsdBurnedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreUsdMinted

type CoreUsdMinted struct {
	AccountId      *big.Int
	PoolId         *big.Int
	CollateralType common.Address
	Amount         *big.Int
	Sender         common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreUsdMinted represents a UsdMinted event raised by the Core contract.

type CoreUsdMintedIterator

type CoreUsdMintedIterator struct {
	Event *CoreUsdMinted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreUsdMintedIterator is returned from FilterUsdMinted and is used to iterate over the raw logs and unpacked data for UsdMinted events raised by the Core contract.

func (*CoreUsdMintedIterator) Close

func (it *CoreUsdMintedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreUsdMintedIterator) Error

func (it *CoreUsdMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreUsdMintedIterator) Next

func (it *CoreUsdMintedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreVaultLiquidation

type CoreVaultLiquidation struct {
	PoolId               *big.Int
	CollateralType       common.Address
	LiquidationData      ILiquidationModuleLiquidationData
	LiquidateAsAccountId *big.Int
	Sender               common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

CoreVaultLiquidation represents a VaultLiquidation event raised by the Core contract.

type CoreVaultLiquidationIterator

type CoreVaultLiquidationIterator struct {
	Event *CoreVaultLiquidation // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreVaultLiquidationIterator is returned from FilterVaultLiquidation and is used to iterate over the raw logs and unpacked data for VaultLiquidation events raised by the Core contract.

func (*CoreVaultLiquidationIterator) Close

func (it *CoreVaultLiquidationIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreVaultLiquidationIterator) Error

func (it *CoreVaultLiquidationIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreVaultLiquidationIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CoreWithdrawn

type CoreWithdrawn struct {
	AccountId      *big.Int
	CollateralType common.Address
	TokenAmount    *big.Int
	Sender         common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CoreWithdrawn represents a Withdrawn event raised by the Core contract.

type CoreWithdrawnIterator

type CoreWithdrawnIterator struct {
	Event *CoreWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CoreWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the Core contract.

func (*CoreWithdrawnIterator) Close

func (it *CoreWithdrawnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CoreWithdrawnIterator) Error

func (it *CoreWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoreWithdrawnIterator) Next

func (it *CoreWithdrawnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IAccountModuleAccountPermissions

type IAccountModuleAccountPermissions struct {
	User        common.Address
	Permissions [][32]byte
}

IAccountModuleAccountPermissions is an auto generated low-level Go binding around an user-defined struct.

type ILiquidationModuleLiquidationData

type ILiquidationModuleLiquidationData struct {
	DebtLiquidated       *big.Int
	CollateralLiquidated *big.Int
	AmountRewarded       *big.Int
}

ILiquidationModuleLiquidationData is an auto generated low-level Go binding around an user-defined struct.

type MarketConfigurationData

type MarketConfigurationData struct {
	MarketId             *big.Int
	WeightD18            *big.Int
	MaxDebtShareValueD18 *big.Int
}

MarketConfigurationData is an auto generated low-level Go binding around an user-defined struct.

type PoolCollateralConfigurationData

type PoolCollateralConfigurationData struct {
	CollateralLimitD18 *big.Int
	IssuanceRatioD18   *big.Int
}

PoolCollateralConfigurationData is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL