func NewDelegation
ActionNewDelegation creates a new delegation. This is a convenience wrapper around staker.NewDelegation.
Parameters:
- id: delegation ID
- delegateFrom: delegator's address
- delegateTo: delegatee's address
- delegateAmount: amount to delegate
- createdHeight: creation block height
- createdAt: creation timestamp
Returns:
- *staker.Delegation: new delegation instance