recordMigration
Contract: JBSingleTokenPaymentTerminalStore
Interface: IJBSingleTokenPaymentTerminalStore
- Step by step
 - Code
 - Errors
 - Bug bounty
 
Records the migration of funds from this store.
The msg.sender must be an IJBSingleTokenPaymentTerminal.
Definition
function recordMigration(uint256 _projectId)
  external
  override
  nonReentrant
  returns (uint256 balance) { ... }
- Arguments:
_projectIdis the ID of the project being migrated.
 - The resulting function overrides a function definition from the 
JBSingleTokenPaymentTerminalStoreinterface. - The function returns the project's migrated balance, as a fixed point number with the same amount of decimals as its relative terminal.
 
Body
- 
Get a reference to the project's current funding cycle.
// Get a reference to the project's current funding cycle.
JBFundingCycle memory _fundingCycle = fundingCycleStore.currentOf(_projectId);