# Variables
----
```rs= [2|3|6-8]
/// The amount of gas given to complete `vote` call.
const VOTE_GAS: u64 = 100_000_000_000_000;
/// The amount of gas given to complete `vote` call.
const VOTE_GAS: u64 = 100_000_000_000_000;
/// The amount of gas given to complete `vote` call.
const VOTE_GAS: u64 = 100_000_000_000_000;
/// The amount of gas given to complete `vote` call.
const VOTE_GAS: u64 = 100_000_000_000_000;
/// The amount of gas given to complete `vote` call.
const VOTE_GAS: u64 = 100_000_000_000_000;
/// The amount of gas given to complete `vote` call.
const VOTE_GAS: u64 = 100_000_000_000_000;
```
----
<!--
https://github.com/near/core-contracts/blob/144adb11e7499a8d2e05541df3fa92cf10757f29/staking-pool/src/lib.rs#L18-L19
-->
```rs=18
/// The amount of gas given to complete internal `on_stake_action` call.
const ON_STAKE_ACTION_GAS: u64 = 20_000_000_000_000;
```
this snippet is setting up a call back from a cross-contract call
we expect that call back to take no more than 20 ms which is paid for with 20 Tgas
----
<!--
https://github.com/near/core-contracts/blob/144adb11e7499a8d2e05541df3fa92cf10757f29/staking-pool/src/lib.rs#L185-L186
-->
```=rs185
let account_balance = env::account_balance();
let total_staked_balance = account_balance - STAKE_SHARE_PRICE_GUARANTEE_FUND;
```
these two variables are used to initialize
----
read more here: https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html
---
# Data Types
----
some snippet about data types
----
another snippet about data types
---
# Functions
----
some snippet about functions
----
another snippet about functions
----
another snippet about functions
----
another snippet about functions
----
another snippet about functions
----
another snippet about functions
{"metaMigratedAt":"2023-06-16T19:27:08.551Z","metaMigratedFrom":"YAML","title":"Staking Pool","breaks":true,"contributors":"[{\"id\":\"57100704-a854-4a9f-9542-56dfcbc7b0ad\",\"add\":4320,\"del\":2476}]"}