Transactions
Transaction Actions
Abstract
Below, you’ll find a table that shows all function calls (methods) available on Endaoment’s suite of smart contracts that underpin our ecosystem.
Category: Defines which types of Endaoment smart contacts contains the specific method.
Privileged Wallet: Defines which permissions are required (if any) in order for a method to be called. Any
indicates that the function is callable in a permissionless fashion.
Description and Transaction Action: Together, these fields explain the use of the function and describe its syntax.
Example Transaction: Contains a link that shows a completed transaction of that particular method type. Please note that all transactions linked to are either on Ethereum Mainnet or Optimism.
Table
Method Name | MethodID | Category | Privileged Wallet | Description | Transaction Action | Example Transaction |
---|---|---|---|---|---|---|
callAsEntity | 0x6a681541 | Entity | Admin | Allows an admin to interact with an external smart contract acting as the entity | ||
donate | 0xf14faf6f | Entity | Any | A donation of USDC to an organization. | Donate ${tokenAmount} USDC to org on Endaoment V2 | Transaction |
donateWithAdminOverrides | 0xa8e405b0 | Entity | Admin | A donation of USDC that uses input admin override amounts as fees | ||
donateWithOverrides | 0xf7044a5f | Entity | Admin | A donation of USDC that uses a lower custom donation fee, if it set | ||
initialize | Multiple | Entity | Admin | An initialization function for Endaoment Entities. Can only be called on an Entity’s factory deployment. | ||
payout | 0x117de2fd | Entity | Admin | A payout of USDC to an organization’s wallet or bank account. | Payout ${tokenAmount }` USDC to org on Endaoment V2 | Transaction |
payoutWithAdminOverrides | 0x2c482f19 | Entity | Admin | A payout of USDC to an organization’s wallet or bank account that uses input admin override amounts as fees | Payout ${tokenAmount} USDC to org on Endaoment V2 | |
payoutWithOverrides | 0x0cb6ee6f | Entity | Admin | A payout of USDC to an organization’s wallet or bank account that uses preset admin override amounts as fees | Payout ${tokenAmount} USDC to org on Endaoment V2 | |
portfolioDeposit | 0xc422c5bd | Entity | Any | Deposits USDC from an Entity into an Endaoment portfolio contract | Deposit ${tokenAmount} USDC into portfolio on Endaoment V2 | Transaction |
portfolioRedeem | 0x24c67842 | Entity | Any | Withdraws USDC from an Endaoment portfolio contract and deposits it at the original entity | Withdraw ${tokenAmount} USDC from portfolio on Endaoment V2 | Transaction |
receiveTransfer | 0x49d55d9d | Entity | Admin | Updates the receiving entity balance on a transfer. Entities can only receive transfers from other Endaoment entities. | N/A | |
reconcileBalance | 0x0b2ec672 | Entity | Any | Reconciles an entity’s balance, so its USDC balance matches its internal balance. Charges donation fees if there’s an outstanding balance | Donate ${tokenAmount} USDC to org on Endaoment V2 | Transaction |
setManager | 0xd0ebdbe7 | Entity | Manager | Sets the administrative manager wallet address for the organization entity. | Transaction | |
swapAndDonate | 0xa2f48b9f | Entity | Any | A donation of a token to an org entity that is swapped into USDC immediately upon receipt. | Donate {tokenAmount} {token} , swap into ${outputAmount} USDC to org on Endaoment V2 | Transaction |
swapAndDonateWithOverrides | 0xab3c14fe | Entity | Admin | A donation of a token to an entity that is swapped into USDC immediately upon receipt and uses preset admin fee overrides | ||
swapAndReconcileBalance | 0xdf3d067e | Entity | Manager | Donate a token and reconcile any latent balance on a contract address for an organization. | Donate {tokenAmount} {token} , swap into ${outputAmount} to org on Endaoment V2 | Transaction |
transferToEntity | 0xb100169b | Entity | Manager | Transfer USDC from one entity to another | Grant ${tokenAmount} USDC to entity on Endaoment V2 | Transaction |
transferToEntityWithAdminOverrides | 0xe6f5f033 | Entity | Admin | Transfer USDC from one entity to another that uses input admin override amounts as fees | ||
transferToEntityWithOverrides | 0x6c184885 | Entity | Manager | Transfer USDC from one entity to another that uses input preset override amounts as fees | ||
setOrgId | 0x95f32d21 | Org | Admin | Sets the administrative organization ID value, typically an EIN for US 501(c)(3)s | ||
deployFund | 0x2a4004b8 | OrgFundFactory | Any | Deployment of a new entity contract on Endaoment for a fund | Deploy contract for fund on Endaoment V2 | Transaction |
deployFundAndDonate | 0xe6bee99fc | OrgFundFactory | Any | Deployment of a new entity contract on Endaoment for a fund followed by a donation of USDC | Deploy contract for fund on Endaoment V2, donation of USDC | Transaction |
deployFundSwapAndDonate | 0xab438d6b | OrgFundFactory | Any | Deployment of a new entity contract on Endaoment for a fund followed by a donation and swap of a token | Deploy contract for fund on Endaoment V2, donation of token, swap to USDC | Transaction |
deployOrg | 0xa60fe71d | OrgFundFactory | Any | Deployment of a new entity contract on Endaoment for a nonprofit organization | Deploy contract for an organization on Endaoment V2 | Transaction |
deployOrgAndDonate | 0xdb9e30cc | OrgFundFactory | Any | Deployment of a new entity contract on Endaoment for an organization followed by a donation of USDC | Deploy contract for an organization on Endaoment V2, donation of USDC | Transaction |
deployOrgSwapAndDonate | 0xbf37a670 | OrgFundFactory | Any | Deployment of a new entity contract on Endaoment for an organization followed by a donation and swap of a token | Deploy contract for an organization on Endaoment V2, donation of token, swap to USDC | Transaction |
claimOwnership | 0x4e71e0c8 | Registry | Admin | Verify the transfer of ownership of the registry following a call of transferOwnership by the current registry owner | ||
setAuthority | 0x7a9e5e4b | Registry | Admin | Updates the auth system’s authority | ||
setDefaultDonationFee | 0x1e357405 | Registry | Admin | Establish the default donation fee for an entity type | ||
setDefaultPayoutFee | 0x21ceeb17 | Registry | Admin | Establish the default payout fee for an entity type | ||
setDefaultTransferFee | 0xa916c02e | Registry | Admin | Establish the default transfer fee for an entity type | ||
setDonationFeeReceiverOverride | 0x0d00819e | Registry | Admin | Sets the custom donation fee for a specific entity. | ||
setEntityActive | 0x0160a6e2 | Registry | Admin | Enables an entity in the Endaoment ecosystem | ||
setEntityStatus | 0x83f5b1d3 | Registry | Admin | Enables or disables an entity in the Endaoment ecosystem | ||
setFactoryApproval | 0xefa892c3 | Registry | Admin | Enables or disables an entity factory in the Endaoment ecosystem | ||
setPayoutFeeOverride | 0x7d18f2ca | Registry | Admin | Sets the payout fee override for a specific entity. | ||
setPortfolioStatus | 0x952ecc82 | Registry | Admin | Enable or disable a portfolio contract | Enable/Disable portfolio on Endaoment V2 | Transaction |
setPublicCapability | 0xc6b0263e | Registry | Admin | Enables or disables a given function for a specific target to be called by anyone. | ||
setRoleCapability | 0x7d40583d | Registry | Admin | Enable or disable a specific permissioned role to call a certain method in the Endaoment ecosystem | ||
setSwapWrapperStatus | 0xe5e8c306 | Registry | Admin | Enable or disable a swap wrapper for use in swap related method calls | ||
setTransferFeeReceiverOverride | 0x1c4af798 | Registry | Admin | Sets the transfer fee override for transfers from entities of a given type to a specific entity. | ||
setTransferFeeSenderOverride | 0x3921c459 | Registry | Admin | Sets the transfer fee override for transfers from one specific entity to entities of a given type. | ||
setTreasury | 0xf0f44260 | Registry | Admin | Establish the treasury address - all core contract fees are sent to the selected address. | ||
setUserRole | 0x67aff484 | Registry | Admin | Grant a specific permissioned role to a specific address | ||
transferOwnership | 0xf2fde38b | Registry | Admin | Transfer ownership of the registry to a different address, must be followed by claimOwnership to fully complete |