Create Position
Create a new position in InfinitCore.
Create Position
// Example create position function
function createInfinitPosition(uint16 mode, address viewer) external returns (uint256 posId) {
// create position and returns posId
posId = IInfinitCore(INFINIT_CORE).createPos(mode, viewer);
}Last updated