# external\_deposit\_fee.gno

{% embed url="<https://github.com/gnoswap-labs/gnoswap/blob/main/contract/r/gnoswap/staker/v1/external_deposit_fee.gno>" %}

## SetDepositGnsAmount

```go
func SetDepositGnsAmount(
	cur realm,
	amount int64
)
```

SetDepositGnsAmount sets the amount of GNS to deposit when creating an external incentive.

#### Parameters

| Name     | Type  | Description                                               |
| -------- | ----- | --------------------------------------------------------- |
| `cur`    | realm | Pass `cross` as argument.                                 |
| `amount` | int64 | The amount of GNS needed to create an external incentive. |

## SetMinimumRewardAmount

```go
func SetMinimumRewardAmount(
	cur realm,
	amount int64
)

```

SetMinimumRewardAmount sets the minimum reward amount to distribute.

#### Parameters

| Name     | Type  | Description               |
| -------- | ----- | ------------------------- |
| `cur`    | realm | Pass `cross` as argument. |
| `amount` | int64 | minimum reward amount     |

## SetTokenMinimumRewardAmount

```go
func SetTokenMinimumRewardAmount(
	cur realm,
	paramsStr string
)

```

SetTokenMinimumRewardAmount sets minimum reward amounts per token.

## SetUnStakingFee

```go
func SetUnStakingFee(
	cur realm,
	fee int64
)

```

SetUnStakingFee modifies the Unstaking Fee.

#### Parameters

| Name  | Type  | Description                                                                      |
| ----- | ----- | -------------------------------------------------------------------------------- |
| `cur` | realm | Pass `cross` as argument.                                                        |
| `fee` | int64 | The rate that will be set as the new Unstaking Fee. (the value should be in bps) |
