Accounting
Contains contracts related to accounting and financial operations.
Contracts
AccountingService
import "@etherisc/gif-next/contracts/accounting/AccountingService.sol";
-
[
_initialize(owner, data)
] -
[
decreaseComponentFees(instanceStore, componentNftId, feeAmount)
] -
[
increaseProductFees(instanceStore, productNftId, feeAmount)
] -
[
increaseProductFeesForPool(instanceStore, productNftId, feeAmount)
] -
[
decreaseProductFees(instanceStore, productNftId, feeAmount)
] -
[
increaseDistributionBalance(instanceStore, distributionNftId, amount, feeAmount)
] -
[
decreaseDistributionBalance(instanceStore, distributionNftId, amount, feeAmount)
] -
[
increaseDistributorBalance(instanceStore, distributorNftId, amount, feeAmount)
] -
[
decreaseDistributorBalance(instanceStore, distributorNftId, amount, feeAmount)
] -
[
increasePoolBalance(instanceStore, poolNftId, amount, feeAmount)
] -
[
decreasePoolBalance(instanceStore, poolNftId, amount, feeAmount)
] -
[
increaseBundleBalance(instanceStore, bundleNftId, amount, feeAmount)
] -
[
decreaseBundleBalance(instanceStore, bundleNftId, amount, feeAmount)
] -
[
increaseBundleBalanceForPool(instanceStore, bundleNftId, amount, feeAmount)
] -
[
decreaseBundleBalanceForPool(instanceStore, bundleNftId, amount, feeAmount)
] -
[
_changeTargetBalance(increase, instanceStore, targetNftId, amount, feeAmount)
] -
[
_logUpdateFee(productNftId, name, feeBefore, feeAfter)
] -
[
_getDomain()
]
-
[
__Service_init(authority, registry, initialOwner)
] -
[
getDomain()
] -
[
getVersion()
] -
[
getRoleId()
] -
[
_getServiceAddress(domain)
]
-
[
__ReentrancyGuard_init()
] -
[
__ReentrancyGuard_init_unchained()
] -
[
_reentrancyGuardEntered()
]
-
[
initializeVersionable(activatedBy, data)
] -
[
upgradeVersionable(data)
] -
[
_upgrade(data)
]
-
[
__Registerable_init(authority, registry, parentNftId, objectType, isInterceptor, initialOwner, data)
] -
[
isActive()
] -
[
getRelease()
] -
[
getInitialInfo()
]
-
[
_checkNftType(nftId, expectedObjectType)
] -
[
__NftOwnable_init(registry, initialOwner)
] -
[
linkToRegisteredNftId()
] -
[
getNftId()
] -
[
getOwner()
] -
[
_linkToNftOwnable(nftOwnableAddress)
]
-
[
__RegistryLinked_init(registry)
] -
[
getRegistry()
]
-
[
__ERC165_init()
] -
[
_initializeERC165()
] -
[
_registerInterface(interfaceId)
] -
[
_registerInterfaceNotInitializing(interfaceId)
] -
[
supportsInterface(interfaceId)
]
-
[
__AccessManaged_init(initialAuthority)
] -
[
__AccessManaged_init_unchained(initialAuthority)
] -
[
authority()
] -
[
setAuthority(newAuthority)
] -
[
isConsumingScheduledOp()
] -
[
_setAuthority(newAuthority)
] -
[
_checkCanCall(caller, data)
]
-
[
__Context_init()
] -
[
__Context_init_unchained()
] -
[
_msgSender()
] -
[
_msgData()
] -
[
_contextSuffixLength()
]
-
[
_checkInitializing()
] -
[
_disableInitializers()
] -
[
_getInitializedVersion()
] -
[
_isInitializing()
]
-
[
LogComponentServiceUpdateFee(nftId, feeName, previousFractionalFee, previousFixedFee, newFractionalFee, newFixedFee)
]
-
[
LogNftOwnableNftLinkedToAddress(nftId, owner)
]
-
[
AuthorityUpdated(authority)
]
-
[
Initialized(version)
]
decreaseComponentFees(contract InstanceStore instanceStore, NftId componentNftId, Amount feeAmount)
external
increaseProductFees(contract InstanceStore instanceStore, NftId productNftId, Amount feeAmount)
external
increaseProductFeesForPool(contract InstanceStore instanceStore, NftId productNftId, Amount feeAmount)
external
decreaseProductFees(contract InstanceStore instanceStore, NftId productNftId, Amount feeAmount)
external
increaseDistributionBalance(contract InstanceStore instanceStore, NftId distributionNftId, Amount amount, Amount feeAmount)
external
decreaseDistributionBalance(contract InstanceStore instanceStore, NftId distributionNftId, Amount amount, Amount feeAmount)
external
increaseDistributorBalance(contract InstanceStore instanceStore, NftId distributorNftId, Amount amount, Amount feeAmount)
external
decreaseDistributorBalance(contract InstanceStore instanceStore, NftId distributorNftId, Amount amount, Amount feeAmount)
external
increasePoolBalance(contract InstanceStore instanceStore, NftId poolNftId, Amount amount, Amount feeAmount)
public
decreasePoolBalance(contract InstanceStore instanceStore, NftId poolNftId, Amount amount, Amount feeAmount)
public
increaseBundleBalance(contract InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount)
external
decreaseBundleBalance(contract InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount)
external
increaseBundleBalanceForPool(contract InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount)
external
decreaseBundleBalanceForPool(contract InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount)
external
AccountingServiceManager
import "@etherisc/gif-next/contracts/accounting/AccountingServiceManager.sol";
-
[
constructor(authority, registry, salt)
] -
[
getAccountingService()
]
-
[
initialize(registry, implementation, data, salt)
] -
[
deploy(registry, initialImplementation, initializationData)
] -
[
deployDetermenistic(registry, initialImplementation, initializationData, salt)
] -
[
upgrade(newImplementation)
] -
[
upgrade(newImplementation, upgradeData)
] -
[
linkToProxy()
] -
[
getDeployData(proxyOwner, deployData)
] -
[
getUpgradeData(upgradeData)
] -
[
getProxy()
] -
[
getVersion()
] -
[
getVersionCount()
] -
[
getVersion(idx)
] -
[
getVersionInfo(_version)
]
-
[
_checkNftType(nftId, expectedObjectType)
] -
[
__NftOwnable_init(registry, initialOwner)
] -
[
linkToRegisteredNftId()
] -
[
getNftId()
] -
[
getOwner()
] -
[
_linkToNftOwnable(nftOwnableAddress)
]
-
[
__RegistryLinked_init(registry)
] -
[
getRegistry()
]
-
[
__ERC165_init()
] -
[
_initializeERC165()
] -
[
_registerInterface(interfaceId)
] -
[
_registerInterfaceNotInitializing(interfaceId)
] -
[
supportsInterface(interfaceId)
]
-
[
_checkInitializing()
] -
[
_disableInitializers()
] -
[
_getInitializedVersion()
] -
[
_isInitializing()
]
-
[
LogProxyManagerVersionableDeployed(proxy, initialImplementation)
] -
[
LogProxyManagerVersionableUpgraded(proxy, upgradedImplementation)
]
-
[
LogNftOwnableNftLinkedToAddress(nftId, owner)
]
-
[
Initialized(version)
]