![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Solidity
文章平均质量分 71
DataSummer
专科毕业成都中医药大学,数据分析专科毕业美国FSCJ,目前在美国读本科FinTech.
当前生活美国佛罗里达州,佛罗里达州是美国最东南部的州,一侧是大西洋,另一侧是墨西哥湾。 它拥有数百英里的海滩。 迈阿密市以其拉丁美洲文化影响和著名的艺术景观以及夜生活而闻名,尤其是在高档的南海滩。 奥兰多以主题公园而闻名,其中包括华特迪士尼世界。
欢迎朋友来做客吃海鲜.
展开
-
Solidity 070 SimpleRequireContract
This Solidity contract, SimpleRequireContract, defines a function that divides a constant by an input number, enforcing that the input is positive, and returns a status based on whether the division result exceeds 10.原创 2024-07-29 00:21:08 · 291 阅读 · 0 评论 -
Solidity-067 First
The contract does not include any explicit error handling or access control mechanisms, which may need to be implemented based on specific requirements.原创 2024-03-09 09:03:03 · 419 阅读 · 0 评论 -
Solidity -064 AssemblyScopes
This example is a great way to understand how scoping works in Solidity's inline assembly and the importance of managing variable visibility across different scopes.原创 2024-03-03 20:47:53 · 280 阅读 · 0 评论 -
Solidity _063 CallingContract
using inline assembly and low-level calls (call, delegatecall, etc.) requires careful handling to avoid security vulnerabilities. Always ensure you're familiar with the best practices and security considerations when working with these features in Solidity原创 2024-03-03 20:43:02 · 709 阅读 · 0 评论 -
Solidity 062 MemoryAssembly
when working with inline assembly, it's crucial to be cautious as it allows for low-level manipulation of the EVM, which can lead to security vulnerabilities if not handled carefully.原创 2024-03-03 20:36:57 · 432 阅读 · 0 评论 -
Solidity 061ReturnValues
Functions in Solidity can return multiple values and accept various data types as inputs or outputs.原创 2024-02-27 08:19:45 · 378 阅读 · 0 评论 -
Solidity-060 AssemblyUsage
Demonstrating assembly variables and simple operations原创 2024-02-27 08:14:33 · 770 阅读 · 0 评论 -
Solidity-059 StorageAssembly
A function that demonstrates the use of inline assembly to directly manipulate storage原创 2024-02-27 08:07:57 · 918 阅读 · 0 评论 -
Solidity 058 ViewFunction
ViewFunction contract for clarity and functionality can involve several steps, including adding detailed documentation,原创 2024-02-25 00:00:46 · 271 阅读 · 0 评论 -
Solidity-057 UsingCallFunction
This contract demonstrates basic state management through a balance variable and includes functions to modify and access this balance.原创 2024-02-24 23:51:52 · 969 阅读 · 0 评论 -
Solidity 056 SimpleFallBack
The fallback function is a special function in Solidity that does not have a name and does not take any arguments. It is called when the contract receives plain Ether without any data or if none of the functions match the given function identifier.原创 2024-02-24 23:28:25 · 316 阅读 · 0 评论 -
Solidity_055 SendAndTransferSample
This method uses require to check conditions and reverts the transaction if they're not met, providing a safer mechanism for Ether transfers.原创 2024-02-24 01:12:47 · 427 阅读 · 0 评论 -
Solidity 054PureFunction
This contract is a basic example to illustrate the structure and syntax of Solidity smart contracts.原创 2024-02-24 00:15:44 · 394 阅读 · 0 评论 -
Solidity 053Parameters
The contract itself serves as a basic example of how to handle single and multiple parameters and return values in Solidity functions, including the use of tuples for returning multiple values efficiently.原创 2024-02-18 09:51:31 · 667 阅读 · 0 评论 -
Solidity_ 052 FallbackAndReceive
EtherBox and UsingCall, designed to interact with the Ethereum blockchain.原创 2024-02-18 09:45:39 · 527 阅读 · 0 评论 -
Solidity 051 ContractWithoutModifier
The Solidity contract ContractWithoutModifier showcases an approach to implementing access control without the use of modifiers, directly incorporating access checks within the function bodies.原创 2024-02-14 11:38:26 · 686 阅读 · 0 评论 -
Solidity 050ContractWithModifier
This Solidity contract, named ContractWithModifier, demonstrates the use of modifiers for access control within a smart contract on the Ethereum blockchain.原创 2024-02-14 11:32:46 · 333 阅读 · 0 评论 -
049 MyMathLibrary
Added brief descriptions at the beginning of the MyMathLibrary and MyMathContract to explain their purposes.原创 2024-02-11 00:41:57 · 431 阅读 · 0 评论 -
Solidity 045 LibraryClient
Mylibrary is a separate contract you interact with, need an instance of it, which requires additional steps not covered here due to the assumption it's a library.原创 2024-02-08 19:22:15 · 316 阅读 · 0 评论 -
Solidity 044 Interface
It consists of an interface IHelloWorld, a contract that implements this interface named HelloWorld, and another contract Client that interacts with the HelloWorld contract.原创 2024-02-07 23:02:30 · 1051 阅读 · 0 评论 -
Solidity 043 Reheritance
It consists of three contracts: ParentContract, ChildContract, and Client.原创 2024-02-07 22:52:17 · 627 阅读 · 0 评论 -
Solidity 042 IMaths
Function declarations expand the IMaths interface to include basic arithmetic operations (Add, Subtract, Multiply, Divide) as well as a more complex operation (Power).原创 2024-02-06 20:05:57 · 780 阅读 · 0 评论 -
Solidity -041 GeneralStructure
Each feature is illustrated with an example within the contract to showcase its practical application. The getAge function, in particular, demonstrates how to work with these features together.原创 2024-02-06 19:55:22 · 972 阅读 · 0 评论 -
Solidity 040 FunctionPolymorphism
The Solidity compiler differentiates between them based on the parameter type.原创 2024-02-06 19:44:43 · 425 阅读 · 0 评论 -
Solidity-039 ContractPolymorphism
This code demonstrates basic contract interactions, inheritance, and polymorphism in Solidity, showcasing how derived contracts can override functions from their base contracts to alter their behavior.原创 2024-02-05 20:16:10 · 467 阅读 · 0 评论 -
Solidity 038Constructor
This contract is a basic example demonstrating state variables, constructors, and functions in Solidity. It allows users to set and get a value, showcasing interaction with smart contract state.原创 2024-02-05 20:08:24 · 427 阅读 · 0 评论 -
Solidity 037Address
The HelloWorld contract is a simple storage contract for an unsigned integer, providing basic functionality to set and retrieve the value.原创 2024-02-05 19:57:47 · 346 阅读 · 0 评论 -
Solidity_036 Abstract
Abstract contracts are contracts that have at least one function without its implementation or in the case when you don't provide arguments for all of the base contract constructors.原创 2024-02-04 19:54:24 · 487 阅读 · 0 评论 -
Solidity - 035 WhileLoop
These comments are designed to provide detailed insights into each part of the contract, from the purpose of the mapping and counter to the specifics of how the while loop functions.原创 2024-02-04 19:37:18 · 834 阅读 · 0 评论 -
Solidity-034 ReturnValue
he contract is designed to store and manage the block number of a transaction within the Ethereum blockchain.原创 2024-02-04 19:28:54 · 455 阅读 · 0 评论 -
Solidity-033 IfElse
IfElseExample contract is designed to manage and evaluate different request states using an enumerated type called requestState.原创 2024-01-28 20:47:32 · 342 阅读 · 0 评论 -
Solidity-030 ForLoop
This Solidity smart contract demonstrates the use of a for loop to store and emit Ethereum block numbers as events.原创 2024-01-28 01:42:43 · 393 阅读 · 0 评论 -
Solidity- 029 DowhileLoop
Describes the contract's purpose, its key components (mapping and counter), and the functionality of the setNumber and getNumbers functions along with their associated event.原创 2024-01-26 20:19:50 · 276 阅读 · 0 评论 -
Solidity-028AddressValidations
Ethereum addresses from provided digital signatures, adhering to Ethereum's message signing standards, thereby ensuring authenticity and integrity of transactions on the blockchain.原创 2024-01-25 20:19:53 · 587 阅读 · 0 评论 -
Solidity- 027TransactionAndMessageVariables
designed to log various blockchain and transaction-related details such as block difficulty, gas limits, transaction data, and addresses involved, using a series of events, thereby providing a transparent view into transaction and block characteristics.原创 2024-01-25 20:09:32 · 871 阅读 · 0 评论 -
Solidity-026 ScopingStateVariables
"ScopingStateVariables" to demonstrate the practical use of public, private, and internal state variables. I'll also include functions to interact with these variables:原创 2024-01-24 20:36:12 · 360 阅读 · 0 评论 -
Solidity-025 ExplicitConversion
The Solidity contract clearer, especially for those who are new to type conversions in Solidity. Remember, detailed comments are crucial for maintaining code clarity and understanding, particularly in complex contracts.原创 2024-01-24 20:27:22 · 798 阅读 · 0 评论 -
Solidity- 024 ErrorDataType
This approach demonstrates how to handle data type limit errors in Solidity in a practical manner.原创 2024-01-23 19:59:02 · 388 阅读 · 0 评论 -
Solidity-023 CryptoFunctions
Improve your Solidity contract with advanced cryptography, signature verification, secure random numbers, string operations, data management, contract interactions, access control, event logging, custom math, and enhanced error handling.原创 2024-01-23 19:37:29 · 378 阅读 · 0 评论 -
Solidity-022 darray
This level of detail is especially helpful for understanding the nuances of array manipulation in Solidity, such as the behavior of dynamic arrays, and the implications of adding, accessing, and deleting elements.原创 2024-01-22 19:30:28 · 820 阅读 · 0 评论