Solidity: staking contract with tests and deployment

1,600
ETH, DAI, USDT
+53

We are building a single-token staking product for an existing ERC-20 on BNB Chain and need a Solidity developer to write, test and deploy the contracts. The token is already live and immutable, so the staking layer has to work around it rather than modify it.

The scope is a staking contract where users deposit the token and accrue rewards from a funded reward pool at a configurable rate per second. It needs a lock period selectable by the user from three preset durations with a multiplier on the reward rate for longer locks, an emergency withdraw path that forfeits pending rewards, an owner-funded reward pool with a top-up function, and a pause mechanism. Access control should use role-based permissions rather than a single owner address, and the contract must be upgrade-free and non-proxied by design, since we want the simplest possible audit surface. Standard protections are expected as a matter of course, including reentrancy guards on all external state-changing entry points, safe transfer handling for tokens with non-standard return values, and no unbounded loops over user arrays.

Deliverables are the contract source in a Hardhat or Foundry project, a full test suite with at least ninety percent line coverage including edge cases around rounding of reward accrual, zero-balance stakes, reward pool exhaustion and lock expiry boundaries, a gas report for the main functions, deployment and verification scripts for BSC testnet and mainnet, NatSpec comments throughout, and a short technical README describing the reward math and every admin function with its risk. I also want a written list of known limitations and centralisation risks, written plainly, because it goes into our documentation before we approach an auditor.

You are not performing the audit and I am not asking you to sign off on security. I need clean, readable, well-tested code that an audit firm can review without wasting hours on structure. Deployment to mainnet happens only after our own review of testnet behaviour.

Timeline is eighteen days. I will provide the token address, our tokenomics document with the intended reward parameters and access to a private repository. Milestones can be split into contract draft, test suite and coverage report, and testnet deployment with documentation. In your application, please tell me how you would handle reward accrual precision when the staked supply is very small, and which framework you prefer and why.

1,600
ETH, DAI, USDT
+53

More Jobs like this

Show more
Translation

Looking for the good and best that can write and read so that they can translate to other languages 

Senior Web3 Engineer – Smart Contracts & dApp Development

We're seeking a developer with strong Ethereum experience to help implement new features in an existing decentralized application. The role covers smart contracts, Web3 integrations, frontend development, testing, and documentation.

I'm looking for senior smart contract engineer.

We are currently seeking a highly skilled and experienced Senior Smart Contract Engineer to join our dynamic team. As a key member of our engineering department, you will be responsible for the design, development, and...

Friendly Account Supporter - Entry Level(US|EU|LATAM|PH)

We're on the hunt for a Friendly Account Supporter who thrives in a remote working environment and is ready to grow with us! As an Account Supporter, you'll play a key role in ensuring our...

Custom DeepFaceLab / DeepAscension Face Swap Model Training

I need an experienced expert to train a high-quality custom face swap model. Requirements: •Train my male face to a specific female appearance (cross-gender and cross-race transformation). •Use DeepFaceLab or DeepAscension fork. •Deliver the trained...

AI Project Partner

I am looking for a reliable person to work with me on AI-related projects. Developers, communicators, and project coordinators are welcome. The work is remote and flexible. Payment will be agreed upon based on the...

indiviual trader

programming a trading bot rules based, also maintenance and implementation if necessary, for BTC perpetual futures on Hyperliquid exchange using a vps, budgetby negotiation, no strict dead line. It is a rather easy task and...

E-commerce Website UX/UI Redesign

I'm looking for a talented UX/UI designer to modernize and enhance the user experience of our existing e-commerce website. The site is fully functional, but we believe the current interface can be significantly improved to...

Website Speed Optimization (Core Web Vitals & PageSpeed)

Website Speed Optimization (Core Web Vitals & PageSpeed) I am looking for an experienced web developer to optimize my website's loading speed and overall performance. The goal is to improve Core Web Vitals and achieve...

senior blockchain and smart contract engineer.

We are seeking a highly skilled and experienced Senior Blockchain and Smart Contract Engineer to join our team. The ideal candidate will have a strong background in Blockchain and Crypto technologies, with expertise in Smart...

Translation

Looking for the good and best that can write and read so that they can translate to other languages 

Senior Web3 Engineer – Smart Contracts & dApp Development

We're seeking a developer with strong Ethereum experience to help implement new features in an existing decentralized application. The role covers smart contracts, Web3 integrations, frontend development, testing, and documentation.

I'm looking for senior smart contract engineer.

We are currently seeking a highly skilled and experienced Senior Smart Contract Engineer to join our dynamic team. As a key member of our engineering department, you will be responsible for the design, development, and...

Friendly Account Supporter - Entry Level(US|EU|LATAM|PH)

We're on the hunt for a Friendly Account Supporter who thrives in a remote working environment and is ready to grow with us! As an Account Supporter, you'll play a key role in ensuring our...

Custom DeepFaceLab / DeepAscension Face Swap Model Training

I need an experienced expert to train a high-quality custom face swap model. Requirements: •Train my male face to a specific female appearance (cross-gender and cross-race transformation). •Use DeepFaceLab or DeepAscension fork. •Deliver the trained...

AI Project Partner

I am looking for a reliable person to work with me on AI-related projects. Developers, communicators, and project coordinators are welcome. The work is remote and flexible. Payment will be agreed upon based on the...

indiviual trader

programming a trading bot rules based, also maintenance and implementation if necessary, for BTC perpetual futures on Hyperliquid exchange using a vps, budgetby negotiation, no strict dead line. It is a rather easy task and...

E-commerce Website UX/UI Redesign

I'm looking for a talented UX/UI designer to modernize and enhance the user experience of our existing e-commerce website. The site is fully functional, but we believe the current interface can be significantly improved to...

Website Speed Optimization (Core Web Vitals & PageSpeed)

Website Speed Optimization (Core Web Vitals & PageSpeed) I am looking for an experienced web developer to optimize my website's loading speed and overall performance. The goal is to improve Core Web Vitals and achieve...

senior blockchain and smart contract engineer.

We are seeking a highly skilled and experienced Senior Blockchain and Smart Contract Engineer to join our team. The ideal candidate will have a strong background in Blockchain and Crypto technologies, with expertise in Smart...